------- Additional Comments from Philipp von Weitershausen [:philikon]
<phi...@weitershausen.de>
Review of attachment 616072:
-----------------------------------------------------------------
Looks good to me! Paging sicking for super review on the interface changes.
::: dom/telephony/TelephonyCall.cpp
@@ +82,5 @@
> + nsRefPtr<CallEvent> event = CallEvent::Create(this);
> + NS_ASSERTION(event, "This should never fail!");
> +
> + if (NS_FAILED(event->Dispatch(ToIDOMEventTarget(),
> + NS_LITERAL_STRING("error")))) {
nit: align arguments
bugzill...@mozilla.org
unread,
Apr 30, 2012, 6:00:08 PM4/30/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
------- Additional Comments from Jonas Sicking (:sicking) <jo...@sicking.cc>
Review of attachment 616072:
-----------------------------------------------------------------
Let's make the nsIDOMTelephonyCall.error property an nsIDOMError (which
currently is just an object with a single string property on it, so you can
keep all the same logic and error values). That way we can add further
technical information in the future about the error if we want to. And checking
if something went wrong would still just be