Closed Bug 1906987 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 47067 - Add WPTs for 'allow-storage-access-by-user-activation' iframe sandbox

Categories

(Core :: Privacy: Anti-Tracking, task, P4)

task

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Erica Kovac <ekovac@google.com> wrote:

Add WPTs for 'allow-storage-access-by-user-activation' iframe sandbox

Also moves existing test of whether the attribute value is supported into the newly created test file.

R=cfredric@chromium.org

Bug: 40278734
Change-Id: I232df8dc1faa0dad0c5dddf342e64e4ba0dfbd2b

Reviewed-on: https://chromium-review.googlesource.com/5685772
WPT-Export-Revision: 1b9211d79219e55e0ddf3ff41f4ac0b4623c0a50

Component: web-platform-tests → Privacy: Anti-Tracking
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 24 tests and 2 subtests

Status Summary

Firefox

OK : 19[Gecko-windows11-64-2009-qr-opt] 20[Gecko-linux1804-64-qr-debug, Gecko-windows11-64-2009-qr-debug] 21[Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-windows11-32-2009-qr-debug] 22[Gecko-windows11-32-2009-qr-opt] 23[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-opt, GitHub]
PASS : 93[Gecko-windows11-64-2009-qr-opt] 99[Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt] 103[GitHub] 104[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-64-2009-qr-debug]
FAIL : 23[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-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] 24[GitHub]
TIMEOUT: 1[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, GitHub] 2[Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-windows11-32-2009-qr-debug] 3[Gecko-linux1804-64-qr-debug] 4[Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt]

Chrome

OK : 22
PASS : 102
FAIL : 18
TIMEOUT: 3
NOTRUN : 2

Safari

