Closed
Bug 1071112
Opened 11 years ago
Closed 11 years ago
JavaScript error: app://system.gaiamobile.org/js/rocketbar.js, line 325: TypeError: this._port.postMessage is not a function
Categories
(Firefox OS Graveyard :: Gaia::System::Browser Chrome, defect)
Tracking
(b2g-v2.1 fixed, b2g-v2.2 fixed)
RESOLVED
FIXED
2.1 S5 (26sep)
People
(Reporter: gwagner, Assigned: kgrandon)
Details
(Whiteboard: [systemsfe])
Attachments
(2 files)
Seen on current trunk with debug gecko build when opening rocket bar.
| Reporter | ||
Updated•11 years ago
|
Whiteboard: [systemsfe]
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → kgrandon
Status: NEW → ASSIGNED
Target Milestone: --- → 2.1 S5 (26sep)
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Comment 2•11 years ago
|
||
Comment on attachment 8493235 [details] [review]
Pull request - Part 1 - Change search initialization to be promise based
Hey guys - just looking for a review here from whoever has time. Thanks!
Attachment #8493235 -
Flags: review?(dale)
Attachment #8493235 -
Flags: review?(bfrancis)
Comment 3•11 years ago
|
||
Comment on attachment 8493235 [details] [review]
Pull request - Part 1 - Change search initialization to be promise based
Flagging a system app peer
Attachment #8493235 -
Flags: review?(bfrancis) → review?(21)
Updated•11 years ago
|
Component: Gaia::Search → Gaia::System::Browser Chrome
Comment 4•11 years ago
|
||
Comment on attachment 8493235 [details] [review]
Pull request - Part 1 - Change search initialization to be promise based
I think this looks good, needs a typo fixed before landing
Attachment #8493235 -
Flags: review?(dale) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8493235 [details] [review]
Pull request - Part 1 - Change search initialization to be promise based
Thanks, I'll fix it up.
Attachment #8493235 -
Flags: review?(21)
| Assignee | ||
Updated•11 years ago
|
Attachment #8493235 -
Attachment description: Github pull request → Pull request - Part 1 -Change search initialization to be promise based
| Assignee | ||
Comment 6•11 years ago
|
||
It turns out that the javascript error was actually masking a problem with the way that we listen to the open search event. If we guard this by only listening when the search window is open, it should resolve the issue. Isolating the patch here for ease of review - Alive, could you take a look? Thanks!
Attachment #8493976 -
Flags: review?(alive)
| Assignee | ||
Updated•11 years ago
|
Attachment #8493235 -
Attachment description: Pull request - Part 1 -Change search initialization to be promise based → Pull request - Part 1 - Change search initialization to be promise based
Comment 7•11 years ago
|
||
Comment on attachment 8493976 [details] [review]
Pull Request - Part 2 - Only listen to open-app when the search window is active
lgtm
Attachment #8493976 -
Flags: review?(alive) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Combined into one PR and landed: https://github.com/mozilla-b2g/gaia/commit/cecfee5ce9ab60cc59a9d24f9a1240eccb2cc094
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → fixed
Resolution: --- → FIXED
| Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 8493235 [details] [review]
Pull request - Part 1 - Change search initialization to be promise based
This would be good to uplift to prevent the error being logged, and helping us move faster on blockers in the future. This could also be masking some other issues in rocketbar as we're just blindly throwing errors. This could be a blocker from an engineering standpoint.
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Rocketbar feature work.
[User impact] if declined: Not sure, there is potential that this is masking problems though due to the fact that we're just throwing an exception when opening the rocketbar for the first time.
[Testing completed]: Manual and unit tests.
[Risk to taking this patch] (and alternatives if risky): Only touches Rocketbar code, so not a wide change, and tests are passing.
[String changes made]: No.
Attachment #8493235 -
Flags: approval-gaia-v2.1?(fabrice)
Updated•11 years ago
|
Attachment #8493235 -
Flags: approval-gaia-v2.1?(fabrice) → approval-gaia-v2.1+
Comment 10•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•