[wpt-sync] Sync PR 23069 - Rework WPT: /fetch/stale-while-revalidate/stale-script.html
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][necko-triaged])
Sync web-platform-tests PR 23069 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23069
Details from upstream follow.
arthursonzogni <arthursonzogni@chromium.org> wrote:
Rework WPT: /fetch/stale-while-revalidate/stale-script.html
Mainly for improving my own understanding. I would like to make some
tests about CSP vs stale-while-revalidate for issue 1070117This patch:
Use Promise(s) instead of callback(s). This unwrap the logic flow.
Make "last_modified_count" to count the number of new version being
served. Previously, it was a bit confusing to me.Extend the test to check the "revalidated" version is served on the
3rd load.Small misc refactorings.
Bug: 1070117
Change-Id: Ifba23d78e539eb50262244f59e7c16e1b9ca56ab
Reviewed-on: https://chromium-review.googlesource.com/2154786
WPT-Export-Revision: cbf79ad5fc6381bf646dd677c2e96a722b47fd7e
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=faafefe940b9a20d5f129528e7bcc02de9c9bee4
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 60 tests
Status Summary
Firefox
OK : 1
PASS: 1[GitHub] 60[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/71a431251ea1 [wpt PR 23069] - Rework WPT: /fetch/stale-while-revalidate/stale-script.html, a=testonly
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/d13606390be7 [wpt PR 23069] - Rework WPT: /fetch/stale-while-revalidate/stale-script.html, a=testonly
Comment 5•4 years ago
|
||
bugherder |
Description
•