| Index: third_party/WebKit/LayoutTests/csspaint/registerPaint.html
|
| diff --git a/third_party/WebKit/LayoutTests/csspaint/registerPaint.html b/third_party/WebKit/LayoutTests/csspaint/registerPaint.html
|
| index fa7152248dd4ecfd8253c256d677124e87b3007f..424270701f2741dd20dbc6020710743e674be6d4 100644
|
| --- a/third_party/WebKit/LayoutTests/csspaint/registerPaint.html
|
| +++ b/third_party/WebKit/LayoutTests/csspaint/registerPaint.html
|
| @@ -58,6 +58,11 @@ function runTest() {
|
| script: "var c = function() { }; c.prototype.paint = function() { }; registerPaint('foo10', c); console.log('Success for \\'foo10\\'.');",
|
| }, {
|
| script: "registerPaint('foo11', class { static get inputProperties() { return ['-webkit-border-radius']; } paint() { } }); console.log('Success for \\'foo11\\'.');"
|
| + }, {
|
| + expectedError: "The 'alpha' property on the class is not a boolean.",
|
| + script: "registerPaint('foo12', class { static get alpha() { return 42; } });",
|
| + }, {
|
| + script: "registerPaint('foo13', class { static get alpha() { return true; } paint() { } }); console.log('Success for \\'foo13\\'.');",
|
| }]);
|
| }
|
| </script>
|
|
|