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

Unified Diff: chrome/test/data/extensions/api_test/uncaught_exception_logging/content_script.js

Issue 678393002: Send extension console messages to the right WebFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add the missing copyright notice. 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/uncaught_exception_logging/content_script.js
diff --git a/chrome/test/data/extensions/api_test/extension_options/close_self/options.js b/chrome/test/data/extensions/api_test/uncaught_exception_logging/content_script.js
similarity index 74%
copy from chrome/test/data/extensions/api_test/extension_options/close_self/options.js
copy to chrome/test/data/extensions/api_test/uncaught_exception_logging/content_script.js
index d38d0a72a15cbe8162450011618cf80505685126..7384e61d822e6122d70088429779acd8ea82e38c 100644
--- a/chrome/test/data/extensions/api_test/extension_options/close_self/options.js
+++ b/chrome/test/data/extensions/api_test/uncaught_exception_logging/content_script.js
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-window.close();
+throw new Error("Exception thrown in injected script.");
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/extensions/api_test/uncaught_exception_logging/extension_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698