Bug 1137398 - disallow creating nested workers from ServiceWorker. r=baku

This commit is contained in:
Giovanny Andres Gongora Granada 2015-02-27 09:37:00 +01:00
Родитель 7d1e98f0c9
Коммит 8b59c15d45
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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 {
};