ServiceWorker: Skip byte-for-byte comparison when a script type is
changed. Some tests in update-registration-with-type.https.html fail because a new worker is not created when a script type is changed and a script content is identical. This CL makes |skip_script_comparison_| true when a script type is same. Also, I replaced has_installed_version() newest_installed_version(). Bug: 824647 Change-Id: I755e3d031b97d6659a7a35a1f93f9acfc654368c Reviewed-on: https://chromium-review.googlesource.com/c/1312828 Commit-Queue: Asami Doi <asamidoi@google.com> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#604849}
Showing
Please register or sign in to comment