[Pkg-mozext-commits] [requestpolicy] 43/50: [fix] Add-on compatibility: Grab and Drag

David Prévot taffit at moszumanska.debian.org
Mon Jun 27 12:50:34 UTC 2016


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

taffit pushed a commit to branch master
in repository requestpolicy.

commit f138527356949b8df66565656ae7a0c0bc0bdc4a
Author: Martin Kimmerle <dev at 256k.de>
Date:   Sun Jun 26 12:19:34 2016 +0200

    [fix] Add-on compatibility: Grab and Drag
---
 ChangeLog.md                                | 1 +
 src/content/lib/request-processor.compat.js | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog.md b/ChangeLog.md
index c0f0409..0694fd1 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -8,6 +8,7 @@ Note: ChangeLogs for the source code and unit tests, both not relevant for
   * "about:blank" is now defined as an "internal" request and thus
     whitelisted (#784).
   * Add-on compatibility: rikaichan (#784)
+  * Add-on compatibility: Grab and Drag
 
 #### Version 1.0.beta12.1
 * bugfixes
diff --git a/src/content/lib/request-processor.compat.js b/src/content/lib/request-processor.compat.js
index e09a6b6..09bb4a3 100644
--- a/src/content/lib/request-processor.compat.js
+++ b/src/content/lib/request-processor.compat.js
@@ -90,6 +90,7 @@ RequestProcessor = (function(self) {
     idArray.push("keefox at chris.tomlinson"); // KeeFox
     idArray.push("jid1-TPTs1Z1UvUn2fA at jetpack"); // Enpass
     idArray.push("{0AA9101C-D3C1-4129-A9B7-D778C6A17F82}"); // rikaichan
+    idArray.push("{477c4c36-24eb-11da-94d4-00e08161165f}"); // Grab and Drag
 
     for (let id of idArray) {
       Logger.info(Logger.TYPE_INTERNAL, "Extension check: " + id);
@@ -209,6 +210,12 @@ RequestProcessor = (function(self) {
         compatibilityRules.push([null, "chrome://rikaichan/skin/", ext.name]);
         break;
 
+      case "{477c4c36-24eb-11da-94d4-00e08161165f}": // Grab and Drag
+        Logger.info(Logger.TYPE_INTERNAL,
+            "Using extension compatibility rules for: " + ext.name);
+        compatibilityRules.push([null, "chrome://grabanddrag/skin/", ext.name]);
+        break;
+
       default:
         Logger.severe(Logger.TYPE_INTERNAL,
             "Unhandled extension (id typo?): " + ext.name);

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



More information about the Pkg-mozext-commits mailing list