mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Requests from clients that are not assigned a client ID by the browser
will produce `fetch` events with `null` or empty (`''`) `clientId`s.
Previously, the ServiceWorker only handled `null` values correctly. Yet
empty strings are also valid (see for example [here][1] and [there][2]).
With this commit, the SW will interpret _all_ falsy `clientId` values
the same (i.e. "no client ID assigned") and handle them appropriately.
Related Chromium issue/discussion: [#832105][3]
[1]:
|
||
|---|---|---|
| .. | ||
| adapter.ts | ||
| api.ts | ||
| app-version.ts | ||
| assets.ts | ||
| data.ts | ||
| database.ts | ||
| db-cache.ts | ||
| debug.ts | ||
| driver.ts | ||
| error.ts | ||
| idle.ts | ||
| manifest.ts | ||
| msg.ts | ||
| service-worker.d.ts | ||
| sha1.ts | ||