Update a test to use PushSubscription.getKey()
commit908a130993076bf98bb5db216bdec2a1919da88b
authorpeter <peter@chromium.org>
Thu, 27 Aug 2015 13:32:15 +0000 (27 06:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 27 Aug 2015 13:33:25 +0000 (27 13:33 +0000)
treef2bb5c851fa61ccc332fe09828230b5ccdfb6e30
parent1f075d8f8b4a68e972b2288807c74c629fb1946e
Update a test to use PushSubscription.getKey()

The PushSubscription.curve25519dh property is now exposed through a
getKey() method that takes the curve type as the first and only
argument. Update the test to use this instead.

This CL is part of a three-sided patch:
  [1] https://codereview.chromium.org/1309723004/
  [2] This CL.
  [3] https://codereview.chromium.org/1316693002/

BUG=486040

Review URL: https://codereview.chromium.org/1314893002

Cr-Commit-Position: refs/heads/master@{#345863}
chrome/test/data/push_messaging/push_test.js