mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
rollback last commit (1843a139184a), it causes cookie unit test to fail
This commit is contained in:
parent
76d45e6917
commit
112006ce5f
@ -202,7 +202,7 @@ CookieStore.prototype = {
|
||||
var matchingCookie = null;
|
||||
while (iter.hasMoreElements()){
|
||||
let cookie = iter.getNext();
|
||||
if (cookie.QueryInterface( Ci.nsICookie2 ) ){
|
||||
if (cookie.QueryInterface( Ci.nsICookie ) ){
|
||||
// see if host:path:name of cookie matches GUID given in command
|
||||
let key = cookie.host + ":" + cookie.path + ":" + cookie.name;
|
||||
if (key == command.GUID) {
|
||||
@ -247,7 +247,7 @@ CookieStore.prototype = {
|
||||
var iter = this._cookieManager.enumerator;
|
||||
while (iter.hasMoreElements()) {
|
||||
var cookie = iter.getNext();
|
||||
if (cookie.QueryInterface( Ci.nsICookie2 )) {
|
||||
if (cookie.QueryInterface( Ci.nsICookie )) {
|
||||
// String used to identify cookies is
|
||||
// host:path:name
|
||||
if ( cookie.isSession ) {
|
||||
|
Loading…
Reference in New Issue
Block a user