[wpt-sync] Sync PR 36231 - Make load.cache_bust safe in multi-promise_test setting.
Categories
(Core :: DOM: Performance, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
72.38 KB,
text/plain
|
Details |
Sync web-platform-tests PR 36231 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36231
Details from upstream follow.
William Liu <liuwilliam@chromium.org> wrote:
Make load.cache_bust safe in multi-promise_test setting.
This CL addresses the flakiness in crrev.com/c/3913675.
load.cache_bust
1 isn't thread-friendly, where it is possible to get
two identical&unique=\<xxx>
query params in two separated promise_test
in one js test file.With two identical
&unique=\<xxx>
,initialURL
in the "same origin" test andcacheAndValidatedURL
in the "cross origin, TAO fails" test are also identical. It is unclear whypromise_test
is not happy about
two identical URL, and complaining about the ACAO header.Tested with
third_party/blink/tools/run_web_tests.py -t Default external/wpt/resource-timing/delivery-type.tentative.any.js --repeat-each=20
on a linux build.Bug:1370353, 1358591
Change-Id: I54b0c132ae0eeee96dbc6947bddedfa34b48e2c1Reviewed-on: https://chromium-review.googlesource.com/3932083
WPT-Export-Revision: a19d2d4a66fd2d1552ef01620bb52341667f6470
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/69a26fcb606e
https://hg.mozilla.org/mozilla-central/rev/d18e7f3761ec
Description
•