Closed Bug 1898354 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 46442 - [shared storage] Fix some web platform tests

Categories

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

task

Tracking

(firefox128 fixed)

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Yao Xiao <yaoxia@chromium.org> wrote:

[shared storage] Fix some web platform tests

Issue: Some WPTs finish too early and does not actually wait for the
async operations. We encountered test failures due to a mojom
connection CHECK on CodeCacheHost, which reveals this underlying
problem.

This patch fixes those cases. Also, for
shared-storage-writable-img-idl-attribute-included-bytes.tentative.https.sub.html,
there are some additional problems:

  • The "+" is a special URL character. Thus, we apply
    encodeURIComponent on the key/value.
  • Passing emoji character directly doesn't seem to work. It's
    being translated to a different/unexpected sequence. In this CL,
    we replace the emoji with explicit UTF-16 code units created from
    String.fromCharCode(). Filed a bug (https://crbug.com/341973427)
    for further investigation.

Bug: 341893986
Change-Id: I208e4af410a3a1092a0da88decbe43687fe8b718

Reviewed-on: https://chromium-review.googlesource.com/5556543
WPT-Export-Revision: 5618b12bcaa2517aaee141849710aac38aab70d4

CI Results

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

Total 7 tests and 2 subtests

Status Summary

Firefox

OK : 1
FAIL : 1
TIMEOUT: 11
ERROR : 1
NOTRUN : 6

Chrome

TIMEOUT: 14
NOTRUN : 6

Safari

OK : 1
FAIL : 1
TIMEOUT: 11
ERROR : 1
NOTRUN : 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /shared-storage/shared-storage-writable-iframe-idl-attribute-included.tentative.https.sub.html [wpt.fyi]: ERROR [GitHub], SKIP [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: TIMEOUT, Safari: ERROR)
    • test <iframe sharedstoragewritable src=[url]></iframe> via JS for same origin iframe: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <iframe sharedstoragewritable src=[url]></iframe> via JS for cross origin iframe: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /shared-storage/shared-storage-writable-iframe-idl-attribute-not-included.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <iframe src=[url]></iframe> via JS for same origin iframe: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <iframe src=[url]></iframe> via JS for cross origin iframe: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /shared-storage/shared-storage-writable-iframe-in-fenced.tentative.https.sub.html [wpt.fyi]: OK [GitHub], SKIP [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: TIMEOUT, Safari: OK)
    • test <iframe sharedstoragewritable src=[url]></iframe> via JS inside a fenced frame: FAIL (Chrome: TIMEOUT, Safari: FAIL)
  • /shared-storage/shared-storage-writable-img-idl-attribute-included-bytes.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <img sharedstoragewritable src=[url]> via JS for same origin img with bytestring: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <img sharedstoragewritable src=[url]> via JS for cross origin img with bytestring: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /shared-storage/shared-storage-writable-img-idl-attribute-included.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <img sharedstoragewritable src=[url]> via JS for same origin img: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <img sharedstoragewritable src=[url]> via JS for cross origin img: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /shared-storage/shared-storage-writable-img-idl-attribute-not-included.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <img src=[url]> via JS for same origin img: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <img src=[url]> via JS for cross origin img: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
  • /shared-storage/shared-storage-writable-service-worker-iframe.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <iframe sharedstoragewritable src=[url]> via JS from service worker for same origin iframe: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
    • test <iframe sharedstoragewritable src=[url]> via JS from service worker for cross origin iframe: NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)

Tests Disabled in Gecko Infrastructure

  • /shared-storage/shared-storage-writable-iframe-idl-attribute-included.tentative.https.sub.html [wpt.fyi]: ERROR [GitHub], SKIP [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: TIMEOUT, Safari: ERROR)
  • /shared-storage/shared-storage-writable-iframe-idl-attribute-not-included.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /shared-storage/shared-storage-writable-iframe-in-fenced.tentative.https.sub.html [wpt.fyi]: OK [GitHub], SKIP [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: TIMEOUT, Safari: OK)
  • /shared-storage/shared-storage-writable-img-idl-attribute-included-bytes.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /shared-storage/shared-storage-writable-img-idl-attribute-included.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /shared-storage/shared-storage-writable-img-idl-attribute-not-included.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
  • /shared-storage/shared-storage-writable-service-worker-iframe.tentative.https.sub.html [wpt.fyi]: SKIP [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], TIMEOUT [GitHub] (Chrome: TIMEOUT, Safari: TIMEOUT)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/41535fc8ab04 [wpt PR 46442] - [shared storage] Fix some web platform tests, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.