mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
merge
This commit is contained in:
commit
c96dd004e2
@ -159,7 +159,6 @@ nsDOMWorkerFunctions::MakeTimeout(JSContext* aCx,
|
||||
NS_ASSERTION(worker, "This should be set by the DOM thread service!");
|
||||
|
||||
if (worker->IsCanceled()) {
|
||||
JS_ReportError(aCx, "Worker is canceled");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
@ -208,7 +207,6 @@ nsDOMWorkerFunctions::KillTimeout(JSContext* aCx,
|
||||
NS_ASSERTION(worker, "This should be set by the DOM thread service!");
|
||||
|
||||
if (worker->IsCanceled()) {
|
||||
JS_ReportError(aCx, "Worker is canceled");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
@ -237,7 +235,6 @@ nsDOMWorkerFunctions::LoadScripts(JSContext* aCx,
|
||||
NS_ASSERTION(worker, "This should be set by the DOM thread service!");
|
||||
|
||||
if (worker->IsCanceled()) {
|
||||
JS_ReportError(aCx, "Worker is canceled");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
@ -313,7 +310,6 @@ nsDOMWorkerFunctions::NewXMLHttpRequest(JSContext* aCx,
|
||||
NS_ASSERTION(worker, "This should be set by the DOM thread service!");
|
||||
|
||||
if (worker->IsCanceled()) {
|
||||
JS_ReportError(aCx, "Worker is canceled");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
@ -363,7 +359,6 @@ nsDOMWorkerFunctions::AtoB(JSContext* aCx,
|
||||
NS_ASSERTION(worker, "This should be set by the DOM thread service!");
|
||||
|
||||
if (worker->IsCanceled()) {
|
||||
JS_ReportError(aCx, "Worker is canceled");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
@ -385,7 +380,6 @@ nsDOMWorkerFunctions::BtoA(JSContext* aCx,
|
||||
NS_ASSERTION(worker, "This should be set by the DOM thread service!");
|
||||
|
||||
if (worker->IsCanceled()) {
|
||||
JS_ReportError(aCx, "Worker is canceled");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
@ -429,7 +423,6 @@ nsDOMWorkerFunctions::MakeNewWorker(JSContext* aCx,
|
||||
NS_ASSERTION(worker, "This should be set by the DOM thread service!");
|
||||
|
||||
if (worker->IsCanceled()) {
|
||||
JS_ReportError(aCx, "Worker is canceled");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
@ -523,7 +516,6 @@ nsDOMWorkerFunctions::CTypesLazyGetter(JSContext* aCx,
|
||||
NS_ASSERTION(worker->IsPrivileged(), "This shouldn't be possible!");
|
||||
|
||||
if (worker->IsCanceled()) {
|
||||
JS_ReportError(aCx, "Worker is canceled");
|
||||
return JS_FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user