| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl
|
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl
|
| index 36f21a7d3a235cd6e25c37eb1af839bc06cf41f1..bf05e0004617fa6b14bc0d29b4ec02a0951af293 100644
|
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl
|
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerContainer.idl
|
| @@ -30,13 +30,13 @@
|
|
|
| // https://w3c.github.io/ServiceWorker/#service-worker-container-interface
|
| interface ServiceWorkerContainer : EventTarget {
|
| - readonly attribute ServiceWorker? controller;
|
| - [CallWith=ScriptState] readonly attribute Promise<ServiceWorkerRegistration> ready;
|
| + [Measure] readonly attribute ServiceWorker? controller;
|
| + [Measure, CallWith=ScriptState] readonly attribute Promise<ServiceWorkerRegistration> ready;
|
|
|
| - [CallWith=ScriptState, ImplementedAs=registerServiceWorker] Promise<ServiceWorkerRegistration> register(USVString url, optional RegistrationOptions options);
|
| - [CallWith=ScriptState] Promise<ServiceWorkerRegistration> getRegistration(optional USVString documentURL = "");
|
| - [CallWith=ScriptState] Promise<sequence<ServiceWorkerRegistration>> getRegistrations();
|
| + [Measure, CallWith=ScriptState, ImplementedAs=registerServiceWorker] Promise<ServiceWorkerRegistration> register(USVString url, optional RegistrationOptions options);
|
| + [Measure, CallWith=ScriptState] Promise<ServiceWorkerRegistration> getRegistration(optional USVString documentURL = "");
|
| + [Measure, CallWith=ScriptState] Promise<sequence<ServiceWorkerRegistration>> getRegistrations();
|
|
|
| - attribute EventHandler oncontrollerchange;
|
| - attribute EventHandler onmessage;
|
| + [Measure] attribute EventHandler oncontrollerchange;
|
| + [Measure] attribute EventHandler onmessage;
|
| };
|
|
|