| Index: modules/serviceworkers/InstallEvent.idl
|
| diff --git a/modules/serviceworkers/ServiceWorkerGlobalScope.idl b/modules/serviceworkers/InstallEvent.idl
|
| similarity index 87%
|
| copy from modules/serviceworkers/ServiceWorkerGlobalScope.idl
|
| copy to modules/serviceworkers/InstallEvent.idl
|
| index 3db592745d72a1a2e517c36087f6d19977ecaa38..9384e90def61a7cd3504df35782d3e34eac38134 100644
|
| --- a/modules/serviceworkers/ServiceWorkerGlobalScope.idl
|
| +++ b/modules/serviceworkers/InstallEvent.idl
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2013 Google Inc. All rights reserved.
|
| + * Copyright (C) 2014 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -27,12 +27,11 @@
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
| +
|
| [
|
| - GlobalContext=ServiceWorkerGlobalScope,
|
| RuntimeEnabled=ServiceWorker,
|
| -] interface ServiceWorkerGlobalScope : WorkerGlobalScope {
|
| - attribute EventHandler oninstall;
|
| - attribute EventHandler onactivate;
|
| - attribute EventHandler onfetch;
|
| + GlobalContext=ServiceWorkerGlobalScope,
|
| +] interface InstallEvent : InstallPhaseEvent {
|
| + void replace();
|
| + [CallWith=ExecutionContext] Promise reloadAll();
|
| };
|
| -
|
|
|