mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Make use of window.onerror in Khronos tests
This commit is contained in:
parent
6089e45b7d
commit
273aac87e4
47 changed files with 8 additions and 135 deletions
|
@ -46414,7 +46414,7 @@
|
||||||
"support"
|
"support"
|
||||||
],
|
],
|
||||||
"js/js-test-pre.js": [
|
"js/js-test-pre.js": [
|
||||||
"f2c8167240a232d1a5480a9b7635cc250062bbdb",
|
"294bd4c5a21ccfa8b1ec4369a960304c4b2cf0f6",
|
||||||
"support"
|
"support"
|
||||||
],
|
],
|
||||||
"js/pnglib.js": [
|
"js/pnglib.js": [
|
||||||
|
|
|
@ -7,6 +7,3 @@
|
||||||
[WebGL test #1: gl should be non-null. Was null]
|
[WebGL test #1: gl should be non-null. Was null]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
[canvas-test.html]
|
[canvas-test.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
[draw-static-webgl-to-multiple-canvas-test.html]
|
[draw-static-webgl-to-multiple-canvas-test.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
[draw-webgl-to-canvas-test.html]
|
[draw-webgl-to-canvas-test.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[to-data-url-test.html]
|
[to-data-url-test.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,3 @@
|
||||||
[context-attribute-preserve-drawing-buffer.html]
|
[context-attribute-preserve-drawing-buffer.html]
|
||||||
bug: https://github.com/servo/servo/issues/21132
|
bug: https://github.com/servo/servo/issues/21132
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,3 @@
|
||||||
[WebGL test #2: gl.getContextAttributes().preserveDrawingBuffer should be true. Threw exception TypeError: gl is null]
|
[WebGL test #2: gl.getContextAttributes().preserveDrawingBuffer should be true. Threw exception TypeError: gl is null]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
[oes-texture-float-with-canvas.html]
|
[oes-texture-float-with-canvas.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[WebGL test #31: shouldBe 127,0,0,127\nat (0, 16) expected: 127,0,0,127 was 255,0,0,255]
|
[WebGL test #31: shouldBe 127,0,0,127\nat (0, 16) expected: 127,0,0,127 was 255,0,0,255]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
[oes-texture-half-float-with-canvas.html]
|
[oes-texture-half-float-with-canvas.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[WebGL test #31: shouldBe 127,0,0,127\nat (0, 16) expected: 127,0,0,127 was 255,0,0,255]
|
[WebGL test #31: shouldBe 127,0,0,127\nat (0, 16) expected: 127,0,0,127 was 255,0,0,255]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[framebuffer-switch.html]
|
[framebuffer-switch.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[framebuffer-texture-switch.html]
|
[framebuffer-texture-switch.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
[WebGL test #1: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255]
|
[WebGL test #1: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[WebGL test #0: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255]
|
[WebGL test #0: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
[WebGL test #1: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255]
|
[WebGL test #1: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[WebGL test #0: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255]
|
[WebGL test #0: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[tex-2d-rgb-rgb-unsigned_byte.html]
|
[tex-2d-rgb-rgb-unsigned_byte.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[tex-2d-rgb-rgb-unsigned_short_5_6_5.html]
|
[tex-2d-rgb-rgb-unsigned_short_5_6_5.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[tex-2d-rgba-rgba-unsigned_byte.html]
|
[tex-2d-rgba-rgba-unsigned_byte.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html]
|
[tex-2d-rgba-rgba-unsigned_short_4_4_4_4.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html]
|
[tex-2d-rgba-rgba-unsigned_short_5_5_5_1.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,3 @@
|
||||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[buffer-copying-restrictions.html]
|
[buffer-copying-restrictions.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[buffer-type-restrictions.html]
|
[buffer-type-restrictions.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[get-buffer-sub-data-validity.html]
|
[get-buffer-sub-data-validity.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
[get-buffer-sub-data.html]
|
[get-buffer-sub-data.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[WebGL test #2: gl.getBufferSubData(gl.ARRAY_BUFFER, 0, retArray) threw exception TypeError: gl.getBufferSubData is not a function]
|
[WebGL test #2: gl.getBufferSubData(gl.ARRAY_BUFFER, 0, retArray) threw exception TypeError: gl.getBufferSubData is not a function]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[uniform-buffers-state-restoration.html]
|
[uniform-buffers-state-restoration.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[unary-minus-operator-in-dynamic-loop.html]
|
[unary-minus-operator-in-dynamic-loop.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[occlusion-query.html]
|
[occlusion-query.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[draw-buffers-driver-hang.html]
|
[draw-buffers-driver-hang.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
[sync-webgl-specific.html]
|
[sync-webgl-specific.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[WebGL test #3: gl.getError() should be 0. Was 1280.]
|
[WebGL test #3: gl.getError() should be 0. Was 1280.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[same-buffer-two-binding-points.html]
|
[same-buffer-two-binding-points.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[simultaneous_binding.html]
|
[simultaneous_binding.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[switching-objects.html]
|
[switching-objects.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
[too-small-buffers.html]
|
[too-small-buffers.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
[transform_feedback.html]
|
[transform_feedback.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
[Overall test]
|
|
||||||
expected: NOTRUN
|
|
||||||
|
|
||||||
[WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : TRANSFORM_FEEDBACK_BINDING query should succeed]
|
[WebGL test #2: getError expected: NO_ERROR. Was INVALID_ENUM : TRANSFORM_FEEDBACK_BINDING query should succeed]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -142,9 +142,10 @@ function notifyFinishedToHarness() {
|
||||||
}
|
}
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
var oldNotify = notifyFinishedToHarness;
|
|
||||||
var t = async_test("Overall test");
|
var t = async_test("Overall test");
|
||||||
window.notifyFinishedToHarness = t.step_func_done(oldNotify);
|
var done = t.step_func_done(notifyFinishedToHarness);
|
||||||
|
window.notifyFinishedToHarness = done;
|
||||||
|
window.addEventListener("error", done);
|
||||||
}())
|
}())
|
||||||
|
|
||||||
var _bufferedConsoleLogs = [];
|
var _bufferedConsoleLogs = [];
|
||||||
|
|
|
@ -30,14 +30,15 @@
|
||||||
|
|
||||||
function reportSkippedTestResultsToHarness(success, msg) {
|
function reportSkippedTestResultsToHarness(success, msg) {
|
||||||
if (window.parent.webglTestHarness) {
|
if (window.parent.webglTestHarness) {
|
||||||
@@ -127,6 +141,12 @@
|
@@ -127,6 +141,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+(function () {
|
+(function () {
|
||||||
+ var oldNotify = notifyFinishedToHarness;
|
|
||||||
+ var t = async_test("Overall test");
|
+ var t = async_test("Overall test");
|
||||||
+ window.notifyFinishedToHarness = t.step_func_done(oldNotify);
|
+ var done = t.step_func_done(notifyFinishedToHarness);
|
||||||
|
+ window.notifyFinishedToHarness = done;
|
||||||
|
+ window.addEventListener("error", done);
|
||||||
+}())
|
+}())
|
||||||
+
|
+
|
||||||
var _bufferedConsoleLogs = [];
|
var _bufferedConsoleLogs = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue