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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html

Issue 2508943003: Make OffscreenCanvas resizeable (Closed)
Patch Set: Created 4 years, 1 month 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/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 8d61b355d44d9b5b50db8c62a15a64a70f996368..28fdcc96ef3eddd617257db686840bac15ea5364 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
@@ -44,15 +44,6 @@ test(function() {
}, "Tests whether transferControlToOffscreen throws exception correctly.");
test(function() {
- var canvas3 = createCanvas(10, 10);
- var offscreenCanvas3 = canvas3.transferControlToOffscreen();
- assert_equals(offscreenCanvas3.width, 10);
- assert_equals(offscreenCanvas3.height, 10);
- 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.");
-
-test(function() {
var canvas4 = createCanvas(10, 10);
var offscreenCanvas4 = canvas4.transferControlToOffscreen();
assert_throws("InvalidStateError", function() {

Powered by Google App Engine
This is Rietveld 408576698