Closed Bug 1728730 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30300 - [Anonymous iframe] Baseline sandbox test.

Categories

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

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Arthur Sonzogni <arthursonzogni@chromium.org>' wrote:

[Anonymous iframe] Baseline sandbox test.

  • Add WPT to know the behavior of sandbox for navigation and normal
    requests relative to credentials. Goal is to learn Chrome behavior,
    but also other browsers's behavior. Maybe Firefox or Webkit omit
    credentials on navigation requests? Or behave differently when there
    are nested iframe?

    The WPT results are:
    XXX to be filled waiting for the wpt bot)

    ┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━┳━━━━━━━┓
    ┃Implementation ┃ Chrome┃ Firefox┃ Webkit┃
    ┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━╇━━━━━━━┩
    │Navigation request │ 2/2 │ X/2 │ X/2 │
    │subresource \<img> │ 4/4 │ X/4 │ X/4 │
    │subresource \<iframe>│ 4/4 │ X/4 │ X/4 │
    └────────────────────┴───────┴────────┴───────┘

  • Update the symmetric test about anonymous iframe.
    Use "anonymous = true" instead of "credentials = omit", since we
    changed our mind in the implementation:
    https://chromium-review.googlesource.com/c/chromium/src/+/3001278
    (The explainer still use credentials=omit (?))

Bug:1226469

Change-Id: I5584c0c9c9f12b17f93d1e3391dcbf8b836c7a1e
Reviewed-on: https://chromium-review.googlesource.com/3136916
WPT-Export-Revision: 02c242c1576efece8c2f57401f3b892da199dbbe

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

CI Results

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

Total 4 tests and 3 subtests

Status Summary

Firefox

OK : 3[Gecko-windows10-64-2004-qr-opt] 4[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, 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-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, GitHub]
PASS : 1[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, 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-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt] 23[GitHub]
FAIL : 4[GitHub] 5[Gecko-windows10-64-2004-qr-opt] 6[Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, 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-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug]
TIMEOUT: 1

Chrome

OK : 4
PASS : 23
FAIL : 4

Safari

OK : 4
PASS : 14
FAIL : 13

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/cross-origin-embedder-policy/anonymous-iframe/anonymous-iframe-popup.tentative.https.html
Cross-origin popup from normal/anonymous iframes.: FAIL (Chrome: FAIL, Safari: FAIL)
Same-origin popup from normal/anonymous iframes.: FAIL (Chrome: FAIL, Safari: FAIL)
/html/cross-origin-embedder-policy/anonymous-iframe/cookie-sandboxed-origin.https.window.html: OK [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, 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-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, GitHub], TIMEOUT [Gecko-windows10-64-2004-qr-opt] (Chrome: OK, Safari: OK)
Setup: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, 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-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug], PASS [GitHub] (Chrome: PASS, Safari: PASS)
/html/cross-origin-embedder-policy/anonymous-iframe/cookie.tentative.https.window.html
Setup: FAIL [Gecko-android-em-7.0-x86_64-lite-qr-debug-geckoview, 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-linux1804-64-tsan-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-debug, Gecko-windows10-64-2004-qr-opt], PASS [GitHub] (Chrome: PASS, Safari: PASS)
/html/cross-origin-embedder-policy/anonymous-iframe/local-storage.tentative.https.html
same_origin anonymous iframe can't access the localStorage: FAIL (Chrome: FAIL, Safari: FAIL)
cross_origin anonymous iframe can't access the localStorage: FAIL (Chrome: FAIL, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/802aec89c65c
[wpt PR 30300] - [anonymous-iframe] Baseline sandbox test., a=testonly
https://hg.mozilla.org/integration/autoland/rev/f789fdf593de
[wpt PR 30300] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/753eb7d49523
[wpt PR 30300] - [anonymous-iframe] Baseline sandbox test., a=testonly
https://hg.mozilla.org/integration/autoland/rev/3b21c20ef608
[wpt PR 30300] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.