Closed Bug 2086695 Opened 1 month ago Closed 21 days ago

[wpt-sync] Sync PR 64164 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328778

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anne van Kesteren <annevk@annevk.nl> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=328778

WebKit export from bug: Report the first URL of a service worker'<!---->s response in CORP violation reports

<pre>
Report the first URL of a service worker's response in CORP violation reports

The CORP violation reports for a service worker's response named the requested
URL, rather than the first URL of the response's URL list. These differ when the
worker responds with a fetch of another URL, including through the Cache API.

The service worker process now sends the first URL along with the response. As
ResourceResponse only has the last URL of a redirected response, FetchResponse
records the URL that fetch() requested. A response that the worker constructs
has an empty URL list, so it is still reported with the request's URL.

Not covered yet:

  • A redirected response from the Cache API is reported with the requested URL,
    as the Cache API only stores the last URL of a response's URL list.
  • A response that a static routing rule takes from the cache is reported with
    the requested URL.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=328778">https://bugs.webkit.org/show_bug.cgi?id=328778</a>
</pre>

Whiteboard: [wptsync downstream] → [wptsync downstream error]

PR 64164 applied with additional changes from upstream: 5958ffed26d41dd69ca8527a2d2a0e99b6c28750

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 149 tests and 8 subtests

Status Summary

Firefox

OK : 127[Gecko-linux2404-64-debug] 128[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-32-25h2-debug] 129[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 547[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-32-25h2-debug] 551[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 112
TIMEOUT: 4
NOTRUN : 20

Chrome

TIMEOUT: 4
NOTRUN : 20

Safari

TIMEOUT: 4
NOTRUN : 20

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Status: NEW → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.