mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Add a test that forces a crash. This makes it easy to manually check the output of a segfault with a complicated backtrace; the actual automation doesn't help us except to verify that the crash continues to happen as excepted.
This commit is contained in:
parent
d4a5b45242
commit
99e436eb05
6 changed files with 33 additions and 0 deletions
|
@ -6946,6 +6946,12 @@
|
|||
"url": "/_mozilla/mozilla/service-workers/service-worker-registration.html"
|
||||
}
|
||||
],
|
||||
"mozilla/sigsegv.html": [
|
||||
{
|
||||
"path": "mozilla/sigsegv.html",
|
||||
"url": "/_mozilla/mozilla/sigsegv.html"
|
||||
}
|
||||
],
|
||||
"mozilla/storage.html": [
|
||||
{
|
||||
"path": "mozilla/storage.html",
|
||||
|
|
4
tests/wpt/mozilla/meta/mozilla/sigsegv.html.ini
Normal file
4
tests/wpt/mozilla/meta/mozilla/sigsegv.html.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
[sigsegv.html]
|
||||
type: testharness
|
||||
prefs: [dom.testbinding.enabled:true,dom.testable_crash.enabled:true]
|
||||
expected: CRASH
|
8
tests/wpt/mozilla/tests/mozilla/sigsegv.html
Normal file
8
tests/wpt/mozilla/tests/mozilla/sigsegv.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
(new TestBinding()).crashHard();
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue