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

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

Issue 2493673002: Synchronize OffscreenCanvas content with the placeholder canvas (Closed)
Patch Set: fix obsolete test 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 e961996b03fe8d9a6110723384fe7653b2c85500..8d61b355d44d9b5b50db8c62a15a64a70f996368 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
@@ -64,12 +64,6 @@ test(function() {
assert_throws("InvalidStateError", function() {
canvas4.width = 20;
}, "canvas resizing width is not allowed after transferring control to offscreen.");
- assert_throws("InvalidStateError", function() {
- canvas4.toBlob(function() {});
- }, "canvas.toBlob is not allowed after transferring control to offscreen.");
- assert_throws("InvalidStateError", function() {
- canvas4.toDataURL();
- }, "canvas.toDataURL is not allowed after transferring control to offscreen.");
}, "Test if modifying canvas after it transfers controls to offscreen throw exceptions");
</script>

Powered by Google App Engine
This is Rietveld 408576698