Closed Bug 760011 Opened 12 years ago Closed 12 years ago

Make nsIMozSmsRequest inherit from nsIDOMDOMRequest

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: mounir, Assigned: mounir)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Attached patch Patch v1Splinter Review
So we are sure to share the same interface and be recognized as sharing it (|request instanceof DOMRequest| would return true). It seems to be a good compromise compared to the highly time consuming and risky work happening in bug 749086.
Attachment #628624 - Flags: review?(jonas)
Comment on attachment 628624 [details] [diff] [review]
Patch v1

Review of attachment 628624 [details] [diff] [review]:
-----------------------------------------------------------------

This seems fine, but is there a reason to keep the SmsRequest interface at all?
Attachment #628624 - Flags: review?(jonas) → review+
(In reply to Jonas Sicking (:sicking) Vacation June 11-22 from comment #1)
> Comment on attachment 628624 [details] [diff] [review]
> Patch v1
> 
> Review of attachment 628624 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> This seems fine, but is there a reason to keep the SmsRequest interface at
> all?

Getting ride of nsIDOMSmsRequest isn't a trival work. We have a bug for that but having nsIDOMSmsRequest inheriting from nsIDOMDOMRequest is a good middle ground. I wonder how important that would be to remove nsIDOMSmsRequest for v1 knowing those changes will need to be backed and might create regressions.
Target Milestone: --- → mozilla16
Attachment #628624 - Flags: checkin+
It's definitely not important. I just figured a search'n'replace would work, but if there's non-trivial work involved here I agree we should punt.
https://hg.mozilla.org/mozilla-central/rev/5a489379b537
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: