Index: Source/core/dom/URLQuery.idl |
diff --git a/Source/core/dom/URLUtilsReadOnly.idl b/Source/core/dom/URLQuery.idl |
similarity index 73% |
copy from Source/core/dom/URLUtilsReadOnly.idl |
copy to Source/core/dom/URLQuery.idl |
index 0d36b46d0af02d8746fe15e4cf40c085ee19b622..75b8d1b37684c3995f41bd1edc16273a21be43e8 100644 |
--- a/Source/core/dom/URLUtilsReadOnly.idl |
+++ b/Source/core/dom/URLQuery.idl |
@@ -24,18 +24,17 @@ |
*/ |
[ |
- NoInterfaceObject, |
- ImplementedAs=DOMURLUtilsReadOnly |
-] interface URLUtilsReadOnly { |
- readonly attribute DOMString href; |
+ Constructor(URLQuery init), |
+ Constructor(DOMString init), |
+ Constructor(), |
+ RuntimeEnabled=URLQuery |
+] interface URLQuery { |
+ void append(DOMString name, DOMString value); |
+ [ImplementedAs=deleteFunction] void delete(DOMString name); |
+ [TreatReturnedNullStringAs=Null] DOMString get(DOMString name); |
+ sequence<DOMString> getAll(DOMString name); |
+ boolean has(DOMString name); |
+ void set(DOMString name, DOMString value); |
- [NotEnumerable, ImplementedAs=href] DOMString toString(); |
- |
- readonly attribute DOMString protocol; |
- readonly attribute DOMString host; |
- readonly attribute DOMString hostname; |
- readonly attribute DOMString port; |
- readonly attribute DOMString pathname; |
- readonly attribute DOMString search; |
- readonly attribute DOMString hash; |
+ [NotEnumerable] DOMString toString(); |
}; |