diff --git a/dom/webidl/DOMMMIError.webidl b/dom/webidl/DOMMMIError.webidl index cf3822c5e6c3..13fa22c4af4d 100644 --- a/dom/webidl/DOMMMIError.webidl +++ b/dom/webidl/DOMMMIError.webidl @@ -4,13 +4,15 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ -[JSImplementation="@mozilla.org/dom/mmi-error;1", +[Pref="dom.mobileconnection.enabled", Constructor(DOMString serviceCode, DOMString name, optional DOMString message = "", - optional DOMString additionalInformation = "")] + optional short? additionalInformation = null)] interface DOMMMIError : DOMError { + [Constant] readonly attribute DOMString serviceCode; - readonly attribute any additionalInformation; + [Constant] + readonly attribute short? additionalInformation; }; diff --git a/dom/webidl/moz.build b/dom/webidl/moz.build index ac1bd8d3e1e0..14c88bd62d47 100644 --- a/dom/webidl/moz.build +++ b/dom/webidl/moz.build @@ -84,7 +84,6 @@ WEBIDL_FILES = [ 'DOMError.webidl', 'DOMException.webidl', 'DOMImplementation.webidl', - 'DOMMMIError.webidl', 'DOMParser.webidl', 'DOMPoint.webidl', 'DOMQuad.webidl', @@ -544,6 +543,7 @@ if CONFIG['MOZ_B2G_BT']: if CONFIG['MOZ_B2G_RIL']: WEBIDL_FILES += [ + 'DOMMMIError.webidl', 'IccCardLockError.webidl', 'MozCellBroadcast.webidl', 'MozCellBroadcastEvent.webidl',