| Index: chrome/test/data/push_messaging/push_test.js
|
| diff --git a/chrome/test/data/push_messaging/push_test.js b/chrome/test/data/push_messaging/push_test.js
|
| index 9a1336067db956d91f95e0205b977dca81d08427..73907ba5f1124e4b56e410bb4b720a00c39f1463 100644
|
| --- a/chrome/test/data/push_messaging/push_test.js
|
| +++ b/chrome/test/data/push_messaging/push_test.js
|
| @@ -112,19 +112,6 @@ function documentSubscribePush() {
|
| }).catch(sendErrorToTest);
|
| }
|
|
|
| -function documentSubscribePushBadKey() {
|
| - navigator.serviceWorker.ready.then(function(swRegistration) {
|
| - var invalidApplicationServerKey = new Uint8Array(300);
|
| - invalidApplicationServerKey.fill('0x05', 1, 300);
|
| - pushSubscriptionOptions.applicationServerKey =
|
| - invalidApplicationServerKey.buffer;
|
| - return swRegistration.pushManager.subscribe(pushSubscriptionOptions)
|
| - .then(function(subscription) {
|
| - sendResultToTest(subscription.endpoint);
|
| - });
|
| - }).catch(sendErrorToTest);
|
| -}
|
| -
|
| function workerSubscribePush() {
|
| // Send the message to the worker for it to subscribe
|
| navigator.serviceWorker.controller.postMessage({command: 'workerSubscribe'});
|
|
|