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

Unified Diff: chrome/test/data/extensions/api_test/context_menus/event_page_item_ids/test.js

Issue 10454106: Dispatch a new event chrome.contextMenus.onClicked. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: names Created 8 years, 7 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/context_menus/event_page_item_ids/test.js
diff --git a/chrome/test/data/extensions/api_test/context_menus/event_page_item_ids/test.js b/chrome/test/data/extensions/api_test/context_menus/event_page_item_ids/test.js
deleted file mode 100644
index 119fd0c406aabd577cb859f7e60aa2baf884c933..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/context_menus/event_page_item_ids/test.js
+++ /dev/null
@@ -1,21 +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.
-
-chrome.test.runTests([
- function stringID() {
- var id1 = chrome.contextMenus.create(
- {"id": "id1", "title": "title1"}, function() {
- chrome.test.assertNoLastError();
- chrome.test.assertEq("id1", id1);
- chrome.contextMenus.remove("id1", chrome.test.callbackPass());
- });
- },
-
- function generatedID() {
- chrome.contextMenus.create(
- {"title": "title2"},
- chrome.test.callbackFail("Extensions using event pages must pass an " +
- "id parameter to chrome.contextMenus.create"));
- }
-]);

Powered by Google App Engine
This is Rietveld 408576698