firefox-tabview.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 27 Aug 2010 08:29:01 +0200
changeset 147 519124a9ad2b
parent 145 6308a275f0a0
permissions -rw-r--r--
Add symbols txt file to buildsymbol archive (bmo#588129)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
145
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     1
# HG changeset patch
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     2
# Parent d4d706483e1378477430197d3366a6e4d6dbb9cd
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     3
tabview is part of Firefox and not GRE
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     4
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     5
diff --git a/browser/base/content/tabview/tabview.js b/browser/base/content/tabview/tabview.js
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     6
--- a/browser/base/content/tabview/tabview.js
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     7
+++ b/browser/base/content/tabview/tabview.js
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     8
@@ -1,15 +1,15 @@
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     9
 const Cc = Components.classes;
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    10
 const Ci = Components.interfaces;
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    11
 const Cu = Components.utils;
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    12
 
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    13
-Cu.import("resource://gre/modules/tabview/AllTabs.jsm");
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    14
-Cu.import("resource://gre/modules/tabview/groups.jsm");
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    15
-Cu.import("resource://gre/modules/tabview/utils.jsm");
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    16
+Cu.import("resource:///modules/tabview/AllTabs.jsm");
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    17
+Cu.import("resource:///modules/tabview/groups.jsm");
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    18
+Cu.import("resource:///modules/tabview/utils.jsm");
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    19
 Cu.import("resource://gre/modules/Services.jsm");
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    20
 Cu.import("resource://gre/modules/XPCOMUtils.jsm");
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    21
 
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    22
 XPCOMUtils.defineLazyGetter(this, "gWindow", function() {
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    23
   return window.QueryInterface(Ci.nsIInterfaceRequestor).
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    24
     getInterface(Ci.nsIWebNavigation).
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    25
     QueryInterface(Ci.nsIDocShell).
6308a275f0a0 Tabview resources are included with the wrong url. (bmo#589878)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    26
     chromeEventHandler.ownerDocument.defaultView;