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

Unified Diff: chrome/test/data/extensions/api_test/content_scripts/isolated_world2/a.js

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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/content_scripts/isolated_world2/a.js
diff --git a/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/a.js b/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/a.js
index 394feeedf340ec3650862a7aa1fbd7891873198d..05ec1eec82a7576aca4a900f50df87c295e0b8bc 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/a.js
+++ b/chrome/test/data/extensions/api_test/content_scripts/isolated_world2/a.js
@@ -1,3 +1,7 @@
+// Copyright (c) 2013 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.
+
// We should not be able to read the "num" variable which was defined in a.js
// from the "isolated world 1" extension.
-chrome.extension.connect().postMessage(typeof num == "undefined");
+chrome.runtime.connect().postMessage(typeof num == "undefined");

Powered by Google App Engine
This is Rietveld 408576698