Closed
Bug 610736
Opened 14 years ago
Closed 14 years ago
Port a number of recent places changes
Categories
(SeaMonkey :: Bookmarks & History, defect)
SeaMonkey
Bookmarks & History
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.1b2
People
(Reporter: kairo, Assigned: kairo)
References
Details
Attachments
(1 file)
25.33 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
I have a list of recent places changes in Firefox I need to go through and see to port them to SeaMonkey.
Assignee | ||
Comment 1•14 years ago
|
||
Note that bug 574688 is only on the list for the sidebar changes, which are independent of the actual statusbar-realted changes.
Depends on: 574688
Assignee | ||
Comment 2•14 years ago
|
||
Due to bug 611001 not having been done, I needed to add the .markPageAsFollowedLink() somewhere else but I seem to have found the right spot, so that the test succeeds. I hope the other changes are easy to verify and not too controversial...
Attachment #489558 -
Flags: review?(neil)
Assignee | ||
Comment 3•14 years ago
|
||
Oh, I forgot to mention that I took the chance to take care of the merging of the sidebarUtils as they have been practically identical for bookmarks and history anyhow.
As a side note, onBeforeLinkTraversal has been introduced for bug 575561, which is an app tab matter, but I saw errors in the console due to this method missing (when executing the markPageAsFollowedLink test), so I implemented it in a dummy version.
Comment 4•14 years ago
|
||
Comment on attachment 489558 [details] [diff] [review]
port those bugs
>+ // Called before links are navigated to to allow us to retarget them if needed.
>+ onBeforeLinkTraversal: function(originalTarget, linkURI, linkNode, isAppTab) {
>+ // We doesn't support app tabs yet but are seeing failures without this.
The method was added to nsIXULBrowserWindow.idl so a) the implementation belongs after setOverLink b) we don't need this comment but I guess you could add an nsIXULBrowserWindow heading instead to make it clearer.
>+ .filter(function (tag) tag.length > 0); // Kill empty tags.
[filter(function(tag) tag) would probably work.]
Attachment #489558 -
Flags: review?(neil) → review+
Assignee | ||
Comment 5•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1b2
You need to log in
before you can comment on or make changes to this bug.
Description
•