|
|
@ -1158,6 +1158,7 @@ define([
|
|
|
|
Nthen(function (waitFor2) {
|
|
|
|
Nthen(function (waitFor2) {
|
|
|
|
if (Worker) {
|
|
|
|
if (Worker) {
|
|
|
|
var w = waitFor2();
|
|
|
|
var w = waitFor2();
|
|
|
|
|
|
|
|
try {
|
|
|
|
worker = new Worker('/common/outer/testworker.js?' + urlArgs);
|
|
|
|
worker = new Worker('/common/outer/testworker.js?' + urlArgs);
|
|
|
|
worker.onerror = function (errEv) {
|
|
|
|
worker.onerror = function (errEv) {
|
|
|
|
errEv.preventDefault();
|
|
|
|
errEv.preventDefault();
|
|
|
@ -1170,6 +1171,10 @@ define([
|
|
|
|
w();
|
|
|
|
w();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
|
|
noWorker = true;
|
|
|
|
|
|
|
|
w();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (typeof(SharedWorker) !== "undefined") {
|
|
|
|
if (typeof(SharedWorker) !== "undefined") {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|