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

RESOLVED FIXED in Firefox 61

Status

()

enhancement
P4
normal
RESOLVED FIXED
Last year
5 months ago

People

(Reporter: wptsync, Unassigned)

Tracking

unspecified
mozilla61
Points:
---

Firefox Tracking Flags

(firefox61 fixed)

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: Last year
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.