Index: chrome/test/data/extensions/api_test/browser_action/rect_icon/background.js |
diff --git a/chrome/test/data/extensions/api_test/browser_action/rect_icon/background.js b/chrome/test/data/extensions/api_test/browser_action/rect_icon/background.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a9b1efb46ea06b07fe99e7d53b7049d2b7cde79 |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/browser_action/rect_icon/background.js |
@@ -0,0 +1,10 @@ |
+// Copyright 2016 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.sendMessage('ready', function() { |
+ chrome.browserAction.setIcon({path: 'rectangle.png'}, function() { |
+ chrome.test.assertNoLastError(); |
+ chrome.test.succeed(); |
+ }); |
+}); |