commit | 2838dd71b6be5ec2a6dba100038351bcda2f5eb0 | [log] [tgz] |
---|---|---|
author | Kenichi Ishibashi <bashi@chromium.org> | Mon Jul 09 03:53:17 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jul 09 03:53:17 2018 |
tree | 3dca0d05033f10a0d3ed99ad5bbd808bffb5efe9 | |
parent | f721bbdf94479979077874ff12000e39c8d40d5a [diff] |
service worker: Add UseCounter for importScripts() after main script installation Currently we allow importScripts() to load a new script after service worker's installation. According to the spec we should throw a TypeError in such case. We want to change the behavior but it seems that some sites depend on the current behavior so changing the behavior is a bit risky at this point. This CL add a UseCounter to track such usage. Bug: 852666, 719052 Change-Id: I3e5748a7ce037be75f4f2dfa965d8cb34df9b9bc Reviewed-on: https://chromium-review.googlesource.com/1126799 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#573209}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .