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

Side by Side Diff: LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title-expected.txt

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 unified diff | Download patch
OLDNEW
1 This tests optional title for createHTMLDocument 1 This tests optional title for createHTMLDocument
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS document.implementation.createHTMLDocument().querySelector("title") is null 6 PASS document.implementation.createHTMLDocument().querySelector("title") is null
7 PASS document.implementation.createHTMLDocument(undefined).querySelector("title" ) is null
7 PASS document.implementation.createHTMLDocument(null).querySelector("title").tex tContent is "null" 8 PASS document.implementation.createHTMLDocument(null).querySelector("title").tex tContent is "null"
8 PASS document.implementation.createHTMLDocument(undefined).querySelector("title" ).textContent is "undefined"
9 PASS document.implementation.createHTMLDocument("").querySelector("title").textC ontent is "" 9 PASS document.implementation.createHTMLDocument("").querySelector("title").textC ontent is ""
10 PASS document.implementation.createHTMLDocument("x").querySelector("title").text Content is "x" 10 PASS document.implementation.createHTMLDocument("x").querySelector("title").text Content is "x"
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698