mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
fix handle_wgpu_msg crash (#30479)
* Enter realm before handle_wgpu_msg fix https://github.com/servo/servo/issues/30419 * Update expectations
This commit is contained in:
parent
dfd14aabef
commit
bd9c17234c
3 changed files with 3 additions and 2 deletions
|
@ -2102,6 +2102,7 @@ impl ScriptThread {
|
||||||
result,
|
result,
|
||||||
} => {
|
} => {
|
||||||
let global = self.documents.borrow().find_global(pipeline_id).unwrap();
|
let global = self.documents.borrow().find_global(pipeline_id).unwrap();
|
||||||
|
let _ac = enter_realm(&*global);
|
||||||
global.handle_wgpu_msg(device, scope_id, result);
|
global.handle_wgpu_msg(device, scope_id, result);
|
||||||
},
|
},
|
||||||
WebGPUMsg::CleanDevice {
|
WebGPUMsg::CleanDevice {
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
[canvas_complex_rgba8unorm_store.https.html]
|
[canvas_complex_rgba8unorm_store.https.html]
|
||||||
expected: CRASH
|
expected: FAIL
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
[canvas_image_rendering.https.html]
|
[canvas_image_rendering.https.html]
|
||||||
expected: CRASH
|
expected: TIMEOUT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue