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

Unified Diff: chrome/test/data/extensions/api_test/bindings/message_sender/background.js

Issue 2208483002: Fix extension bindings injection for iframes (reland) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments, fixed lint Created 4 years, 4 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/bindings/message_sender/background.js
diff --git a/chrome/browser/resources/settings/printing_page/cups_printers.js b/chrome/test/data/extensions/api_test/bindings/message_sender/background.js
similarity index 62%
copy from chrome/browser/resources/settings/printing_page/cups_printers.js
copy to chrome/test/data/extensions/api_test/bindings/message_sender/background.js
index 7472b1f0d9a0dc654bf4f187ac8631d5a6b2a3fc..c323550da907240ba931b48266d7613001fd44d8 100644
--- a/chrome/browser/resources/settings/printing_page/cups_printers.js
+++ b/chrome/test/data/extensions/api_test/bindings/message_sender/background.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-Polymer({
- is: 'settings-cups-printers',
+chrome.test.sendMessage('sender_ready', function(id) {
+ chrome.runtime.sendMessage(id, 'from_sender');
});

Powered by Google App Engine
This is Rietveld 408576698