Bug 1227206 - Location.assign and Location.replace should use USVStrings instead DOMStrings, r=bz
authorAndrea Marchesini <amarchesini@mozilla.com>
Mon, 23 Nov 2015 20:05:26 +0000
changeset 273870 adc09292d0240b3e5a39e633106545cd00364f4e
parent 273869 058e26487efa4bac4d6dd2b5d04e1168f14c735a
child 273871 50813b4c64c1355c895a78b372681c38a9391303
push id29715
push userkwierso@gmail.com
push dateTue, 24 Nov 2015 21:54:25 +0000
treeherdermozilla-central@d9243e369c22 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs1227206
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1227206 - Location.assign and Location.replace should use USVStrings instead DOMStrings, r=bz
dom/webidl/Location.webidl
--- a/dom/webidl/Location.webidl
+++ b/dom/webidl/Location.webidl
@@ -35,19 +35,19 @@ interface Location {
   [Throws]
            attribute USVString pathname;
   [Throws]
            attribute USVString search;
   [Throws]
            attribute USVString hash;
 
   [Throws, UnsafeInPrerendering]
-  void assign(DOMString url);
+  void assign(USVString url);
 
   [Throws, CrossOriginCallable, UnsafeInPrerendering]
-  void replace(DOMString url);
+  void replace(USVString url);
 
   // XXXbz there is no forceget argument in the spec!  See bug 1037721.
   [Throws, UnsafeInPrerendering]
   void reload(optional boolean forceget = false);
 
   // Bug 1085214 [SameObject] readonly attribute USVString[] ancestorOrigins;
 };