Bug 1026727 - Part 1: The attributes of MozMobileNetworkInfo could be null, so the parameters of constructor should be nullable. r=hsinyi,smaug

This commit is contained in:
Edgar Chen 2014-06-18 15:54:01 +08:00
parent 1625faa549
commit df7dc8c6ae

View File

@ -5,8 +5,8 @@
enum MobileNetworkState {"available", "connected", "forbidden"};
[Pref="dom.mobileconnection.enabled",
ChromeConstructor(DOMString shortName, DOMString longName, DOMString mcc,
DOMString mnc, DOMString state)]
ChromeConstructor(DOMString? shortName, DOMString? longName, DOMString? mcc,
DOMString? mnc, DOMString? state)]
interface MozMobileNetworkInfo
{
/**