Chromium Code Reviews

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

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/fileapi/File.cpp ('k') | Source/core/frame/History.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/ConsoleBase.idl
diff --git a/Source/core/frame/ConsoleBase.idl b/Source/core/frame/ConsoleBase.idl
index 96441fa7aed1a7d7f9a5623ed08e091ba3aedf44..b67acf5acddfd58481bc848a91ec80ac330f3e74 100644
--- a/Source/core/frame/ConsoleBase.idl
+++ b/Source/core/frame/ConsoleBase.idl
@@ -40,7 +40,7 @@
[CallWith=(ScriptArguments,ScriptState)] void dirxml();
[CallWith=(ScriptArguments,ScriptState)] void table();
[CallWith=(ScriptArguments,ScriptState)] void trace();
- [CallWith=(ScriptArguments,ScriptState), ImplementedAs=assertCondition] void assert([Default=Undefined] optional boolean condition);
+ [CallWith=(ScriptArguments,ScriptState), ImplementedAs=assertCondition] void assert(optional boolean condition);
[CallWith=(ScriptArguments,ScriptState)] void count();
[DeprecateAs=ConsoleMarkTimeline] void markTimeline(optional DOMString title = null);
« no previous file with comments | « Source/core/fileapi/File.cpp ('k') | Source/core/frame/History.idl » ('j') | no next file with comments »

Powered by Google App Engine