mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add a manual test for panicking while JS stack frames exist.
This commit is contained in:
parent
a0a62ed3fd
commit
fbf6c7fc2b
3 changed files with 20 additions and 0 deletions
|
@ -580,6 +580,8 @@ impl TestBindingMethods for TestBinding {
|
|||
ptr::write_volatile(p, 0xbaadc0de);
|
||||
}
|
||||
}
|
||||
|
||||
fn Panic(&self) { panic!("explicit panic from script") }
|
||||
}
|
||||
|
||||
impl TestBinding {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue