Commit f61c247
Bug 2036804 [wpt PR 59538] - script: Fix "RefCell already borrowed" for DOMString in DataTransfer.getData, a=testonly
Automatic update from web-platform-tests
Fix "RefCell already borrowed" for DOMString in DataTransfer.getData
`match_domstring_ascii!` presumably borrows that RefCell, and `.clone()` borrows it again.
This fix uses uncommon Rust syntax: breaking with a "return" value out of a labelled block: https://rust-lang.github.io/rfcs/2046-label-break-value.html
Fixes: servo/servo#44599
Signed-off-by: Simon Sapin <simon@igalia.com>
--
wpt-commits: a6fd8974d9c3dc64d2b60f374ae4fb13210de993
wpt-pr: 595381 parent 8441bdb commit f61c247
1 file changed
Lines changed: 3 additions & 0 deletions
File tree
- testing/web-platform/tests/html/editing/dnd/crashtests
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments