Bug 1710812 [wpt PR 28971] - Make multiple web bundle links behavior deterministic...
commit8941a1242a9a6602e7d709a9e464bfb6cdb24671
authorTsuyoshi Horo <horo@chromium.org>
Thu, 13 May 2021 18:12:27 +0000 (13 18:12 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 14 May 2021 04:50:43 +0000 (14 04:50 +0000)
treef515527834eb211f3126ae4e2fa379ad4a2d840a
parent92d8886edeeaf7d06782c5503ab53f3b124294d9
Bug 1710812 [wpt PR 28971] - Make multiple web bundle links behavior deterministic, a=testonly

Automatic update from web-platform-tests
Make multiple web bundle links behavior deterministic

Currently the behavior of multiple web bundle links is not
deterministic. It is because ResourceFetcher is keeping
SubresourceWebBundles in a HeapHashSet.

To fix this issue this CL changes the logc to use Vector in a new class
SubresourceWebBundleList, and use the last added link.

Bug: 1082020
Change-Id: I7cb0908f6b405c1d4982a6dc551d9bf7fc5fd201
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2891272
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Hayato Ito <hayato@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Tsuyoshi Horo <horo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#882430}

--

wpt-commits: a6f50120d6d6513433a9741e28dded9baad1fb7a
wpt-pr: 28971
testing/web-platform/tests/web-bundle/subresource-loading/subresource-loading-from-web-bundle.https.tentative.html