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

Unified Diff: Source/core/frame/Window.idl

Issue 142263002: Make Window.alert/confirm/prompt default values the empty string (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: sync test expectation Created 6 years, 11 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 | « LayoutTests/fast/dom/Window/alert-undefined-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Window.idl
diff --git a/Source/core/frame/Window.idl b/Source/core/frame/Window.idl
index 64f653dcd1de84004189f1bb0cdc62955473d1cd..3cd2be218175de831ebee12edf7aba473745583f 100644
--- a/Source/core/frame/Window.idl
+++ b/Source/core/frame/Window.idl
@@ -65,10 +65,10 @@
optional any dialogArgs,
optional DOMString featureArgs);
- void alert([Default=Undefined] optional DOMString message);
- boolean confirm([Default=Undefined] optional DOMString message);
- [TreatReturnedNullStringAs=Null] DOMString prompt([Default=Undefined] optional DOMString message,
- [TreatNullAs=NullString, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString defaultValue);
+ void alert([Default=NullString] optional DOMString message);
+ boolean confirm([Default=NullString] optional DOMString message);
+ [TreatReturnedNullStringAs=Null] DOMString prompt([Default=NullString] optional DOMString message,
+ [Default=NullString] optional DOMString defaultValue);
boolean find([Default=Undefined] optional DOMString string,
[Default=Undefined] optional boolean caseSensitive,
« no previous file with comments | « LayoutTests/fast/dom/Window/alert-undefined-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698