Closed
Bug 895104
Opened 12 years ago
Closed 12 years ago
Call to non-existent DOMRequestIpcHelper.observe
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nsm, Assigned: justin.lebar+bug)
References
Details
Attachments
(1 file)
|
1.00 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
Bug 889984 moved some DOMRequestIpcHelper code into DOMRequestIpcMessageListener, including observe().
SystemMessageManager.observe() still has a call
this.__proto__.__proto__.observe.call(...)
which errors. cpeterson managed to hit this on Android. I'm surprised B2G hasn't been hit yet.
It seems to me this line should be removed. If I understand 889984 correctly, then it fixes the reason the line was added in bug 802564.
Updated•12 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Comment 1•12 years ago
|
||
I hit an undefined `this.__proto__.__proto__.observe` when porting desktop system messages (bug 868322) to Android (bug 895689).
Blocks: 895689
| Assignee | ||
Comment 2•12 years ago
|
||
I agree this line should go, but I'm confused as to why it's causing problems. The observer service should swallow errors thrown when it calls observers, so if the observer service is the only one calling observe(), this exception shouldn't matter.
Is this line called from elsewhere?
If this causes problems, we should backport to b2g18, so please advise.
| Assignee | ||
Comment 3•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Attachment #779259 -
Flags: review?(fabrice)
Updated•12 years ago
|
Attachment #779259 -
Flags: review?(fabrice) → review+
| Assignee | ||
Updated•12 years ago
|
Flags: needinfo?(nsm.nikhil)
| Assignee | ||
Comment 4•12 years ago
|
||
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → justin.lebar+bug
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 6•12 years ago
|
||
Justin,
I'm not sure what the ni? here is for. observe() is being called manually in SystemMessageManager, and not through observer service, but I see your patch already understood and fixed that.
Updated•12 years ago
|
Blocks: system-message-api
| Assignee | ||
Comment 7•12 years ago
|
||
Sorry to be unclear.
I'd like to know whether this line causes problems, or if it's just an innocuous error. If it causes problems, we need to backport to b2g18.
AFAICT the error is innocuous, but I wanted to check.
Comment 8•12 years ago
|
||
That line is the last execution of SystemMessageManager.observe() so it won't stop any codes after that. I think it's innocuous. Keeping that only in central should be fine.
| Reporter | ||
Comment 9•12 years ago
|
||
I'm going to go with Gene's judgement here, since I don't know the code that well.
Flags: needinfo?(nsm.nikhil)
You need to log in
before you can comment on or make changes to this bug.
Description
•