Closed Bug 1943323 Opened 1 month ago Closed 25 days ago

[wpt-sync] Sync PR 50240 - [DIP] Add DIP reporter to DedicatedWorker

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 50240 into mozilla-central (this bug is closed when the sync is complete).

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

Camille Lamy <clamy@chromium.org> wrote:

[DIP] Add DIP reporter to DedicatedWorker

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

This CL also fixes an issue where the COEP reporter of the
DedicatedWorker 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 \<- you are here
  6. Add a DIP reporter to SharedWorker
  7. Plumb DIP reporter in CacheStorage
    Bug: 333029815, 40176729
    Change-Id: I1a1e57ff83e8a55c16c1daec73160e0dcc63bbaa
    Reviewed-on: https://chromium-review.googlesource.com/6187106
    WPT-Export-Revision: f49183427fbc7ce22dcb6173011226277acf79b0
PR 50240 applied with additional changes from upstream: f9bfe8e7040f00717887c299266e0c7fe6d2f724
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 1 tests and 13 subtests

Status Summary

Firefox

PASS : 2
TIMEOUT: 2
NOTRUN : 10

Chrome

PASS : 2
TIMEOUT: 2
NOTRUN : 10

Links

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]: TIMEOUT (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)
    • [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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2bf82e3a457d [wpt PR 50240] - [DIP] Add DIP reporter to DedicatedWorker, 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.