Closed
Bug 1697381
Opened 3 years ago
Closed 3 years ago
Stop hardcoding the actor name in ContentSearch
Categories
(Firefox :: Search, task)
Firefox
Search
Tracking
()
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: hectorz, Assigned: hectorz)
Details
Attachments
(1 file)
In the JSWindowActor conversion of ContentSearch
, "ContentSearch" was hardcoded as the actor name in 1.
In China repack of desktop Fx, we're shipping a web-hosted fork of activity-stream 2 as our customized new tab, and subclasses of ContentSearchParent
& ContentSearchChild
are created in our extension to give the web page access to ContentSearch messages. 3
Since our forked page is loaded in normal web processes, once bug 1513680 landed, we had to monkey patch ContentSearch._reply
4 to keep it working.
I think passing the actual actor
as part of the eventItem
and _reply
with it instead of using browser
indirectly would eliminate the need for my monkey patch, and I'm hoping this is a minimal enough patch that you're open to take.
Thanks!
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → bzhao
Status: NEW → ASSIGNED
Pushed by archaeopteryx@coole-files.de: https://hg.mozilla.org/integration/autoland/rev/79d7d75d7308 Stop hardcoding the actor name in ContentSearch. r=adw
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox88:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•