Skip to content

Commit

Permalink
Update some IDLs to match specs better.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky committed May 29, 2015
1 parent 075802c commit d6871fc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions ambient-light/idlharness.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<div id="log"></div>

<pre id="untested_idl">
[PrimaryGlobal]
interface Window {
};

Expand Down
1 change: 1 addition & 0 deletions animation-timing/idlharness.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ <h1>idlharness test</h1>
<p>This test validates the WebIDL included in the Timing control for script-based animations specification.</p>

<pre id='untested_idl' style='display:none'>
[PrimaryGlobal]
interface Window {
};
</pre>
Expand Down
6 changes: 5 additions & 1 deletion html/dom/interfaces.html
Original file line number Diff line number Diff line change
Expand Up @@ -2247,6 +2247,10 @@ <h1>HTML IDL tests</h1>
DataTransfer? dataTransfer;
};

// For purposes of this test, just treat WindowProxy as the same thing as
// Window.
typedef Window WindowProxy;

[PrimaryGlobal]
/*sealed*/ interface Window : EventTarget {
// the current browsing context
Expand Down Expand Up @@ -2274,7 +2278,7 @@ <h1>HTML IDL tests</h1>
[Replaceable] readonly attribute unsigned long length;
[Unforgeable] readonly attribute WindowProxy top;
attribute any opener;
readonly attribute WindowProxy parent;
[Replaceable] readonly attribute WindowProxy parent;
readonly attribute Element? frameElement;
WindowProxy open(optional DOMString url = "about:blank", optional DOMString target = "_blank", [TreatNullAs=EmptyString] optional DOMString features = "", optional boolean replace = false);
getter WindowProxy (unsigned long index);
Expand Down
1 change: 1 addition & 0 deletions navigation-timing/idlharness.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h1>Navigation Timing IDL tests</h1>

<pre id='untested_idl' style='display:none'>

[PrimaryGlobal]
interface Window {
};

Expand Down
1 change: 1 addition & 0 deletions proximity/idlharness.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<div id="log"></div>

<pre id="untested_idl">
[PrimaryGlobal]
interface Window {
};

Expand Down

0 comments on commit d6871fc

Please sign in to comment.