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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/csspaint/registerPaint.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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/test-runner-paint-helper.js"></script> 4 <script src="resources/test-runner-paint-helper.js"></script>
5 <script> 5 <script>
6 function runTest() { 6 function runTest() {
7 runner([{ 7 runner([{
8 expectedError: "A class with name:'foo' is already registered.", 8 expectedError: "A class with name:'foo' is already registered.",
9 script: "registerPaint('foo', class { paint() { } }); registerPaint('foo ', class { paint() { } });", 9 script: "registerPaint('foo', class { paint() { } }); registerPaint('foo ', class { paint() { } });",
10 }, { 10 }, {
(...skipping 30 matching lines...) Expand all
41 script: "registerPaint('foo13', class { static get alpha() { return true ; } paint() { } }); console.log('Success for \\'foo13\\'.');", 41 script: "registerPaint('foo13', class { static get alpha() { return true ; } paint() { } }); console.log('Success for \\'foo13\\'.');",
42 }]); 42 }]);
43 } 43 }
44 </script> 44 </script>
45 </head> 45 </head>
46 <body onload="runTest()"> 46 <body onload="runTest()">
47 <p>This tests a series of PaintWorkletGlobalScope#registerPaint calls.</p> 47 <p>This tests a series of PaintWorkletGlobalScope#registerPaint calls.</p>
48 <p>See the devtools console for test output.</p> 48 <p>See the devtools console for test output.</p>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698