[wpt-sync] Sync PR 20073 - Restrict [un]registerProtocolHandler to secure top-level contexts
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 20073 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/20073
Details from upstream follow.
Eric Lawrence <ericlaw@microsoft.com> wrote:
Restrict [un]registerProtocolHandler to secure top-level contexts
The registerProtocolHandler() and unregisterProtocolHandler() functions
should only be permitted for secure top-level browsing contexts. When
called on subframes or non-secure contexts, a SecurityError should be
thrown.Bug: 882284,977083
Change-Id: Iacf3d31f80f5118e9e9aacad2c99a0111d6e7cc5
Reviewed-on: https://chromium-review.googlesource.com/1892213
WPT-Export-Revision: bd441e9a9512cacb5e5cc96e62f0d2ed65c563ce
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
PR 20073 applied with additional changes from upstream: 404bb42ad10c971219248560fe8435b709f832a7
Assignee | ||
Comment 2•5 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a580e161ff156776224870bb0c9920bc025a5d2f
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b639351bbbe7 [wpt PR 20073] - Restrict [un]registerProtocolHandler to secure contexts, a=testonly https://hg.mozilla.org/integration/autoland/rev/d684a6199d28 [wpt PR 20073] - Update wpt metadata, a=testonly
Assignee | ||
Comment 4•5 years ago
|
||
Test result changes from PR not available.
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b639351bbbe7
https://hg.mozilla.org/mozilla-central/rev/d684a6199d28
Description
•