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

Unified Diff: chrome/test/data/extensions/api_test/uncaught_exception_logging/extension_page.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/extension_page.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/extension_page.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/extension_page.js
index d38d0a72a15cbe8162450011618cf80505685126..8ec94aaa0088237b84b832df521c8173d2e4abc1 100644
--- a/chrome/test/data/extensions/api_test/extension_options/close_self/options.js
+++ b/chrome/test/data/extensions/api_test/uncaught_exception_logging/extension_page.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 extension page.');

Powered by Google App Engine
This is Rietveld 408576698