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-getContext-invalid-expected.txt

Issue 1249913003: The contextId argument for HTMLCanvasElement getContext() api should not be optional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/script-tests/canvas-getContext-invalid.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/canvas-getContext-invalid-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-getContext-invalid-expected.txt b/LayoutTests/fast/canvas/canvas-getContext-invalid-expected.txt
index b485e0ff9335382d97aa4aafa827e6c940663e72..96c5b7c5b30d317988508ea35400a1deefde48d1 100644
--- a/LayoutTests/fast/canvas/canvas-getContext-invalid-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-getContext-invalid-expected.txt
@@ -9,6 +9,9 @@ PASS canvas.getContext('This is clearly not a valid context name.') is null
PASS canvas.getContext('2d\0') is null
PASS canvas.getContext('2d') is null
PASS canvas.getContext('2D') is null
+PASS canvas.getContext() threw exception TypeError: Failed to execute 'getContext' on 'HTMLCanvasElement': 1 argument required, but only 0 present..
+PASS canvas.getContext('null') is null
+PASS canvas.getContext('undefined') is null
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/script-tests/canvas-getContext-invalid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698