Closed marcoscaceres closed 10 years ago
Calling dial(null) results in null being converted to "null", which will be passed to the telephony system to deal with. It would be better to at least have it automatically converted to an empty string in WebIDL:
TelephonyCall dial ([TreatNullAs=EmptyString] DOMString remoteParty, optional DialParams params);
The dial() method needs to be redefined as treating null as an empty string. And the prose needs to say what to do with an empty string.
Agreed.
Closing.
Calling dial(null) results in null being converted to "null", which will be passed to the telephony system to deal with. It would be better to at least have it automatically converted to an empty string in WebIDL:
The dial() method needs to be redefined as treating null as an empty string. And the prose needs to say what to do with an empty string.