Speculatively connect to bookmarked sites on mousedown
Categories
(Firefox :: Bookmarks & History, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: florian, Assigned: janey)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxsearch] [fxperf:p3])
Attachments
(1 file)
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Comment 1•3 years ago
•
|
||
This should be behind a pref, a boolean browser.places.speculativeConnect.enabled would probably be fine, since it mirrors the browser.urlbar. one.
For testing, I assume here we'll add an helper method to PlacesUIUtils, the test can then use the Sinon library to replace the method with a Spy, and just check it's invoked.
We'd also support this only for views that allow a single selection, so menus and toolbars. The trees are often used to manage and move bookmarks around with D&D, and we don't want those actions to begin connections.
This is an example of how the Urlbar implements it: https://searchfox.org/mozilla-central/rev/dc323d0d9a3b722ca8ff0d1b2b752e5bd00dab9b/browser/components/urlbar/UrlbarUtils.jsm#728-730,753-757
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
bugherder |
Hello, would manual QA testing be needed for this issue? If yes, could you please provide the steps needed to properly verify this? Thank you.
Comment 6•3 years ago
|
||
(In reply to Ardelean Oana from comment #5)
Hello, would manual QA testing be needed for this issue? If yes, could you please provide the steps needed to properly verify this? Thank you.
I don't think we need manual QA, we have an automated test, it's a minor perf improvement that doesn't ideally show anything different to the user.
Updated•3 years ago
|
Updated•1 year ago
|
Description
•