Index: core/dom/URLUtils.idl |
diff --git a/core/dom/URLUtils.idl b/core/dom/URLUtils.idl |
index 5f0e115ab1229956fb0280bb2e5a03e6da5ef2e1..8826e1186ce302952acb7fec1aa2d509835909d8 100644 |
--- a/core/dom/URLUtils.idl |
+++ b/core/dom/URLUtils.idl |
@@ -23,26 +23,27 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// http://url.spec.whatwg.org/#urlutils |
+// https://url.spec.whatwg.org/#urlutils |
[ |
NoInterfaceObject, // Always used on target of 'implements' |
+ Exposed=(Window,Worker), |
] interface URLUtils { |
// FIXME: should be stringifier: http://crbug.com/306606 |
- // stringifier attribute ScalarValueString href; |
- attribute ScalarValueString href; |
- [NotEnumerable, ImplementedAs=href] ScalarValueString toString(); |
- readonly attribute ScalarValueString origin; |
+ // stringifier attribute USVString href; |
+ attribute USVString href; |
+ [NotEnumerable, ImplementedAs=href] USVString toString(); |
+ readonly attribute USVString origin; |
- attribute ScalarValueString protocol; |
- attribute ScalarValueString username; |
- attribute ScalarValueString password; |
- attribute ScalarValueString host; |
- attribute ScalarValueString hostname; |
- attribute ScalarValueString port; |
- attribute ScalarValueString pathname; |
- attribute ScalarValueString search; |
+ attribute USVString protocol; |
+ attribute USVString username; |
+ attribute USVString password; |
+ attribute USVString host; |
+ attribute USVString hostname; |
+ attribute USVString port; |
+ attribute USVString pathname; |
+ attribute USVString search; |
// Not yet implemented. |
// attribute URLSearchParams searchParams; |
- attribute ScalarValueString hash; |
+ attribute USVString hash; |
}; |