diff --git a/index.html b/index.html index 2347c59..74e89ed 100644 --- a/index.html +++ b/index.html @@ -28,7 +28,7 @@

No Duplication

[Exposed=Window] interface Duplicated { attribute DOMString bar; - void doTheFoo(); + undefined doTheFoo(); }; dictionary Duplicated {}; @@ -38,10 +38,10 @@

No Cross Overload, I'm looking at you WebGL

       [Exposed=Window]
       interface BaseInterface {
-        void doTheFoo();
+        undefined doTheFoo();
       };
       interface mixin MyMixin {
-        void doTheFoo(DOMString foo);
+        undefined doTheFoo(DOMString foo);
       };
       BaseInterface includes MyMixin;
       
@@ -49,19 +49,21 @@

No Cross Overload, I'm looking at you WebGL

My [Constructor] interface

-      [Exposed=Window, Constructor] // cause merge conflict 7
+      [Exposed=Window] // cause merge conflict 7
       interface IHaveConstructor {
+        constructor();
         attribute DOMString bar;
-        void doTheFoo();
+        undefined doTheFoo();
       };
       

My Implicitly Exposed interface

+      [Exposed=Window]
       interface ImplicitlyExposed {
         attribute DOMString bar;
-        void doTheFoo();
+        undefined doTheFoo();
       };
       
@@ -71,8 +73,9 @@

My interface with optional dictionary argument

dictionary MyDictionary { DOMString myField; }; + [Exposed=Window] interface IUseTheDictionary { - void doTheFoo(MyDictionary dict); + undefined doTheFoo(optional MyDictionary dict = {}); }; @@ -82,7 +85,7 @@

My interface with incorrect nullable union

typedef (MyDictionary or DOMString) MyUnion; [Exposed=Window] interface IAlsoUseTheDictionary { - void doTheFoo(optional MyUnion? dict); + undefined doTheFoo(optional MyUnion? dict); };