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

Unified Diff: LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value-expected.txt b/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value-expected.txt
index 96c05d19c2d6167591f02a9d3275e1c8351fd06d..37cf1bd5226521dfe5fed073dc73b881f921783b 100644
--- a/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value-expected.txt
+++ b/LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value-expected.txt
@@ -12,6 +12,7 @@ PASS dialog.returnValue is 'Return value set from close()'
PASS dialog.returnValue is ''
PASS dialog.returnValue is 'null'
PASS dialog.returnValue is 'Should not change because no argument to close()'
+PASS dialog.returnValue is 'Should not change because of undefined argument to close()'
PASS dialog.close('blah') threw exception InvalidStateError: Failed to execute 'close' on 'HTMLDialogElement': The element does not have an 'open' attribute, and therefore cannot be closed..
PASS dialog.returnValue is 'Should not change because close() is invalid'
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698