File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 11* ~
22chromium.pem
33dummy-chromium.pem
4- pkg /crx
5- pkg /* .crx
6- pkg /* .xpi
4+ pkg /
75src /chrome /content /rules /default.rulesets
86src /defaults /rulesets.sqlite
97* .swp
Original file line number Diff line number Diff line change @@ -29,7 +29,18 @@ const HTTPS = {
2929 httpsForced : null ,
3030 httpsForcedExceptions : null ,
3131 httpsRewrite : null ,
32-
32+
33+ /**
34+ * Given a channel and a list of potentially applicable rules,
35+ * redirect or abort a request if appropriate.
36+ *
37+ * @param {RuleSet[] } applicable_list A list of potentially applicable rules
38+ * (i.e. those that match on a hostname basis).
39+ * @param {nsIChannel } channel The channel to be manipulated.
40+ * @param {boolean } httpNowhereEnabled Whether to abort non-https requests.
41+ * @returns {boolean } True if the request was redirected; false if it was
42+ * untouched or aborted.
43+ */
3344 replaceChannel : function ( applicable_list , channel , httpNowhereEnabled ) {
3445 var blob = HTTPSRules . rewrittenURI ( applicable_list , channel . URI . clone ( ) ) ;
3546 if ( blob === null ) {
Original file line number Diff line number Diff line change @@ -533,7 +533,6 @@ SSLObservatory.prototype = {
533533 file . initWithPath ( this . HTTPSEverywhere . rw . chromeToPath ( loc ) ) ;
534534 var data = this . HTTPSEverywhere . rw . read ( file ) ;
535535 this . whitelist = JSON . parse ( data ) ;
536- this . log ( DBUG , "yay\n" + data ) ;
537536 } ,
538537
539538 saveCertWhitelist : function ( ) {
You can’t perform that action at this time.
0 commit comments