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

[tor-commits] [meek/webextension] Add MDN documentation link for onBeforeSendHeaders.



commit 2b42ef051e92ed245cb1c8dc4f4409f0df9599d0
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Mon Feb 18 15:39:57 2019 -0700

    Add MDN documentation link for onBeforeSendHeaders.
---
 webextension/background.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/webextension/background.js b/webextension/background.js
index 2bd0d11..664e758 100644
--- a/webextension/background.js
+++ b/webextension/background.js
@@ -180,6 +180,7 @@ async function roundtrip(request) {
 
     try {
         // Set our listener that overrides the headers for this request.
+        // https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onBeforeSendHeaders
         browser.webRequest.onBeforeSendHeaders.addListener(
             headersFn,
             {"urls": ["http://*/*";, "https://*/*"]},



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