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

Unified Diff: LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html

Issue 555133003: Use ExceptionState to throw exceptions when converting arrays (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 3 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/fast/canvas/canvas-lineDash-input-sequence.html
diff --git a/LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html
index fc5d160d0d675fd90c37fee87c09d8a5c9e39deb..061d9f4afb282f7d9ccb2118a3cb9d647c868fa3 100644
--- a/LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html
+++ b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html
@@ -38,7 +38,7 @@ function checkLineDash(testArray, shouldFail) {
ctx.setLineDash([]);
// Set line dash.
if (shouldFail) {
- shouldThrow("ctx.setLineDash(inputArray)", "'TypeError: The 1st argument is neither an array, nor does it have indexed properties.'");
+ shouldThrow("ctx.setLineDash(inputArray)", "'TypeError: Failed to execute \\'setLineDash\\' on \\'CanvasRenderingContext2D\\': The 1st argument is neither an array, nor does it have indexed properties.'");
} else {
ctx.setLineDash(inputArray);
lineDash = ctx.getLineDash();

Powered by Google App Engine
This is Rietveld 408576698