Closed
Bug 927132
Opened 11 years ago
Closed 11 years ago
e10s: "chrome://browser/content/content.js: TypeError: Services.search is undefined" when reloading about:home
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 27
People
(Reporter: cpeterson, Assigned: billm)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
2.11 KB,
patch
|
mikedeboer
:
review+
|
Details | Diff | Splinter Review |
STR: 1. Run a debug build with e10s enabled from the command line 2. Load about:home 3. Watch stderr 4. Reload about:home RESULT: System JS : ERROR chrome://browser/content/content.js:91 TypeError: Services.search is undefined
Comment 2•11 years ago
|
||
How so? Does the global-sharing for content scripts work differently in e10s builds?
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to :Gavin Sharp (use gavin@gavinsharp.com for email) from comment #2) > How so? Does the global-sharing for content scripts work differently in e10s > builds? I'm not sure why the access is considered an error. That might be worth investigating, since we use Services elsewhere in that file. The problem I was worried about is that Services.search.defaultEngine will (I assume) only be correct in the parent process, so we should be sending its value in a message from the parent. I'll try to look at this more closely next week.
Comment 4•11 years ago
|
||
Oh, I see - the search service initialization in the child must be failing for some reason.
Assignee | ||
Comment 5•11 years ago
|
||
I just passed the search engine name down from the parent.
Comment 7•11 years ago
|
||
Comment on attachment 821368 [details] [diff] [review] fix-about-home Review of attachment 821368 [details] [diff] [review]: ----------------------------------------------------------------- LGTM, thanks for working on this!
Attachment #821368 -
Flags: review?(mdeboer) → review+
Comment 8•11 years ago
|
||
I filed bug 930456 to cover the general problem of the search service not working in child processes.
Assignee | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c6a4d3416d87
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c6a4d3416d87
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
You need to log in
before you can comment on or make changes to this bug.
Description
•