Closed Bug 1943346 Opened 1 month ago Closed 25 days ago

[wpt-sync] Sync PR 50244 - [DIP] Add DIP Reporter to SharedWorkers

Categories

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

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Camille Lamy <clamy@chromium.org> wrote:

[DIP] Add DIP Reporter to SharedWorkers

This CL adds a DocumentIsolationPolicy reporter for SharedWorkers,
based on their DocumentIsolationPolicy. It is stored in the
SharedWorkerHost, and communicates with a ReportingObserver bound in
the WorkerContext.

This CL also fixes an issue where the COEP reporter of the
SharedWorker was not connected to a ReportingObserver.

This CL is part of a chain of CLs implementing DocumentIsolationPolicy

reporting:

  1. Add DocumentIsolationPolicyReporter
  2. Implement DocumentIsolationPolicyReporter
  3. Pass the reporter to URLloaderFactory
  4. Plumb DIP reporter into ServiceWorkers
  5. Add a DIP reporter to DedicatedWorker
  6. Add a DIP reporter to SharedWorker \<- you are here
  7. Plumb DIP reporter in CacheStorage
    Bug: 333029815, 40190911
    Change-Id: Ifb5c3883376bd5a255dd307ff1cb8f0c1b90f964
    Reviewed-on: https://chromium-review.googlesource.com/6187126
    WPT-Export-Revision: aaa8a5ae477142dfe47161626feb8d17df59db91
PR 50244 applied with additional changes from upstream: f9bfe8e7040f00717887c299266e0c7fe6d2f724, a5cd2cb45f1fbbe2166c086406df27731e0f700e
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 17 subtests

Status Summary

Firefox

PASS : 2
TIMEOUT: 2
NOTRUN : 14

Chrome

PASS : 2
TIMEOUT: 2
NOTRUN : 14

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/document-isolation-policy/reporting-subresource-corp.tentative.https.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)
    • [document] blocked due to DIP: TIMEOUT (Chrome: TIMEOUT)
    • [document] blocked during redirect: NOTRUN (Chrome: NOTRUN)
    • [dedicated worker] same-origin: NOTRUN (Chrome: NOTRUN)
    • [dedicated worker] blocked by CORP: same-origin: NOTRUN (Chrome: NOTRUN)
    • [dedicated worker] blocked due to DIP: NOTRUN (Chrome: NOTRUN)
    • [dedicated worker] blocked during redirect: NOTRUN (Chrome: NOTRUN)
    • [shared worker] same-origin: NOTRUN (Chrome: NOTRUN)
    • [shared worker] blocked by CORP: same-origin: NOTRUN (Chrome: NOTRUN)
    • [shared worker] blocked due to DIP: NOTRUN (Chrome: NOTRUN)
    • [shared worker] blocked during redirect: NOTRUN (Chrome: NOTRUN)
    • [between service worker and page] same-origin: NOTRUN (Chrome: NOTRUN)
    • [between service worker and page] blocked by CORP: same-origin: NOTRUN (Chrome: NOTRUN)
    • [between service worker and page] blocked due to DIP: NOTRUN (Chrome: NOTRUN)
    • [between service worker and page] blocked during redirect: NOTRUN (Chrome: NOTRUN)
    • destination: script: NOTRUN (Chrome: NOTRUN)

Tests Disabled in Gecko Infrastructure

  • /html/document-isolation-policy/reporting-subresource-corp.tentative.https.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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a88974c5c029 [wpt PR 50244] - [DIP] Add DIP Reporter to SharedWorkers, a=testonly
Status: NEW → RESOLVED
Closed: 25 days ago
: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.