Index: core/dom/URLUtilsReadOnly.idl |
diff --git a/core/dom/URLUtilsReadOnly.idl b/core/dom/URLUtilsReadOnly.idl |
index 53301968132e7c215ff678072490888a9e2df51f..9f5aac017723744888f2b5b4d6e1133d11d028a7 100644 |
--- a/core/dom/URLUtilsReadOnly.idl |
+++ b/core/dom/URLUtilsReadOnly.idl |
@@ -23,22 +23,23 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// http://url.spec.whatwg.org/#urlutilsreadonly |
+// https://url.spec.whatwg.org/#urlutilsreadonly |
[ |
NoInterfaceObject, // Always used on target of 'implements' |
+ Exposed=(Window,Worker), |
] interface URLUtilsReadOnly { |
// FIXME: should be stringifier: http://crbug.com/306606 |
- // stringifier readonly attribute ScalarValueString href; |
- readonly attribute ScalarValueString href; |
- [NotEnumerable, ImplementedAs=href] ScalarValueString toString(); |
- readonly attribute ScalarValueString origin; |
+ // stringifier readonly attribute USVString href; |
+ readonly attribute USVString href; |
+ [NotEnumerable, ImplementedAs=href] USVString toString(); |
+ readonly attribute USVString origin; |
- readonly attribute ScalarValueString protocol; |
- readonly attribute ScalarValueString host; |
- readonly attribute ScalarValueString hostname; |
- readonly attribute ScalarValueString port; |
- readonly attribute ScalarValueString pathname; |
- readonly attribute ScalarValueString search; |
- readonly attribute ScalarValueString hash; |
+ readonly attribute USVString protocol; |
+ readonly attribute USVString host; |
+ readonly attribute USVString hostname; |
+ readonly attribute USVString port; |
+ readonly attribute USVString pathname; |
+ readonly attribute USVString search; |
+ readonly attribute USVString hash; |
}; |