mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
script: Throw a TypeError
when trying to create an OffscreenCanvas
with an unknown context type (#34276)
* fixing test failures that involves throwing TypeError Signed-off-by: L Ashwin B <lashwinib@gmail.com> * handle all unknown values in a single fallback case Signed-off-by: L Ashwin B <lashwinib@gmail.com> * updating few more test- expectations Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
bd9843405a
commit
1f0b88934b
17 changed files with 23 additions and 32 deletions
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.context.casesensitive.html]
|
||||
[Context name "2D" is unrecognised; matching is case sensitive]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.context.casesensitive.worker.html]
|
||||
[Context name "2D" is unrecognised; matching is case sensitive]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.context.emptystring.html]
|
||||
[getContext with empty string returns null]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.context.emptystring.worker.html]
|
||||
[getContext with empty string returns null]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.context.invalid.args.html]
|
||||
[Calling getContext with invalid arguments.]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[2d.canvas.context.invalid.args.worker.html]
|
||||
[Calling getContext with invalid arguments.]
|
||||
expected: FAIL
|
|
@ -5,9 +5,6 @@
|
|||
[Test that webglcontext.canvas should return the original OffscreenCanvas]
|
||||
expected: FAIL
|
||||
|
||||
[Test that getContext with un-supported string throws a TypeError.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that OffscreenCanvasRenderingContext2D with alpha disabled makes the OffscreenCanvas opaque]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
[Test that webglcontext.canvas should return the original OffscreenCanvas]
|
||||
expected: FAIL
|
||||
|
||||
[Test that getContext with un-supported string throws a TypeError.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that OffscreenCanvasRenderingContext2D with alpha disabled makes the OffscreenCanvas opaque]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[context-creation-worker.html]
|
||||
expected: ERROR
|
||||
[WebGL test #0: Some tests failed]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
[context-creation.html]
|
||||
expected: ERROR
|
||||
[WebGL test #0: WebGL context creation failed]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[methods-worker.html]
|
||||
expected: ERROR
|
||||
[WebGL test #0: Some tests failed]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
[methods.html]
|
||||
expected: ERROR
|
||||
[WebGL test #0: Some WebGL methods not found]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
[context-creation.html]
|
||||
expected: ERROR
|
||||
[WebGL test #0: WebGL2 context creation failed]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[methods-2-worker.html]
|
||||
expected: ERROR
|
||||
[WebGL test #0: Some tests failed]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
[methods-2.html]
|
||||
expected: ERROR
|
||||
[WebGL test #0: Some WebGL2 methods not found]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue