diff options
author | JustOff <Off.Just.Off@gmail.com> | 2019-03-13 19:37:03 +0200 |
---|---|---|
committer | JustOff <Off.Just.Off@gmail.com> | 2019-03-13 19:37:03 +0200 |
commit | 5890367d30702ff8f2fbb6fc28e6ecdd6d5b2b84 (patch) | |
tree | fcd18e16b5e5311e9219bdf87fdb36ca11844e9b /dom/webidl | |
parent | 3344c564a81c006633780542fa84bdbd69a51aac (diff) | |
download | UXP-5890367d30702ff8f2fbb6fc28e6ecdd6d5b2b84.tar UXP-5890367d30702ff8f2fbb6fc28e6ecdd6d5b2b84.tar.gz UXP-5890367d30702ff8f2fbb6fc28e6ecdd6d5b2b84.tar.lz UXP-5890367d30702ff8f2fbb6fc28e6ecdd6d5b2b84.tar.xz UXP-5890367d30702ff8f2fbb6fc28e6ecdd6d5b2b84.zip |
Rename "MozMap" to "record" in our IDL parser and IDL files
Diffstat (limited to 'dom/webidl')
-rw-r--r-- | dom/webidl/Headers.webidl | 2 | ||||
-rw-r--r-- | dom/webidl/InstallTrigger.webidl | 2 | ||||
-rw-r--r-- | dom/webidl/TestInterfaceJS.webidl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dom/webidl/Headers.webidl b/dom/webidl/Headers.webidl index 205ab9f9e..eef552a7f 100644 --- a/dom/webidl/Headers.webidl +++ b/dom/webidl/Headers.webidl @@ -8,7 +8,7 @@ * http://fetch.spec.whatwg.org/#headers-class */ -typedef (Headers or sequence<sequence<ByteString>> or MozMap<ByteString>) HeadersInit; +typedef (Headers or sequence<sequence<ByteString>> or record<ByteString, ByteString>) HeadersInit; enum HeadersGuardEnum { "none", diff --git a/dom/webidl/InstallTrigger.webidl b/dom/webidl/InstallTrigger.webidl index 789fb2bc4..68f48ddc6 100644 --- a/dom/webidl/InstallTrigger.webidl +++ b/dom/webidl/InstallTrigger.webidl @@ -57,7 +57,7 @@ interface InstallTriggerImpl { * A callback to call as each installation succeeds or fails * @return true if the installations were successfully started */ - boolean install(MozMap<(DOMString or InstallTriggerData)> installs, + boolean install(record<DOMString, (DOMString or InstallTriggerData)> installs, optional InstallTriggerCallback callback); /** diff --git a/dom/webidl/TestInterfaceJS.webidl b/dom/webidl/TestInterfaceJS.webidl index 1ca629c39..2cf8d701a 100644 --- a/dom/webidl/TestInterfaceJS.webidl +++ b/dom/webidl/TestInterfaceJS.webidl @@ -24,7 +24,7 @@ interface TestInterfaceJS : EventTarget { any pingPongObjectOrString((object or DOMString) objOrString); TestInterfaceJSDictionary pingPongDictionary(optional TestInterfaceJSDictionary dict); long pingPongDictionaryOrLong(optional (TestInterfaceJSUnionableDictionary or long) dictOrLong); - DOMString pingPongMap(MozMap<any> map); + DOMString pingPongMap(record<DOMString, any> map); long objectSequenceLength(sequence<object> seq); long anySequenceLength(sequence<any> seq); |