зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1137398 - disallow creating nested workers from ServiceWorker. r=baku
This commit is contained in:
Родитель
7d1e98f0c9
Коммит
8b59c15d45
|
@ -14,7 +14,7 @@
|
|||
|
||||
[Constructor(DOMString scriptURL),
|
||||
Func="mozilla::dom::workers::WorkerPrivate::WorkerAvailable",
|
||||
Exposed=(Window,Worker,System)]
|
||||
Exposed=(Window,DedicatedWorker,SharedWorker,System)]
|
||||
interface Worker : EventTarget {
|
||||
void terminate();
|
||||
|
||||
|
@ -28,6 +28,6 @@ Worker implements AbstractWorker;
|
|||
|
||||
[Constructor(DOMString scriptURL),
|
||||
Func="mozilla::dom::workers::ChromeWorkerPrivate::WorkerAvailable",
|
||||
Exposed=(Window,Worker,System)]
|
||||
Exposed=(Window,DedicatedWorker,SharedWorker,System)]
|
||||
interface ChromeWorker : Worker {
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче