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

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

Issue 2515623003: Stop OffscreenCanvas resize from changing placeholder attributes (Closed)
Patch Set: report correct intrinsic size 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 28fdcc96ef3eddd617257db686840bac15ea5364..8fbe27817fdc573102e5fc1f5ad4ee9a482c51dd 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferControlToOffscreen.html
@@ -49,13 +49,7 @@ test(function() {
assert_throws("InvalidStateError", function() {
canvas4.getContext("2d");
}, "canvas.getContext() is not allowed after transferring control to offscreen.");
- assert_throws("InvalidStateError", function() {
- canvas4.height = 20;
- }, "canvas resizing height is not allowed after transferring control to offscreen.");
- assert_throws("InvalidStateError", function() {
- canvas4.width = 20;
- }, "canvas resizing width is not allowed after transferring control to offscreen.");
-}, "Test if modifying canvas after it transfers controls to offscreen throw exceptions");
+}, "Test that getContext throw an exception if called after transferControlToOffscreen.");
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698