angular-cn/packages/service-worker/worker/test
George Kalpakas 48214e2a05 fix(service-worker): ignore passive mixed content requests (#25994)
Although [passive mixed content][1] requests (like images) only produce
a warning without a ServiceWorker, fetching it via a ServiceWorker
results in an error. See
https://github.com/angular/angular/issues/23012#issuecomment-376430187
for more details.

This commit makes the ServiceWorker ignore such requests and let them be
handled by the browser directly to avoid breaking apps that would work
without the ServiceWorker.

[1]: https://developers.google.com/web/fundamentals/security/prevent-mixed-content/what-is-mixed-content#passive_mixed_content

Fixes #23012

PR Close #25994
2019-03-04 11:51:05 -08:00
..
BUILD.bazel test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags (#26471) 2018-10-23 08:57:42 -07:00
async.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
data_spec.ts feat(service-worker): add support for configuring navigations URLs (#23339) 2018-04-13 13:13:36 -07:00
happy_spec.ts fix(service-worker): ignore passive mixed content requests (#25994) 2019-03-04 11:51:05 -08:00
idle_spec.ts build: add bazel test rules for remainder of packages (#21053) 2017-12-22 13:10:51 -08:00
prefetch_spec.ts build: add bazel test rules for remainder of packages (#21053) 2017-12-22 13:10:51 -08:00