| OLD | NEW |
| 1 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "A class with
name:'foo' is already registered." | 1 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "A class with
name:'foo' is already registered." |
| 2 CONSOLE ERROR: line 1: Uncaught [object DOMException] | 2 CONSOLE ERROR: line 1: Uncaught NotSupportedError: Failed to execute 'registerPa
int' on 'PaintWorkletGlobalScope': A class with name:'foo' is already registered
. |
| 3 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The empty str
ing is not a valid name." | 3 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The empty str
ing is not a valid name." |
| 4 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The empty string is not a valid name. | 4 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The empty string is not a valid name. |
| 5 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "failed!" | 5 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "failed!" |
| 6 CONSOLE ERROR: line 1: Uncaught Error: failed! | 6 CONSOLE ERROR: line 1: Uncaught Error: failed! |
| 7 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The value pro
vided is neither an array, nor does it have indexed properties." | 7 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The value pro
vided is neither an array, nor does it have indexed properties." |
| 8 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The provided value cannot be converted to a sequence. | 8 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The provided value cannot be converted to a sequence. |
| 9 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'prototyp
e' object on the class does not exist." | 9 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'prototyp
e' object on the class does not exist." |
| 10 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'prototype' object on the class does not exist. | 10 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'prototype' object on the class does not exist. |
| 11 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'prototyp
e' property on the class is not an object." | 11 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'prototyp
e' property on the class is not an object." |
| 12 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'prototype' property on the class is not an objec
t. | 12 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'prototype' property on the class is not an objec
t. |
| 13 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'paint' f
unction on the prototype does not exist." | 13 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'paint' f
unction on the prototype does not exist." |
| 14 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'paint' function on the prototype does not exist. | 14 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'paint' function on the prototype does not exist. |
| 15 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'paint' p
roperty on the prototype is not a function." | 15 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'paint' p
roperty on the prototype is not a function." |
| 16 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'paint' property on the prototype is not a functi
on. | 16 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'paint' property on the prototype is not a functi
on. |
| 17 CONSOLE MESSAGE: line 19: The worklet should not throw an error. | 17 CONSOLE MESSAGE: line 19: The worklet should not throw an error. |
| 18 CONSOLE MESSAGE: line 1: Success for 'foo9'. | 18 CONSOLE MESSAGE: line 1: Success for 'foo9'. |
| 19 CONSOLE MESSAGE: line 19: The worklet should not throw an error. | 19 CONSOLE MESSAGE: line 19: The worklet should not throw an error. |
| 20 CONSOLE MESSAGE: line 1: Success for 'foo10'. | 20 CONSOLE MESSAGE: line 1: Success for 'foo10'. |
| 21 CONSOLE MESSAGE: line 19: The worklet should not throw an error. | 21 CONSOLE MESSAGE: line 19: The worklet should not throw an error. |
| 22 CONSOLE MESSAGE: line 1: Success for 'foo11'. | 22 CONSOLE MESSAGE: line 1: Success for 'foo11'. |
| 23 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'alpha' p
roperty on the class is not a boolean." | 23 CONSOLE MESSAGE: line 15: The worklet should throw an error with: "The 'alpha' p
roperty on the class is not a boolean." |
| 24 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'alpha' property on the class is not a boolean. | 24 CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on
'PaintWorkletGlobalScope': The 'alpha' property on the class is not a boolean. |
| 25 CONSOLE MESSAGE: line 19: The worklet should not throw an error. | 25 CONSOLE MESSAGE: line 19: The worklet should not throw an error. |
| 26 CONSOLE MESSAGE: line 1: Success for 'foo13'. | 26 CONSOLE MESSAGE: line 1: Success for 'foo13'. |
| 27 This tests a series of PaintWorkletGlobalScope#registerPaint calls. | 27 This tests a series of PaintWorkletGlobalScope#registerPaint calls. |
| 28 | 28 |
| 29 See the devtools console for test output. | 29 See the devtools console for test output. |
| OLD | NEW |