[wpt-sync] Sync PR 31229 - Test interactions of Fetch, ResourceTiming and ServiceWorkers
Categories
(Core :: DOM: Service Workers, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31229 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31229
Details from upstream follow.
Noam Rosenthal <noam@webkit.org> wrote:
Test interactions of Fetch, ResourceTiming and ServiceWorkers
- Worker induced delays should be reflected in ResourceTiming entry
- Redirects & connection info should not be forwarded to the client
- Worker-induced delays should occur before responseStart
- requestStart should occur after fetchStart
Addresses https://github.com/whatwg/fetch/issues/1208
See https://github.com/web-platform-tests/wpt/issues/28658
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 5 subtests
Status Summary
Firefox
OK : 1
PASS: 2
FAIL: 3
Chrome
OK : 1
PASS: 4
FAIL: 1
Safari
OK : 1
PASS: 2
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/service-workers/service-worker/resource-timing-fetch-variants.https.html
Redirects done from within a service-worker should not be exposed to client ResourceTiming: FAIL
New Tests That Don't Pass
/service-workers/service-worker/resource-timing-fetch-variants.https.html
Redirects done from within a service-worker should not be exposed to client ResourceTiming: FAIL (Chrome: PASS, Safari: PASS)
Delay from within service-worker (after internal fetching) should be accessible through responseStart: FAIL (Chrome: PASS, Safari: FAIL)
Delay from within service-worker (before internal fetching) should be measured before responseStart in the client ResourceTiming entry: FAIL (Chrome: PASS, Safari: FAIL)
Comment 4•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/dd27a26b614d
https://hg.mozilla.org/mozilla-central/rev/7cc2b77e7905
Description
•