Skip to content

Commit

Permalink
Use USVString for URLs and origins in IDL
Browse files Browse the repository at this point in the history
Change node.baseURI, document.URL, document.documentURI, and document.origin to use USVString.
  • Loading branch information
zcorpan authored and annevk committed May 20, 2016
1 parent 58b19e4 commit 1bb85a4
Show file tree
Hide file tree
Showing 2 changed files with 379 additions and 229 deletions.
8 changes: 4 additions & 4 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3383,7 +3383,7 @@ interface Node : EventTarget {
readonly attribute unsigned short nodeType;
readonly attribute DOMString nodeName;

readonly attribute DOMString baseURI;
readonly attribute USVString baseURI;

readonly attribute boolean isConnected;
readonly attribute Document? ownerDocument;
Expand Down Expand Up @@ -4497,9 +4497,9 @@ object may be returned as returned by an earlier call.
Exposed=Window]
interface Document : Node {
[SameObject] readonly attribute DOMImplementation implementation;
readonly attribute DOMString URL;
readonly attribute DOMString documentURI;
readonly attribute DOMString origin;
readonly attribute USVString URL;
readonly attribute USVString documentURI;
readonly attribute USVString origin;
readonly attribute DOMString compatMode;
readonly attribute DOMString characterSet;
readonly attribute DOMString charset; // historical alias of .characterSet
Expand Down
Loading

0 comments on commit 1bb85a4

Please sign in to comment.