Update web-platform-tests to revision 53f3408ffe1fd0e56a37aff4aaf1fa8441c41d6d

This commit is contained in:
Ms2ger 2016-07-12 09:30:50 +02:00
parent 9b01a4cc97
commit 0edf0ececb
59 changed files with 2247 additions and 1071 deletions

View file

@ -471,6 +471,11 @@ policies and contribution forms [3].
self instanceof ServiceWorkerGlobalScope) {
return new ServiceWorkerTestEnvironment();
}
if ('WorkerGlobalScope' in self &&
self instanceof WorkerGlobalScope) {
return new DedicatedWorkerTestEnvironment();
}
throw new Error("Unsupported test environment");
}