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

Unified Diff: chrome/test/data/extensions/api_test/push_messaging/event_dispatch.js

Issue 10920084: don't display platform app resources in normal browser windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forgot to add Created 8 years, 2 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/extensions/api_test/push_messaging/event_dispatch.js
diff --git a/chrome/test/data/extensions/api_test/push_messaging/event_dispatch.js b/chrome/test/data/extensions/api_test/push_messaging/event_dispatch.js
deleted file mode 100644
index 8c81771924217e458e6936b438f9069a485f7f3c..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/push_messaging/event_dispatch.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-function verifyDetails(details) {
- chrome.test.assertEq(1, details.subchannelId);
- chrome.test.assertEq("payload", details.payload);
-}
-
-function testEventDispatch() {
- chrome.experimental.pushMessaging.onMessage.addListener(
- chrome.test.callbackPass(verifyDetails));
- chrome.test.sendMessage('ready');
-}
-
-chrome.test.runTests([testEventDispatch]);

Powered by Google App Engine
This is Rietveld 408576698