Index: chrome/test/data/extensions/platform_apps/context_menu/test.js |
diff --git a/chrome/test/data/extensions/platform_apps/context_menu/test.js b/chrome/test/data/extensions/platform_apps/context_menu/test.js |
index c3280a02b873831a8480028c265dd9a7db86242d..3deca7854836b5506532fde74bc9d8d737d6b1bf 100644 |
--- a/chrome/test/data/extensions/platform_apps/context_menu/test.js |
+++ b/chrome/test/data/extensions/platform_apps/context_menu/test.js |
@@ -3,11 +3,11 @@ |
// found in the LICENSE file. |
chrome.app.runtime.onLaunched.addListener(function() { |
- chrome.contextMenus.create({ |
- id: 'id1', |
- title: 'Extension Item 1', |
- }, |
- function() { |
- chrome.app.window.create('main.html', {}, function() {}); |
- }); |
+ chrome.contextMenus.create({title: 'Extension Item 1', |
+ id: 'id1'}, function() { |
+ chrome.contextMenus.create({title: 'Extension Item 2', |
+ id: 'id2'}, function() { |
+ chrome.app.window.create('main.html', {}, function() {}); |
+ }); |
+ }); |
}); |