[wpt-sync] Sync PR 39019 - Fix inconsistent hasStorageAccess behavior for A(B(A)) frame tree case
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox113 fixed)
Tracking | Status | |
---|---|---|
firefox113 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39019 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39019
Details from upstream follow.
Shuran Huang <shuuran@chromium.org> wrote:
Fix inconsistent hasStorageAccess behavior for A(B(A)) frame tree case
This change for document.hasStorageAccess() is based on spec PR
https://github.com/privacycg/storage-access/pull/169/commits/fd28dc0543a595878a05e8fa973c1c7566fb2ffd.Bug: 1422628
Change-Id: I72cc1bb21a5d075a00b4b6719e2010855e5c2a63Reviewed-on: https://chromium-review.googlesource.com/4340989
WPT-Export-Revision: fa4be3e77b64ccc51c3b39c164b0d01eb77b086b
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 15 subtests
Status Summary
Firefox
OK
: 2
PASS
: 9[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 11[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt, GitHub]
FAIL
: 7[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt, GitHub] 9[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview]
Chrome
OK
: 2
PASS
: 17
FAIL
: 1
Safari
OK
: 2
PASS
: 11
FAIL
: 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /storage-access-api/hasStorageAccess-ABA.tentative.sub.https.window.html [wpt.fyi]
- [ABA] document.hasStorageAccess() should not be allowed by default unless in top-level frame or same-origin iframe.:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - [ABA] document.hasStorageAccess() should reject in a document that isn't fully active.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- [ABA] document.hasStorageAccess() should not be allowed by default unless in top-level frame or same-origin iframe.:
- /storage-access-api/hasStorageAccess.sub.https.window.html [wpt.fyi]
- [top-level-context] document.hasStorageAccess() should reject in a document that isn't fully active.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [same-origin-frame] document.hasStorageAccess() should reject in a document that isn't fully active.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [cross-site-frame] document.hasStorageAccess() should not be allowed by default unless in top-level frame or same-origin iframe.:
FAIL
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
],PASS
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
,GitHub
] (Chrome:PASS
, Safari:PASS
) - [cross-site-frame] document.hasStorageAccess() should reject in a document that isn't fully active.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [nested-same-origin-frame] document.hasStorageAccess() should reject in a document that isn't fully active.:
FAIL
(Chrome:PASS
, Safari:FAIL
) - [nested-cross-site-frame] document.hasStorageAccess() should not be allowed by default unless in top-level frame or same-origin iframe.:
FAIL
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
],PASS
[Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
,GitHub
] (Chrome:PASS
, Safari:PASS
) - [nested-cross-site-frame] document.hasStorageAccess() should reject in a document that isn't fully active.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- [top-level-context] document.hasStorageAccess() should reject in a document that isn't fully active.:
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c254490dd086
https://hg.mozilla.org/mozilla-central/rev/f9b4b32d100f
Description
•