OK : 17
PASS : 34
FAIL : 74
TIMEOUT: 13
NOTRUN : 9

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /storage-access-api/hasStorageAccess-insecure.sub.window.html [wpt.fyi]: OK [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-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, GitHub], TIMEOUT [Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
  • /storage-access-api/hasStorageAccess.sub.https.window.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, 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], TIMEOUT [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-linux1804-64-qr-debug] (Chrome: OK, Safari: OK)
  • /storage-access-api/requestStorageAccess-insecure.sub.window.html [wpt.fyi]: OK [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-opt, Gecko-windows11-32-2009-qr-opt, GitHub], SKIP [Gecko-linux1804-64-qr-debug], TIMEOUT [Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
    • [top-level-context] document.requestStorageAccess() should be rejected when called with a user gesture in insecure context: PASS [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-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, GitHub], TIMEOUT [Gecko-windows11-64-2009-qr-opt] (Chrome: PASS, Safari: FAIL)
  • /storage-access-api/requestStorageAccess-nested-cross-origin-iframe.sub.https.window.html [wpt.fyi]: OK [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-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug, GitHub], SKIP [Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
  • /storage-access-api/requestStorageAccess-nested-same-origin-iframe.sub.https.window.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-windows11-32-2009-qr-debug], TIMEOUT [Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
  • /storage-access-api/requestStorageAccess-same-site-iframe.sub.https.window.html [wpt.fyi]: OK [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-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, GitHub], SKIP [Gecko-windows11-64-2009-qr-opt], TIMEOUT [Gecko-linux1804-64-qr-debug] (Chrome: OK, Safari: OK)
  • /storage-access-api/requestStorageAccess-sandboxed-iframe-allow-storage-access.sub.https.window.html [wpt.fyi]: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /storage-access-api/storageAccess.testdriver.sub.html [wpt.fyi]
    • TestDriver - Set Storage Access Command Tests: FAIL [GitHub], PASS [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-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] (Chrome: PASS, Safari: PASS)
  • /top-level-storage-access-api/tentative/requestStorageAccessFor-insecure.sub.window.html [wpt.fyi]
    • [top-level-context] document.requestStorageAccessFor() should be supported on the document interface: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] document.requestStorageAccessFor() should be rejected by default with no user gesture: FAIL (Chrome: PASS, Safari: FAIL)
    • [non-fully-active] document.requestStorageAccessFor() should not resolve when run in a detached frame: FAIL (Chrome: PASS, Safari: FAIL)
    • [non-fully-active] document.requestStorageAccessFor() should not resolve when run in a detached DOMParser document: FAIL (Chrome: PASS, Safari: FAIL)
    • [frame-on-insecure-page] document.requestStorageAccessFor() should be supported on the document interface in embedded iframes: FAIL (Chrome: PASS, Safari: FAIL)
    • [frame-on-insecure-page] document.requestStorageAccessFor() should be rejected when called in an iframe: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] document.requestStorageAccessFor() should be rejected when called in an insecure context: FAIL (Chrome: PASS, Safari: FAIL)
  • /top-level-storage-access-api/tentative/requestStorageAccessFor.sub.https.window.html [wpt.fyi]
    • [top-level-context] document.requestStorageAccessFor() should be supported on the document interface: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] document.requestStorageAccessFor() should be rejected when called with no argument: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] document.requestStorageAccessFor() should be rejected by default with no user gesture: FAIL (Chrome: PASS, Safari: FAIL)
    • [non-fully-active] document.requestStorageAccessFor() should not resolve when run in a detached frame: FAIL (Chrome: PASS, Safari: FAIL)
    • [non-fully-active] document.requestStorageAccessFor() should not resolve when run in a detached DOMParser document: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] document.requestStorageAccessFor() should be resolved without a user gesture with an existing permission: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] document.requestStorageAccess() should be resolved without a user gesture after a successful requestStorageAccessFor() call: FAIL (Chrome: FAIL, Safari: FAIL)
    • [top-level-context] document.requestStorageAccessFor() should be resolved when called properly with a user gesture and the same origin: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] document.requestStorageAccessFor() should be rejected when called with an invalid origin: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] document.requestStorageAccessFor() should be rejected when called with an opaque origin: FAIL (Chrome: PASS, Safari: FAIL)
    • [top-level-context] Top-level storage access only allows cross-site subresource requests to access cookie when using CORS mode.: FAIL (Chrome: FAIL, Safari: FAIL)
    • [same-origin-iframe] document.requestStorageAccessFor() should be supported on the document interface: FAIL (Chrome: PASS, Safari: FAIL)
    • [same-origin-iframe] document.requestStorageAccessFor() should be rejected when called with no argument: FAIL (Chrome: PASS, Safari: FAIL)
    • [same-origin-iframe] document.requestStorageAccessFor() should be rejected when called in an iframe: FAIL (Chrome: PASS, Safari: FAIL)
    • [same-origin-iframe] Existing top-level storage access permission should not allow cookie access for the cross-site subresource requests made in a non-top-level context.: FAIL (Chrome: PASS, Safari: FAIL)
  • /top-level-storage-access-api/tentative/top-level-storage-access-permission.sub.https.window.html [wpt.fyi]
    • Permission default state can be queried: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

  • /storage-access-api/requestStorageAccess-insecure.sub.window.html [wpt.fyi]: OK [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-opt, Gecko-windows11-32-2009-qr-opt, GitHub], SKIP [Gecko-linux1804-64-qr-debug], TIMEOUT [Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
  • /storage-access-api/requestStorageAccess-nested-cross-origin-iframe.sub.https.window.html [wpt.fyi]: OK [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-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-64-2009-qr-debug, GitHub], SKIP [Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt] (Chrome: OK, Safari: OK)
  • /storage-access-api/requestStorageAccess-nested-same-origin-iframe.sub.https.window.html [wpt.fyi]: OK [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-windows11-32-2009-qr-debug], TIMEOUT [Gecko-windows11-64-2009-qr-debug] (Chrome: OK, Safari: OK)
  • /storage-access-api/requestStorageAccess-same-site-iframe.sub.https.window.html [wpt.fyi]: OK [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-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, GitHub], SKIP [Gecko-windows11-64-2009-qr-opt], TIMEOUT [Gecko-linux1804-64-qr-debug] (Chrome: OK, Safari: OK)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5a1c137fc1a4 [wpt PR 47067] - Add WPTs for 'allow-storage-access-by-user-activation' iframe sandbox, a=testonly https://hg.mozilla.org/integration/autoland/rev/09dd25dc0026 [wpt PR 47067] - Update wpt metadata, a=testonly
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.