Skip to content

Commit ee6f16f

Browse files
yossikblickly
yossik
authored andcommitted
Add 'useCache' to the service worker registration options.
See w3c/ServiceWorker#893 (comment) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=141919403
1 parent d62a072 commit ee6f16f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: externs/browser/w3c_serviceworker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ ServiceWorkerContainer.prototype.oncontrollerchange;
219219
ServiceWorkerContainer.prototype.onerror;
220220

221221
/**
222-
* @typedef {{scope: string}}
222+
* @typedef {{scope: (string|undefined), useCache: (boolean|undefined)}}
223223
*/
224224
var RegistrationOptions;
225225

Diff for: src/com/google/javascript/jscomp/resources.json

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)