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

Unified Diff: chrome/test/data/extensions/error_console/content_script_log_and_runtime_error/content_script.js

Issue 23007021: Report Javascript Runtime Errors to the Error Console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_ec_feldman
Patch Set: Created 7 years, 4 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/error_console/content_script_log_and_runtime_error/content_script.js
diff --git a/ui/base/cocoa/flipped_view.mm b/chrome/test/data/extensions/error_console/content_script_log_and_runtime_error/content_script.js
similarity index 59%
copy from ui/base/cocoa/flipped_view.mm
copy to chrome/test/data/extensions/error_console/content_script_log_and_runtime_error/content_script.js
index 57c16477a94b7b30f709bc71abbe10fe009b4ee8..ae581fbbb252c1007778277293a92728d1cbc7bd 100644
--- a/ui/base/cocoa/flipped_view.mm
+++ b/chrome/test/data/extensions/error_console/content_script_log_and_runtime_error/content_script.js
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ui/base/cocoa/flipped_view.h"
-
-@implementation FlippedView
-
-- (BOOL)isFlipped {
- return YES;
+function logHelloWorld() {
+ console.log("Hello, World!");
}
-@end
+logHelloWorld();
+
+var bar = undefined;
+bar.foo = 'baz';

Powered by Google App Engine
This is Rietveld 408576698