mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
Fix panic in formelement.rs (#37459)
Use borrowing directly with iterators instead of holding the borrowed value for a longer scope. Testing: Covered by existing tests, and manual testing with the test case from https://github.com/servo/servo/issues/37430 Fixes: https://github.com/servo/servo/issues/37430 Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
bcade589e7
commit
910cc0b687
3 changed files with 24 additions and 10 deletions
7
tests/wpt/meta/MANIFEST.json
vendored
7
tests/wpt/meta/MANIFEST.json
vendored
|
@ -8241,6 +8241,13 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"form-check-validity-crash.html": [
|
||||
"6d3bd0d2e36751c554af42164189d921975ced93",
|
||||
[
|
||||
null,
|
||||
{}
|
||||
]
|
||||
],
|
||||
"form-controls-id-removal-crash.html": [
|
||||
"2b1ef87774fc1c5393129fca8e65147c379ea7a9",
|
||||
[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue