[Pkg-mozext-commits] [tabmixplus] 09/30: Follow up bug 1067042 - [e10s]bookmarking an e10s tab results in a blank name

David Prévot taffit at moszumanska.debian.org
Sun Jun 14 22:15:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 9442e23496b394ff44b29fecf8964702fbe2dcce
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Apr 1 23:48:43 2015 +0300

    Follow up bug 1067042 - [e10s]bookmarking an e10s tab results in a blank name
---
 chrome/content/places/places.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/places/places.js b/chrome/content/places/places.js
index 88a169d..00cce44 100644
--- a/chrome/content/places/places.js
+++ b/chrome/content/places/places.js
@@ -30,8 +30,9 @@ var TMP_Places = {
       // PlacesCommandHook exist on browser window
       if ("PlacesCommandHook" in window) {
          Tabmix.changeCode(PlacesCommandHook, "PlacesCommandHook.bookmarkPage")._replace(
-            /(webNav\.document\.)*title \|\| url\.spec;/,
-            'TMP_Places.getTabTitle(gBrowser.getTabForBrowser(aBrowser), url.spec) || $&'
+            /(webNav\.document\.)*title \|\| (url|uri)\.spec;/,
+            'TMP_Places.getTabTitle(gBrowser.getTabForBrowser(aBrowser), ' +
+            (Tabmix.isVersion(400) ? "uri" : "url") + '.spec) || $&'
          ).toCode();
 
          Tabmix.changeCode(PlacesCommandHook, "uniqueCurrentPages", {getter: true})._replace(

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list