Index: chrome/test/data/extensions/api_test/keybinding/continue_propagation/injected.js |
diff --git a/chrome/test/data/extensions/api_test/keybinding/continue_propagation/injected.js b/chrome/test/data/extensions/api_test/keybinding/continue_propagation/injected.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f8a66ffd0724d45ec61eb59833e3ec265bc81081 |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/keybinding/continue_propagation/injected.js |
@@ -0,0 +1,9 @@ |
+// Copyright 2014 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. |
+ |
+var port = chrome.extension.connect({name: 'continue_propagation'}); |
+document.body.addEventListener('keyup', function(evt) { |
+ if (evt.keyCode == 70 /* F */) |
+ port.postMessage({result: true}); |
+ }, true); |