Closed Bug 1614051 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 21672 - Change disallow_document_access to be an attribute on FramePolicy

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 21672 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/21672
Details from upstream follow.

Dave Tapuska <dtapuska@chromium.org> wrote:

Change disallow_document_access to be an attribute on FramePolicy

The attribute didn't work correctly for remote frames. This attribute
fits closer with the FramePolicy since when it is set it initializes
it based on the attributes at the time the frame was loaded.

Bug: 961448
Change-Id: I3ad49c157aabadf87904ce28c5c591bb01959e0f
Reviewed-on: https://chromium-review.googlesource.com/2044882
WPT-Export-Revision: f2d50985b3f6e111420ebb8c8aee33b2a7685045

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
FAIL: 2

Chrome

OK : 2
PASS: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/browsers/windows/document-access/cross_origin_intermediate_access_remote.sub.tentative.html
Check that a grandchild can access window.top: FAIL (Chrome: PASS)
/html/browsers/windows/document-access/cross_origin_intermediate_access.sub.tentative.html
Check that a grandchild can access window.top: FAIL (Chrome: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1093741877a9 [wpt PR 21672] - Change disallow_document_access to be an attribute on FramePolicy, a=testonly https://hg.mozilla.org/integration/autoland/rev/1399e8905dd6 [wpt PR 21672] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.