Chromium Code Reviews| Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.cpp |
| diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.cpp |
| index 4a37638130145923ce250a1cc8d45c88971d5fdf..36c64ca56907e258b76fb841db4bac949d656f77 100644 |
| --- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.cpp |
| +++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerError.cpp |
| @@ -55,6 +55,7 @@ DOMException* ServiceWorkerError::take(ScriptPromiseResolver*, const WebServiceW |
| case WebServiceWorkerError::ErrorTypeDisabled: |
| return createException(NotSupportedError, "Service Worker support is disabled.", webError.message); |
| case WebServiceWorkerError::ErrorTypeInstall: |
| + case WebServiceWorkerError::ErrorTypeScriptEvaluateFailed: |
|
falken
2016/06/14 02:27:53
The SERVICE_WORKER_ERROR_SCRIPT_EVALUATE_FAILED er
e_hakkinen
2016/06/16 20:55:14
This is mainly for not to break other callers of t
falken
2016/06/17 02:12:14
It'd be unfortunate for each callsite to have to s
|
| // FIXME: Introduce new InstallError type to ExceptionCodes? |
| return createException(AbortError, "The Service Worker installation failed.", webError.message); |
| case WebServiceWorkerError::ErrorTypeNavigation: |