зеркало из https://github.com/mozilla/pjs.git
bug 91881, js error, r=matt, sr=blake
This commit is contained in:
Родитель
1cd40badac
Коммит
cda08d9a82
|
@ -70,7 +70,7 @@
|
|||
// perform a Cookie or Image action
|
||||
function CookieImageAction(action) {
|
||||
|
||||
if (!("_content" in window)) {
|
||||
if (!("_content" in window) || !window._content) {
|
||||
// this occurs if doing tasks->privacy->cookie->block from java console
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
// perform a Cookie or Image action
|
||||
function CookieImageAction(action) {
|
||||
|
||||
if (!("_content" in window)) {
|
||||
if (!("_content" in window) || !window._content) {
|
||||
// this occurs if doing tasks->privacy->cookie->block from java console
|
||||
return;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче