| Index: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
|
| index a093f1e871a9866a67e6cc49315c85d3fdce81ab..e881b63c0d1e52d926029c1165e6cee65f3e4559 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
|
| @@ -42,11 +42,9 @@ test(function() {
|
| var offscreenCanvas3 = canvas3.transferControlToOffscreen();
|
| assert_equals(offscreenCanvas3.width, 10);
|
| assert_equals(offscreenCanvas3.height, 10);
|
| - offscreenCanvas3.width = 20;
|
| - offscreenCanvas3.height = 20;
|
| - assert_equals(offscreenCanvas3.width, 10);
|
| - assert_equals(offscreenCanvas3.height, 10);
|
| -}, "Test if resizing on offscreencanvas transferred from html canvas has no effect");
|
| + assert_throws("InvalidStateError", function() { offscreenCanvas3.width = 20; });
|
| + assert_throws("InvalidStateError", function() { offscreenCanvas3.height = 20; });
|
| +}, "Test if resizing on offscreencanvas transferred from html canvas has thrown exceptions.");
|
|
|
| </script>
|
| </body>
|
|
|