ServiceWorker: Remove |options| from ServiceWorkerRegistrationObjectInfo,
and add |scope| and |update_via_cache| instead.

Remove |options| from ServiceWorkerRegistrationObjectInfo, and add |scope|
and |update_via_cache| because ServiceWorkerRegistration doesn't need
the information of script type which is included in |options|.
Related unit tests are updated.

Spec: https://w3c.github.io/ServiceWorker/#serviceworkerregistration-interface

Bug: 824647
Change-Id: I9bb26a54807c2ee857bc1abe9a9c598be9f39b76
Reviewed-on: https://chromium-review.googlesource.com/c/1424599
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Asami Doi <d0iasm.pub@gmail.com>
Cr-Commit-Position: refs/heads/master@{#625024}
8 files changed