Closed
Bug 817587
Opened 13 years ago
Closed 12 years ago
WebSMS: use MOZ_ASSERT instead of NS_ERROR in SmsManager::Observe()
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: vicamo, Unassigned)
References
Details
Comment 1•13 years ago
|
||
Doesn't that mean that any extension could crash Gecko by sending the appropriate notification without the appropriate object in it? Seems a bit extreme. Also, it might be a bit sensitive security-wise.
Extensions have complete and utter unlimited power to crash Gecko anytime. They can override arbitrary XPCOM class-ids or contract-ids. It's not something we're trying to protect against at all.
Sorry, that came across more abrupt than intended.
We can't protect against extensions crashing gecko given that they can override arbitrary XPCOM contracts/classids.
I also think that we shouldn't worry about people firing internal notifications with wrong data. Notifications cut very deep into gecko and trying to keep them as an "external" API where we can't trust that the caller will do the right thing is simply too hard.
Comment 4•13 years ago
|
||
Fair enough.
| Reporter | ||
Comment 5•12 years ago
|
||
There is no longer SmsManager. Removed in bug 891235.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•