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

Unified Diff: LayoutTests/fast/canvas/canvas-hit-regions-basic-test.html

Issue 768793002: Revert of IDL: Null values should be converted for non-nullable dictionary members (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-hit-regions-basic-test-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/canvas/canvas-hit-regions-basic-test.html
diff --git a/LayoutTests/fast/canvas/canvas-hit-regions-basic-test.html b/LayoutTests/fast/canvas/canvas-hit-regions-basic-test.html
index fc9ddfde3b1f5f5fb027a6fa8d38baa6582edf54..4d8179ed4d3091345ec58743d56b5aaf4449e954 100644
--- a/LayoutTests/fast/canvas/canvas-hit-regions-basic-test.html
+++ b/LayoutTests/fast/canvas/canvas-hit-regions-basic-test.html
@@ -77,15 +77,19 @@
debug("NotSupportedError exception tests");
shouldThrow("context.addHitRegion()");
shouldThrow("context.addHitRegion({ id : '' })");
+ shouldThrow("context.addHitRegion({ id : null })");
shouldThrow("context.addHitRegion({ id : undefined })");
shouldThrow("context.addHitRegion({ control : {} })");
shouldThrow("context.addHitRegion({ control : null })");
shouldThrow("context.addHitRegion({ control : undefined })");
shouldThrow("context.addHitRegion({ id : '', control : {} })");
+ shouldThrow("context.addHitRegion({ id : null, control : {} })");
shouldThrow("context.addHitRegion({ id : undefined, control : {} })");
shouldThrow("context.addHitRegion({ id : '', control : null })");
+ shouldThrow("context.addHitRegion({ id : null, control : null })");
shouldThrow("context.addHitRegion({ id : undefined, control : null })");
shouldThrow("context.addHitRegion({ id : '', control : undefined })");
+ shouldThrow("context.addHitRegion({ id : null, control : undefined })");
shouldThrow("context.addHitRegion({ id : undefined, control : undefined })");
debug("");
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/canvas-hit-regions-basic-test-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698