Closed Bug 1450258 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10252 - Make URLSearchParamsIterationSource not snapshot

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Adam Rice <ricea@chromium.org> wrote:
>  Make URLSearchParamsIterationSource not snapshot
>  
>  Previously URLSearchParamsIterationSource iterated over a copy of
>  URLSearchParams, but it is specified in the standard as iterating over
>  the live list.
>  
>  Modify it to reference the original Vector instead of a copy.
>  
>  Also add web-platform tests for delete during foreach, and update
>  failing expectations.
>  
>  BUG=677322
>  
>  Change-Id: I8c53fd8dd9863fe1146c5b7849d4f08245b37bc1
>  Reviewed-on: https://chromium-review.googlesource.com/987839
>  WPT-Export-Revision: a5719e4c386c7ce68ab0681bf61882c8a65bc82c
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 6 subtests
OK     : 1
PASS   : 6
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a7d012115a44
[wpt PR 10252] - Make URLSearchParamsIterationSource not snapshot, a=testonly
https://hg.mozilla.org/mozilla-central/rev/a7d012115a44
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.