Add test coverage for PushSubscriptionOptions.userVisibleOnly
This CL changes the Push API browser test suite to use the new
PushSubscriptionOptions dictionary instead of relying on the manifest
for providing the userVisibleOnly value. In order to make sure that we
don't break backwards compatibility, add a new test to cover that as well.
Additionally, Blink has switched over to the new methods, so get rid of
the old ones.
This CL is part of a series of four:
[1] https://codereview.chromium.org/
1047533002/
[2] https://codereview.chromium.org/
1043723003/
[3] https://codereview.chromium.org/
1044663002/
[4] This patch.
BUG=471534, 446883
Review URL: https://codereview.chromium.org/
1044673002
Cr-Commit-Position: refs/heads/master@{#328757}