Closed
Bug 803490
Opened 12 years ago
Closed 12 years ago
System Message API: System App fails to receive system messages (follow-up)
Categories
(Firefox OS Graveyard :: Gaia, defect, P1)
Firefox OS Graveyard
Gaia
Tracking
(blocking-basecamp:+)
RESOLVED
FIXED
blocking-basecamp | + |
People
(Reporter: airpingu, Assigned: airpingu)
References
Details
(Keywords: regression, Whiteboard: QARegressExclude)
Attachments
(1 file)
190 bytes,
text/html
|
fabrice
:
review+
vingtetun
:
approval-gaia-v1+
|
Details |
This is a follow-up for fixing Bug 797803 that System App fails to receive system messages. Recently, it doesn't work again because of the check-in of Bug 801257 which did:
- if (msg.manifest != this._manifest)
+ if (msg.manifest != this._manifest || msg.uri != this._uri)
When doing .broadcastMessage():
this._uri: "app://system.gaiamobile.org/index.html"
msg.uri: "app://system.gaiamobile.org/"
The page URIs don't match! It seems this issue only happens in System App.
Assignee | ||
Comment 1•12 years ago
|
||
This should be a bb+ blocker which blocks Bug 797803.
Blocks: system-message-api, 797803
blocking-basecamp: --- → ?
Assignee | ||
Comment 2•12 years ago
|
||
Hi Fabrice,
This issue is very tricky. When starting up, the app will register all the messages based on the launch_path. When registering handlers, the app will register them based on the current page URI. Therefore, it'd be better to add the correct launch_path for System App so that it won't reject to handle the coming messages.
I think the previous change of matching page URIs is reasonable so I'd prefer keeping it and correcting the manifest part. Please let me know if you don't agree on this change.
Assignee: nobody → clian
Attachment #673178 -
Flags: review?(fabrice)
Comment 3•12 years ago
|
||
Comment on attachment 673178 [details]
Patch
I agree that this is a gaia issue.
Attachment #673178 -
Flags: review?(fabrice) → review+
Updated•12 years ago
|
Component: DOM → Gaia
Product: Core → Boot2Gecko
Version: Trunk → unspecified
Assignee | ||
Comment 4•12 years ago
|
||
Need help to merge the pull request. Thanks!
Keywords: checkin-needed
Comment 5•12 years ago
|
||
Comment on attachment 673178 [details]
Patch
Manifest change only. a=me.
Attachment #673178 -
Flags: approval-gaia-master+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•