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

Unified Diff: Source/bindings/tests/idls/TestInterfaceConstructor.idl

Issue 112303003: IDL compiler: [Constructor] overloading (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Formatting Created 7 years 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/bindings/templates/methods.cpp ('k') | Source/bindings/tests/idls/TestInterfaceConstructor2.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/idls/TestInterfaceConstructor.idl
diff --git a/Source/bindings/tests/idls/TestInterfaceConstructor.idl b/Source/bindings/tests/idls/TestInterfaceConstructor.idl
index ef46b8a1387a0b567dae78a2ec07c174cc6135a4..a910a2bf849b271bde2a282c124255933f285984 100644
--- a/Source/bindings/tests/idls/TestInterfaceConstructor.idl
+++ b/Source/bindings/tests/idls/TestInterfaceConstructor.idl
@@ -28,7 +28,9 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// Note that length == 0 and overloaded; need other tests for other cases.
[
+ Constructor,
Constructor(
double doubleArg,
DOMString stringArg,
@@ -36,10 +38,7 @@
Dictionary dictionaryArg,
sequence<DOMString> sequenceStringArg,
optional Dictionary optionalDictionaryArg,
- [Default=Undefined] optional DOMString defaultUndefinedOptionalStringArg,
- [Default=NullString] optional DOMString defaultNullStringOptionalStringArg,
- [Default=Undefined] optional TestInterfaceEmpty optionalTestInterfaceEmptyArg,
- [Default=Undefined] optional Dictionary defaultUndefinedOptionalDictionaryArg),
+ [Default=Undefined] optional TestInterfaceEmpty optionalTestInterfaceEmptyArg),
ConstructorCallWith=ExecutionContext&Document,
MeasureAs=TestFeature,
RaisesException=Constructor,
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/idls/TestInterfaceConstructor2.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698