[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 6961e6b8ccd8846638be39a426f42c61f013fc47
Author: Mike Perry <mikeperry-git@xxxxxxxxxxxxxx>
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 {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits