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

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

Issue 339683002: Revert of IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | « Source/core/frame/ConsoleBase.idl ('k') | Source/core/html/HTMLAudioElement.idl » ('j') | 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 c4f0bdc31871a9386f6172d5ac8e7599d2392f3e..7330f664b71b9ddcce0ba10252862b707d860151 100644
--- a/Source/core/frame/Window.idl
+++ b/Source/core/frame/Window.idl
@@ -69,9 +69,9 @@
void alert();
void alert(DOMString message);
- boolean confirm(optional DOMString message = null);
- [TreatReturnedNullStringAs=Null] DOMString prompt(optional DOMString message = null,
- optional DOMString defaultValue = null);
+ 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 | « Source/core/frame/ConsoleBase.idl ('k') | Source/core/html/HTMLAudioElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698