Skip to content

Commit 55379a7

Browse files
authored
Remove document.origin
Use self.origin instead. Tests: web-platform-tests/wpt#20995. Closes #410.
1 parent 0913dac commit 55379a7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

dom.bs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4747,7 +4747,6 @@ interface Document : Node {
47474747
[SameObject] readonly attribute DOMImplementation implementation;
47484748
readonly attribute USVString URL;
47494749
readonly attribute USVString documentURI;
4750-
readonly attribute USVString origin;
47514750
readonly attribute DOMString compatMode;
47524751
readonly attribute DOMString characterSet;
47534752
readonly attribute DOMString charset; // historical alias of .characterSet
@@ -4854,9 +4853,6 @@ null if <var>event</var>'s {{Event/type}} attribute value is "<code>load</code>"
48544853
<dt><code><var>document</var> . {{Document/documentURI}}</code>
48554854
<dd>Returns <var>document</var>'s <a for=Document>URL</a>.
48564855

4857-
<dt><code><var>document</var> . {{Document/origin}}</code>
4858-
<dd>Returns <var>document</var>'s <a for=Document>origin</a>.
4859-
48604856
<dt><code><var>document</var> . {{Document/compatMode}}</code>
48614857
<dd>
48624858
Returns the string "<code>BackCompat</code>" if <var>document</var>'s
@@ -4887,10 +4883,6 @@ The <dfn attribute for=Document><code>URL</code></dfn> attribute's getter and
48874883
<dfn attribute for=Document><code>documentURI</code></dfn> attribute's getter must return the
48884884
<a for=Document>URL</a>, <a lt="URL serializer" spec=url>serialized</a>.
48894885

4890-
The <dfn attribute for=Document><code>origin</code></dfn> attribute's getter must return the
4891-
<a lt="serialization of an origin">serialization</a> of <a>context object</a>'s
4892-
<a for=Document>origin</a>.
4893-
48944886
The <dfn attribute for=Document><code>compatMode</code></dfn> attribute's getter must
48954887
return "<code>BackCompat</code>" if <a>context object</a>'s <a for=Document>mode</a> is
48964888
"<code>quirks</code>", and "<code>CSS1Compat</code>" otherwise.

0 commit comments

Comments
 (0)