[Webkit-unassigned] [Bug 167417] New: Implement <iframe allowpaymentrequest> / <iframe allowusermedia>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 25 06:13:29 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=167417

            Bug ID: 167417
           Summary: Implement <iframe allowpaymentrequest> / <iframe
                    allowusermedia>
    Classification: Unclassified
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zcorpan at gmail.com
                CC: cdumez at apple.com

I guess WebKit doesn't implement PaymentRequest or getUserMedia() yet(?), but filing this anyway...

<iframe allowpaymentrequest> controls if an iframe can access the PaymentRequest API.

<iframe allowusermedia> controls if an iframe can access the getUserMedia() API.

On the spec side:

* When a document is initialized (https://html.spec.whatwg.org/#creating-a-new-browsing-context and https://html.spec.whatwg.org/#initialise-the-document-object ), https://html.spec.whatwg.org/#set-the-allow*-flags is run, which can set "allowpaymentrequest flag" and "allowusemedia flag" on Document.
* PaymentRequest constructor calls https://html.spec.whatwg.org/#allowed-to-use : https://github.com/w3c/browser-payment-api/pull/383
* getUserMedia also call allowed to use: https://github.com/w3c/mediacapture-main/pull/427

Relevant whatwg/html PRs:

https://github.com/whatwg/html/pull/2195
https://github.com/whatwg/html/pull/2217

Relevant w3c/web-platform-tests PRs:

https://github.com/w3c/web-platform-tests/pull/4369
https://github.com/w3c/web-platform-tests/pull/4615

I will write more tests for same origin-domain; see https://github.com/w3c/web-platform-tests/issues/4526

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170125/9793a6bf/attachment-0001.html>


More information about the webkit-unassigned mailing list