Closed
Bug 1446406
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 10076 - Fix feature policy in isolated sandboxes.
Categories
(Core :: DOM: Core & HTML, defect, P4)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
Details
(Whiteboard: [wptsync downstream error])
Sync web-platform-tests PR 10076 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10076 Details from upstream follow. Ian Clelland wrote: > Fix feature policy in isolated sandboxes. > > This CL adds a new member to the ParsedFeaturePolicyDeclaraion, which > indicates that the iframe policy is expected to apply to the sandboxed > frame. This is triggered with an iframe of the form > > <iframe sandbox allow="feature"> > > or > > <iframe sandbox allow="feature src"> > > Because the opaque origin of the frame is not known when the > HTMLFrameOwnerElement builds the container policy, this flag is checked > when building the feature policy in the new frame, and ensures that the > new feature policy will allow the feature in that origin. > > Bug: 794631, 690520 > Change-Id: Ie18b9bc3c36be6550baf5a03e355871b9589fd40 > Reviewed-on: https://chromium-review.googlesource.com/963382 > WPT-Export-Revision: 8d472ff0e557de402c57e8abb1a25572aa4bce39
Reporter | ||
Updated•6 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Reporter | ||
Updated•6 years ago
|
Component: web-platform-tests → DOM
Product: Testing → Core
Reporter | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=c9cd8778de0809f7de80b3eee4b6fa35fe68b2d8
Reporter | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=32cb0c0537bc0a1dbfb9463984dd0d23202326a1
Reporter | ||
Comment 3•6 years ago
|
||
Ran 79 tests and 292 subtests OK : 61 PASS : 16 FAIL : 276 TIMEOUT: 18 New tests that have failures or other problems: /feature-policy/feature-policy-frame-policy-allowed-for-self.https.sub.html Test frame policy on sandboxed iframe with allow="fullscreen 'src'".: FAIL Test frame policy on sandboxed iframe with allow="fullscreen https://www.web-platform.test:8443".: FAIL Test frame policy on sandboxed iframe with allow="fullscreen".: FAIL Test frame policy on sandboxed iframe with no allow attribute.: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a5e3429241aa [wpt PR 10076] - Allow feature policy to be used in opaque origins., a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/846bc7887b92 [wpt PR 10076] - Update wpt metadata, a=testonly
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a5e3429241aa https://hg.mozilla.org/mozilla-central/rev/846bc7887b92
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•