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.Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 48 | ? | 51
|
? | 35 | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | 48 | 48 | ? | 51
|
35 | ? | ? |
© 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