Skip to content

Commit 3922233

Browse files
Mike Perrypde
authored andcommitted
Merge part of NoScript 2.3.7 changes.
IOUtil.js and Thread.js got merged into the noscript service, but we want them to stay separate files I think (to ease future merging).
1 parent 21c6f17 commit 3922233

File tree

4 files changed

+293
-689
lines changed

4 files changed

+293
-689
lines changed

src/chrome/content/code/Cookie.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ Cookie.prototype = {
105105

106106
get cookieManager() {
107107
delete Cookie.prototype.cookieManager;
108-
var cman = CC["@mozilla.org/cookiemanager;1"]
109-
.getService(CI.nsICookieManager2).QueryInterface(CI.nsICookieManager);
108+
var cman = Cc["@mozilla.org/cookiemanager;1"]
109+
.getService(Ci.nsICookieManager2).QueryInterface(Ci.nsICookieManager);
110110
return Cookie.prototype.cookieManager = cman;
111111
},
112112
belongsTo: function(host, path) {
@@ -131,7 +131,7 @@ Cookie.prototype = {
131131
},
132132

133133
sameAs: function(c) {
134-
(c instanceof CI.nsICookie) && (c instanceof CI.nsICookie2);
134+
(c instanceof Ci.nsICookie) && (c instanceof Ci.nsICookie2);
135135
return Cookie.computeId(c) == this.id;
136136
},
137137

@@ -143,6 +143,6 @@ Cookie.prototype = {
143143
get isDomain() { return this.domain && this.domain[0] == '.'; },
144144
policy: 0,
145145
status: 0,
146-
QueryInterface: xpcom_generateQI([CI.nsICookie, CI.nsICookie2])
146+
QueryInterface: xpcom_generateQI([Ci.nsICookie, Ci.nsICookie2])
147147

148148
}

0 commit comments

Comments
 (0)