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

Unified Diff: chrome/test/data/extensions/api_test/stubs/content_script.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: Created 7 years, 12 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/stubs/content_script.js
diff --git a/chrome/test/data/extensions/api_test/stubs/content_script.js b/chrome/test/data/extensions/api_test/stubs/content_script.js
index 1b3f2ebc9e695ccdb2179b1c11d37915c43a22cc..6994a468bd0fe58d4acbddb7329b899a938b1be6 100644
--- a/chrome/test/data/extensions/api_test/stubs/content_script.js
+++ b/chrome/test/data/extensions/api_test/stubs/content_script.js
@@ -79,7 +79,7 @@ function testPath(path, expectError) {
// to throw an error on access.
try {
if (typeof(module[parts[i]]) == "undefined" &&
- path != "extension.lastError" &&
+ path != "runtime.lastError" &&
path != "runtime.lastError" &&
path != "runtime.id") {
logToConsoleAndStdout(" fail (undefined and not throwing error): " +

Powered by Google App Engine
This is Rietveld 408576698