Extension SW - add test for ServiceWorkerRegistration.sync.
The test puts the sync manager to offline and mode and then requests
a sync through ServiceWorker. The ServiceWorker's onsync method
fires when we put the sync manager back to online mode.
BUG=
545535
Committed:
https://crrev.com/bd325ae36bddc7d929a3562a44c5061d7015841b
Cr-Commit-Position: refs/heads/master@{#360417}