mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
script: Don't panic on IndexedDB put operation structured clone (#38280)
Fixes panic by rethrowing exceptions. Testing: Covered by WPT Fixes: #38075 --------- Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
parent
e1bda86861
commit
4188852963
7 changed files with 3 additions and 86 deletions
|
@ -215,8 +215,7 @@ impl IDBObjectStore {
|
|||
}
|
||||
}
|
||||
|
||||
let serialized_value =
|
||||
structuredclone::write(cx, value, None).expect("Could not serialize value");
|
||||
let serialized_value = structuredclone::write(cx, value, None)?;
|
||||
|
||||
IDBRequest::execute_async(
|
||||
self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue