When the getAvailability()
method is called, the user agent MUST run the following steps:
"Prohibits Mixed Security Contexts"
and presentationUrl is an a priori unauthenticated URL.SecurityError
.PresentationAvailability
object with its value
property set to false
.NotSupportedError
exception.PresentationAvailability
object with its value
property set as follows: false
if the list of available presentation displays is empty.true
if there is at least one compatible presentation display for some member of presentationUrls. Meaning there is an entry (presentationUrl, display) in the list of available presentation displays for some presentationUrl in presentationUrls.false
otherwise.
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PresentationRequest/getAvailability