Closed
Bug 554400
Opened 15 years ago
Closed 15 years ago
Convert search.xml to use api from bug 545714
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
FIXED
People
(Reporter: enndeakin, Assigned: enndeakin)
References
Details
Attachments
(1 file, 2 obsolete files)
4.87 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Attachment #434288 -
Flags: review?(rflint)
Comment 1•15 years ago
|
||
Can we add a test for search bar dropping, too?
Assignee | ||
Updated•15 years ago
|
Attachment #434288 -
Flags: review?(rflint)
Assignee | ||
Comment 2•15 years ago
|
||
That previous patch was completely wrong. Here is the real version.
Attachment #434288 -
Attachment is obsolete: true
Attachment #434860 -
Flags: review?(gavin.sharp)
Comment 3•15 years ago
|
||
Comment on attachment 434860 [details] [diff] [review]
version 2
This patch applied on top of attachment 434292 [details] [diff] [review] seems to break drag-to-search (the text is dropped but no search is triggered). search.xml's drop handler just isn't called.
The test should probably cover that... I guess that's a bit of a pain since you'd need a search engine that doesn't hit the network, but you can do that relatively easily the same way e.g. browser_415700.js does. You should probably also do the test in a new tab to avoid interfering with other tests.
Attachment #434860 -
Flags: review?(gavin.sharp) → review-
Assignee | ||
Comment 4•15 years ago
|
||
Looks like there is also a dependency on the patch in bug 539476 as well. Otherwise the default editor listener will respond instead. This is likely why the original code used a capturing listener. The patch in bug 539476 changes the editor listeners to respond during the system group phase so that they act more like default handlers.
Depends on: 539476
Comment 5•15 years ago
|
||
Comment on attachment 434860 [details] [diff] [review]
version 2
OK, r=me with the test changes (doing the test in a new tab at the very least, since as it is now the test causes a load of Google and doesn't clean it up).
Attachment #434860 -
Flags: review- → review+
Assignee | ||
Comment 6•15 years ago
|
||
Adjust test to check if the search starts a load. Uses an existing test which already creates some new tabs.
Attachment #434860 -
Attachment is obsolete: true
Assignee | ||
Comment 7•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
i suppose we can dupe Bug 545122 to this one(?)...
You need to log in
before you can comment on or make changes to this bug.
Description
•