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

Unified Diff: LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html

Issue 373043004: IDL: Treat undefined as missing for optional arguments with defaults (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 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
Index: LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html
diff --git a/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html b/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html
index 2c1abcc8b7956504bb945647c1838f14ebc8ee03..cc9e2173ed8e79c6e4a0e75bdd30666dfabab95e 100644
--- a/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html
+++ b/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html
@@ -4,9 +4,9 @@
description('This tests optional title for createHTMLDocument');
shouldBeNull('document.implementation.createHTMLDocument().querySelector("title")');
+shouldBeNull('document.implementation.createHTMLDocument(undefined).querySelector("title")');
shouldBeEqualToString('document.implementation.createHTMLDocument(null).querySelector("title").textContent', 'null');
-shouldBeEqualToString('document.implementation.createHTMLDocument(undefined).querySelector("title").textContent', 'undefined');
shouldBeEqualToString('document.implementation.createHTMLDocument("").querySelector("title").textContent', '');
shouldBeEqualToString('document.implementation.createHTMLDocument("x").querySelector("title").textContent', 'x');

Powered by Google App Engine
This is Rietveld 408576698