Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9016)

Unified Diff: chrome/test/data/push_messaging/push_test.js

Issue 2697793004: Push API: Validate storage before returning cached subscriptions (Closed)
Patch Set: Comment out PUSH_GETREGISTRATION_STATUS_PUBLIC_KEY_UNAVAILABLE Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6dad4b3f1f3cd4934130479af904a04618559567..4ce6c0454d002a8c079aa9c6c082a9f51b3b3891 100644
--- a/chrome/test/data/push_messaging/push_test.js
+++ b/chrome/test/data/push_messaging/push_test.js
@@ -69,12 +69,9 @@ function replaceServiceWorker() {
function removeManifest() {
var element = document.querySelector('link[rel="manifest"]');
- if (element) {
+ if (element)
element.parentNode.removeChild(element);
- sendResultToTest('manifest removed');
- } else {
- sendResultToTest('unable to find manifest element');
- }
+ sendResultToTest('manifest removed');
}
function swapManifestNoSenderId() {

Powered by Google App Engine
This is Rietveld 408576698