Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1315)

Unified Diff: third_party/WebKit/LayoutTests/csspaint/registerPaint-expected.txt

Issue 1839913002: Implement PaintWorkletGlobalScope#registerPaint() for the CSS Paint API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + remove WillBe types. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/csspaint/registerPaint-expected.txt
diff --git a/third_party/WebKit/LayoutTests/csspaint/registerPaint-expected.txt b/third_party/WebKit/LayoutTests/csspaint/registerPaint-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5840133e0757c127b8657140720dea1803b30b5b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/csspaint/registerPaint-expected.txt
@@ -0,0 +1,23 @@
+CONSOLE MESSAGE: line 14: The worklet should throw an error with: "A class with name:'foo' is already registered."
+CONSOLE ERROR: line 1: Uncaught [object DOMException]
+CONSOLE MESSAGE: line 14: The worklet should throw an error with: "The empty string is not a valid name."
+CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The empty string is not a valid name.
+CONSOLE MESSAGE: line 14: The worklet should throw an error with: "failed!"
+CONSOLE ERROR: line 1: Uncaught Error: failed!
+CONSOLE MESSAGE: line 14: The worklet should throw an error with: "The value provided is neither an array, nor does it have indexed properties."
+CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The value provided is neither an array, nor does it have indexed properties.
+CONSOLE MESSAGE: line 14: The worklet should throw an error with: "The 'prototype' object on the class does not exist."
+CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The 'prototype' object on the class does not exist.
+CONSOLE MESSAGE: line 14: The worklet should throw an error with: "The 'prototype' property on the class is not an object."
+CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The 'prototype' property on the class is not an object.
+CONSOLE MESSAGE: line 14: The worklet should throw an error with: "The 'paint' function on the prototype does not exist."
+CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The 'paint' function on the prototype does not exist.
+CONSOLE MESSAGE: line 14: The worklet should throw an error with: "The 'paint' property on the prototype is not a function."
+CONSOLE ERROR: line 1: Uncaught TypeError: Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The 'paint' property on the prototype is not a function.
+CONSOLE MESSAGE: line 16: The worklet should not throw an error.
+CONSOLE MESSAGE: line 1: Success for 'foo9'.
+CONSOLE MESSAGE: line 16: The worklet should not throw an error.
+CONSOLE MESSAGE: line 1: Success for 'foo10'.
+This tests a series of PaintWorkletGlobalScope#registerPaint calls.
+
+See the devtools console for test output.

Powered by Google App Engine
This is Rietveld 408576698