зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1490165 - WorkerPrivate must set the CSPEventListener at any CSP internal object, r=ckerschb
This commit is contained in:
Родитель
837724b74a
Коммит
37f2c6d44d
|
@ -3450,6 +3450,10 @@ WorkerPrivate::EnsureCSPEventListener()
|
|||
return false;
|
||||
}
|
||||
|
||||
if (mLoadInfo.mCSP) {
|
||||
mLoadInfo.mCSP->SetEventListener(mCSPEventListener);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
[dedicated-script.html]
|
||||
expected: ERROR
|
||||
[`setTimeout([string\])` blocked in blob:]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Cross-origin `importScripts()` blocked in http:]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче