Ticket #6653: checkForBuggyDefaults.patch

File checkForBuggyDefaults.patch, 715 bytes (added by federico, 8 years ago)

the solving patch

  • src/chrome/content/code/HTTPSRules.js

    diff --git a/src/chrome/content/code/HTTPSRules.js b/src/chrome/content/code/HTTPSRules.js
    index d5225dd..82fffc9 100644
    a b const HTTPSRules = { 
    433433                       "YouMail (buggy)","StudiVZ (disabled)","Woot (broken)"];
    434434
    435435    var nonBuggy = 0;
    436     for (rulename in shouldBeOff) {
     436    for (var ruleindex in shouldBeOff) {
    437437      // Some of these shouldBeOff rules may be removed in the future, so
    438438      // tolerate their absence
     439      var rulename = shouldBeOff[ruleindex];
    439440      if (rulename in this.rulesetsByName) {
    440441        if (!this.rulesetsByName[rulename].active)
    441442          nonBuggy += 1;