[tbb-commits] [torbutton/master] Comment that the on-datatransfer-available API is the new one.

mikeperry at torproject.org mikeperry at torproject.org
Tue Sep 30 01:47:01 UTC 2014


commit 6961e6b8ccd8846638be39a426f42c61f013fc47
Author: Mike Perry <mikeperry-git at torproject.org>
Date:   Mon Sep 29 18:46:33 2014 -0700

    Comment that the on-datatransfer-available API is the new one.
---
 src/components/external-app-blocker.js |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/components/external-app-blocker.js b/src/components/external-app-blocker.js
index aed25ce..cabd72b 100644
--- a/src/components/external-app-blocker.js
+++ b/src/components/external-app-blocker.js
@@ -205,6 +205,8 @@ ExternalWrapper.prototype =
   },
 
   observe: function(subject, topic, data) {
+    // XXX: The on-modify-drag-list is TBB specific and can be removed.
+    // FF31 added the on-datatransfer-available observer instead.
     if (topic == "on-modify-drag-list") {
       this.logger.log(3, "Got drag observer event");
       try {



More information about the tbb-commits mailing list