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

Unified Diff: chrome/test/data/extensions/api_test/messaging/connect/frame.js

Issue 709933002: Add frameId to MessageSender (extension messaging API) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test: sender.tab.status = 'complete' Created 6 years, 1 month 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/messaging/connect/frame.js
diff --git a/chrome/test/data/extensions/policy_shared_module/shared_module/pass.js b/chrome/test/data/extensions/api_test/messaging/connect/frame.js
similarity index 62%
copy from chrome/test/data/extensions/policy_shared_module/shared_module/pass.js
copy to chrome/test/data/extensions/api_test/messaging/connect/frame.js
index 2a344be5ca53dc39b0cd7a89c66d67ce05122c7c..34635bd50aa979ec65f18953c81022ea4246f406 100644
--- a/chrome/test/data/extensions/policy_shared_module/shared_module/pass.js
+++ b/chrome/test/data/extensions/api_test/messaging/connect/frame.js
@@ -2,4 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-var pass_exported = {};
+// continuation of testSendMessageFromFrame()
+chrome.runtime.sendMessage({frameUrl: location.href});

Powered by Google App Engine
This is Rietveld 408576698