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

Unified Diff: third_party/WebKit/LayoutTests/csspaint/parse-input-arguments.html

Issue 2868003002: CSSPaint: Move layout tests in csspaint/ to http/tests/csspaint/ (Closed)
Patch Set: rebase Created 3 years, 7 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/parse-input-arguments.html
diff --git a/third_party/WebKit/LayoutTests/csspaint/parse-input-arguments.html b/third_party/WebKit/LayoutTests/csspaint/parse-input-arguments.html
deleted file mode 100644
index b78db59de968586e8dcac6d89154857ef149a003..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/csspaint/parse-input-arguments.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="resources/test-runner-paint-helper.js"></script>
-<script>
-function runTest() {
- runner([{
- expectedError: "failed!",
- script: "registerPaint('foo', class { static get inputArguments() { throw Error('failed!'); } });",
- }, {
- expectedError: " Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': The value provided is neither an array, nor does it have indexed properties.",
- script: "registerPaint('foo1', class { static get inputArguments() { return 'non sense stuff'; } });",
- }, {
- expectedError: "Failed to execute 'registerPaint' on 'PaintWorkletGlobalScope': Invalid argument types.",
- script: "registerPaint('foo2', class { static get inputArguments() { return ['<non-sense-type>'] } });",
- }, {
- script: "registerPaint('foo3', class { static get inputArguments(){return ['<length>'];} paint() { } }); console.log('Success for \\'foo\\'.');",
- }]);
-}
-</script>
-</head>
-<body onload="runTest()">
-<p>This tests a series of PaintWorkletGlobalScope#registerPaint Parse Input Arguments calls.</p>
-<p>See the devtools console for test output.</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698