aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/servo/main.rs5
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/more/functions/readPixelsBadArgs.html.ini2
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-pack-alignment.html.ini2
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-arrays-out-of-bounds.html.ini2
-rw-r--r--tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-elements-out-of-bounds.html.ini2
5 files changed, 8 insertions, 5 deletions
diff --git a/components/servo/main.rs b/components/servo/main.rs
index a13c2ca8b5d..64112fde54b 100644
--- a/components/servo/main.rs
+++ b/components/servo/main.rs
@@ -70,7 +70,10 @@ fn install_crash_handler() {
}
}
- signal!(Sig::SEGV, handler);
+ signal!(Sig::SEGV, handler); // handle segfaults
+ signal!(Sig::ILL, handler); // handle stack overflow and unsupported CPUs
+ signal!(Sig::IOT, handler); // handle double panics
+ signal!(Sig::BUS, handler); // handle invalid memory access
}
#[cfg(target_os = "android")]
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/more/functions/readPixelsBadArgs.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/more/functions/readPixelsBadArgs.html.ini
index 104168d037f..7f14a9449b1 100644
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/more/functions/readPixelsBadArgs.html.ini
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/more/functions/readPixelsBadArgs.html.ini
@@ -1,6 +1,6 @@
[readPixelsBadArgs.html]
type: testharness
- expected: CRASH
+ expected: TIMEOUT
[WebGL test #0: testReadPixels]
expected: FAIL
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-pack-alignment.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-pack-alignment.html.ini
index d37219b0864..1b3d09229b9 100644
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-pack-alignment.html.ini
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/reading/read-pixels-pack-alignment.html.ini
@@ -1,6 +1,6 @@
[read-pixels-pack-alignment.html]
type: testharness
- expected: CRASH
+ expected: TIMEOUT
[WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-arrays-out-of-bounds.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-arrays-out-of-bounds.html.ini
index 1459ace05e4..64503c921e5 100644
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-arrays-out-of-bounds.html.ini
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-arrays-out-of-bounds.html.ini
@@ -1,3 +1,3 @@
[draw-arrays-out-of-bounds.html]
type: testharness
- expected: CRASH
+ expected: TIMEOUT
diff --git a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-elements-out-of-bounds.html.ini b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-elements-out-of-bounds.html.ini
index 5c4701a6660..73287c519b5 100644
--- a/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-elements-out-of-bounds.html.ini
+++ b/tests/wpt/metadata/webgl/conformance-1.0.3/conformance/rendering/draw-elements-out-of-bounds.html.ini
@@ -1,3 +1,3 @@
[draw-elements-out-of-bounds.html]
type: testharness
- expected: CRASH
+ expected: TIMEOUT