Closed Bug 1823709 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39111 - Update requestStorageAccess WTP for A(*(A)) frame tree case.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox114 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Shuran Huang <shuuran@chromium.org> wrote:

Update requestStorageAccess WTP for A(*(A)) frame tree case.

Specifically, document.requestStorageAccess() should auto resolve and
return true for the following frame tree cases:

  • A(subdomainA)
  • A(B(A)) -- tentative
  • A(B(subdomainA)) -- tentative

Bug: 1420320, 1425562
Change-Id: Ibee1205069c5a45c58f868f3dfc2929484e9b714

Reviewed-on: https://chromium-review.googlesource.com/4356256
WPT-Export-Revision: 8f3f01f2710c66485f863baaff19370dd30c9c70

CI Results

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

Total 3 tests and 5 subtests

Status Summary

Firefox

PASS : 3
TIMEOUT: 1
ERROR : 2[Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub] 3[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, Gecko-linux1804-64-qr-debug, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug]
NOTRUN : 12

Chrome

OK : 3
PASS : 7
FAIL : 8

Safari

PASS : 3
TIMEOUT: 1
ERROR : 2
NOTRUN : 12

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /storage-access-api/requestStorageAccess-ABA.tentative.sub.https.window.html [wpt.fyi]: ERROR [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, Gecko-linux1804-64-qr-debug, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug], TIMEOUT [Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub] (Chrome: OK, Safari: TIMEOUT)
    • [ABA] document.requestStorageAccess() should resolve in top-level frame or same-site iframe, otherwise reject with a NotAllowedError with no user gesture.: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • [ABA] document.requestStorageAccess() should be resolved with no user gesture when a permission grant exists, and should allow cookie access: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • [ABA] document.requestStorageAccess() should resolve without permission grant or user gesture: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • [ABA] document.requestStorageAccess() should resolve with denied permission: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
  • /storage-access-api/requestStorageAccess-same-site-iframe.sub.https.window.html [wpt.fyi]: ERROR (Chrome: OK, Safari: ERROR)
    • [same-site-frame] document.requestStorageAccess() should resolve in top-level frame or same-site iframe, otherwise reject with a NotAllowedError with no user gesture.: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • [same-site-frame] document.requestStorageAccess() should be resolved with no user gesture when a permission grant exists, and should allow cookie access: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • [same-site-frame] document.requestStorageAccess() should resolve without permission grant or user gesture: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
    • [same-site-frame] document.requestStorageAccess() should resolve with denied permission: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
  • /storage-access-api/requestStorageAccess.sub.https.window.html [wpt.fyi]: ERROR (Chrome: OK, Safari: ERROR)
    • [top-level-context] document.requestStorageAccess() should resolve in top-level frame or same-site iframe, otherwise reject with a NotAllowedError with no user gesture.: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • [top-level-context] document.requestStorageAccess() should be resolved with no user gesture when a permission grant exists, and should allow cookie access: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • [top-level-context] document.requestStorageAccess() should resolve without permission grant or user gesture: NOTRUN (Chrome: PASS, Safari: NOTRUN)
    • [top-level-context] document.requestStorageAccess() should resolve with denied permission: NOTRUN (Chrome: PASS, Safari: NOTRUN)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ec6bb1f88e92 [wpt PR 39111] - Update requestStorageAccess WTP for A(*(A)) frame tree case., a=testonly https://hg.mozilla.org/integration/autoland/rev/46debdd57fd5 [wpt PR 39111] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Regressions: 1827682
You need to log in before you can comment on or make changes to this bug.