зеркало из https://github.com/mozilla/gecko-dev.git
Back out f9edb5fe8fb9 (bug 1198982) for webplatform registration.https.html failures
CLOSED TREE
This commit is contained in:
Родитель
f436371cbb
Коммит
700dfcd3d1
|
@ -1727,10 +1727,7 @@ ScriptExecutorRunnable::WorkerRun(JSContext* aCx, WorkerPrivate* aWorkerPrivate)
|
|||
if (NS_FAILED(loadInfo.mLoadResult)) {
|
||||
scriptloader::ReportLoadError(aCx, loadInfo.mURL, loadInfo.mLoadResult,
|
||||
false);
|
||||
// Top level scripts only!
|
||||
if (mIsWorkerScript) {
|
||||
aWorkerPrivate->MaybeDispatchLoadFailedRunnable();
|
||||
}
|
||||
aWorkerPrivate->MaybeDispatchLoadFailedRunnable();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,12 +6,6 @@ function callByScript() {
|
|||
importScripts(['importscript.sjs']);
|
||||
importScripts(['importscript.sjs']);
|
||||
|
||||
try {
|
||||
importScripts(['there-is-nothing-here.js']);
|
||||
} catch (ex) {
|
||||
// Importing a non-existent script should not abort the SW load, bug 1198982.
|
||||
}
|
||||
|
||||
onmessage = function(e) {
|
||||
self.clients.matchAll().then(function(res) {
|
||||
if (!res.length) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче