1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Clear out items from previous test.
6 chrome.contextMenus.removeAll();
8 // Create a bunch of items underneath an explicit parent.
9 var parent = chrome.contextMenus.create({"title":"parent"}, function() {
10 createTestSet(parent, function() {
11 chrome.test.sendMessage("test2 create finished");