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

Unified Diff: LayoutTests/canvas/philip/tests/2d.imageData.object.ctor.html

Issue 196343032: Implement ImageData constructors. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have constructor instance wrappers keep a 'data' property instead. Created 6 years, 9 months 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: LayoutTests/canvas/philip/tests/2d.imageData.object.ctor.html
diff --git a/LayoutTests/canvas/philip/tests/2d.imageData.object.ctor.html b/LayoutTests/canvas/philip/tests/2d.imageData.object.ctor.html
index b9bc54d41bcdc87d49f3b09538f1ae2d7d591cfd..4ed4312d41cb4141362d9e5d59b00e9010cb05f2 100644
--- a/LayoutTests/canvas/philip/tests/2d.imageData.object.ctor.html
+++ b/LayoutTests/canvas/philip/tests/2d.imageData.object.ctor.html
@@ -13,7 +13,7 @@
_addTest(function(canvas, ctx) {
_assertDifferent(window.ImageData, undefined, "window.ImageData", "undefined");
-try { var _thrown = false; new window.ImageData(1,1); } catch (e) { _thrown = true; } finally { _assert(_thrown, "should throw exception: new window.ImageData(1,1)"); }
+try { var _thrown = false; new window.ImageData(1,1); } catch (e) { _thrown = true; } finally { _assert(!_thrown, "should not throw exception: new window.ImageData(1,1)"); }
Inactive 2014/03/19 19:07:14 This is an imported test suite, I don't know if we
Justin Novosad 2014/03/19 19:35:54 Correct. We only touch the baselines for these te
sof 2014/03/19 22:19:16 Thanks, I reverted the pass condition inversion &
});

Powered by Google App Engine
This is Rietveld 408576698