Web/API/PresentationRequest/PresentationRequest

From Get docs

Non-standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.


The PresentationRequest constructor creates a new PresentationRequest object which creates a new PresentationRequest.

Syntax

var presentationRequest = new PresentationRequest(url|urls[])

Parameters

url or urls[]
A URL or array of URLs that are possible URLs used to create, or reconnect, a presentation for the PresentationRequest instance.

Specifications

Specification Status Comment
Presentation APIThe definition of 'PresentationRequest' in that specification. Candidate Recommendation Initial definition.

Browser Compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

PresentationRequest() constructor

Experimental'

Chrome

Full support 48

Edge

Full support ≤79

Firefox Full support 51

Disabled'

Full support 51

Disabled'

Disabled' From version 51: this feature is behind the dom.presentation.controller.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

IE

No support No

Opera

Full support 35

Safari

?

WebView Android

No support No

Chrome Android

Full support 48

Firefox Android Full support 51

Disabled'

Full support 51

Disabled'

Disabled' From version 51: this feature is behind the dom.presentation.controller.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

Opera Android

Full support 35

Safari iOS

?

Samsung Internet Android

Full support 5.0

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.'
Experimental. Expect behavior to change in the future.
User must explicitly enable this feature.'
User must explicitly enable this feature.