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

Unified Diff: LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt

Issue 289283002: Add some layout tests about behavior on undefined and null. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 7 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-scroll-path-into-view-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt b/LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt
index 49e3b06efb3e5e884f30bf4f5e3c86fb8ebde2df..ebad0fbd2fe85a6518c74d8e25934f874e0891f7 100644
--- a/LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt
@@ -93,6 +93,7 @@ PASS testValue is 660
Test case 5: exceptions
PASS context.scrollPathIntoView(null); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
+PASS context.scrollPathIntoView(undefined); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'..
« no previous file with comments | « LayoutTests/fast/canvas/canvas-putImageData-expected.txt ('k') | LayoutTests/fast/canvas/drawImage-with-broken-image.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698