Bug 1218141 - Add some SameObject and NewObject annotations to ServiceWorkerGlobalScope; r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2015-10-24 22:46:16 -04:00
parent a8e646d8f9
commit 061f301a5d

View File

@ -13,10 +13,10 @@
[Global=(Worker,ServiceWorker),
Exposed=ServiceWorker]
interface ServiceWorkerGlobalScope : WorkerGlobalScope {
readonly attribute Clients clients;
readonly attribute ServiceWorkerRegistration registration;
[SameObject] readonly attribute Clients clients;
[SameObject] readonly attribute ServiceWorkerRegistration registration;
[Throws]
[Throws, NewObject]
Promise<boolean> skipWaiting();
attribute EventHandler oninstall;