[whatwg/fullscreen] Report feature policy violations (#138)

This adds support for reporting violations of the fullscreen feature policy, which should only be triggered when a script actually tries to enter fullscreen in a document where that is not allowed. (Checking fullscreenEnabled, for instance, also involves a feature policy check, but would not trigger a violation report)


<!--
    This comment and the below content is programatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/fullscreen/138.html" title="Last updated on Sep 13, 2018, 2:55 PM GMT (517b98d)">Preview</a> | <a href="https://whatpr.org/fullscreen/138/12330bb...517b98d.html" title="Last updated on Sep 13, 2018, 2:55 PM GMT (517b98d)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fullscreen/pull/138

-- Commit Summary --

  * Report feature policy violations

-- File Changes --

    M fullscreen.bs (5)

-- Patch Links --

https://github.com/whatwg/fullscreen/pull/138.patch
https://github.com/whatwg/fullscreen/pull/138.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/138

Received on Thursday, 13 September 2018 14:56:27 UTC