[wpt-sync] Sync PR 26802 - Add WPT test about sandbox_flags and window reuse.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 26802 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/26802
Details from upstream follow.
b'arthursonzogni <arthursonzogni@chromium.org>' wrote:
Add WPT test about sandbox_flags and window reuse.
I found something interesting. The initial empty document's javascript
windows is reused for same-origin new document. We apply the sandbox
flags to the window, instead of documents, which is very weird. My
hypothesis: we are enforcing sandbox_flags twice into the same window.
The bug might be caused by the remanence of the initial sandbox flags?
This turned out to be the case. \o/This patch adds a WPT test. It triggers a DCHECK in the browser process.
Bug: 1041376
Change-Id: Ic7543148b0c2571e95c0c4dfe6df50563254981b
Reviewed-on: https://chromium-review.googlesource.com/2578957
WPT-Export-Revision: 402a63a357650ad3ba44805702eae305d8e055a1
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=a0140c88f3c9dc1ed8f9a9b06d3faebf20e839e5
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
PASS: 1
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
PASS: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/74ef9470bc5c [wpt PR 26802] - Add WPT test about sandbox_flags and window reuse., a=testonly
Comment 4•3 years ago
|
||
bugherder |
Description
•