22// were applied, and which ones weren't but might have been, to the contents
33// of a given page (top level nsIDOMWindow)
44
5- serial_number = 0
5+ var serial_number = 0 ;
66
77function ApplicableList ( logger , doc , domWin ) {
88 this . domWin = domWin ;
99 this . uri = doc . baseURIObject . clone ( ) ;
1010 if ( ! this . uri ) {
1111 this . log ( WARN , "NULL CLONING URI " + doc ) ;
12- if ( doc )
12+ if ( doc )
1313 this . log ( WARN , "NULL CLONING URI " + doc . baseURIObject ) ;
14- if ( doc . baseURIObject )
14+ if ( doc . baseURIObject )
1515 this . log ( WARN , "NULL CLONING URI " + doc . baseURIObject . spec ) ;
1616 }
1717 this . home = doc . baseURIObject . spec ; // what doc we're housekeeping for
1818 this . log = logger ;
1919 this . active = { } ;
2020 this . breaking = { } ; // rulesets with redirection loops
2121 this . inactive = { } ;
22- this . moot = { } ; // rulesets that might be applicable but uris are already https
23- this . all = { } ; // active + breaking + inactive + moot
22+ this . moot = { } ; // rulesets that might be applicable but uris are already https
23+ this . all = { } ; // active + breaking + inactive + moot
2424 serial_number += 1 ;
2525 this . serial = serial_number ;
2626 this . log ( DBUG , "Alist serial #" + this . serial + " for " + this . home ) ;
@@ -32,10 +32,10 @@ ApplicableList.prototype = {
3232 // Empty everything, used when toggles occur in order to ensure that if
3333 // the reload fails, the resulting list is not eroneous
3434 this . active = { } ;
35- this . breaking = { } ;
35+ this . breaking = { } ;
3636 this . inactive = { } ;
37- this . moot = { } ;
38- this . all = { } ;
37+ this . moot = { } ;
38+ this . all = { } ;
3939 } ,
4040
4141 active_rule : function ( ruleset ) {
@@ -53,7 +53,6 @@ ApplicableList.prototype = {
5353 } ,
5454
5555 inactive_rule : function ( ruleset ) {
56-
5756 this . log ( INFO , "inactive rule " + ruleset . name + " in " + this . home + " -> " +
5857 this . domWin . document . baseURIObject . spec + " serial " + this . serial ) ;
5958 this . inactive [ ruleset . name ] = ruleset ;
0 commit comments