Index: chrome/test/data/webui/sample_failing.js |
diff --git a/chrome/test/data/webui/sample_failing.js b/chrome/test/data/webui/sample_failing.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ae2ab8dec5a27c39495bcffdf44afc87e47714ce |
--- /dev/null |
+++ b/chrome/test/data/webui/sample_failing.js |
@@ -0,0 +1,9 @@ |
+// Copyright (c) 2011 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. |
+ |
+// Sample tests that exercise the test JS library and show how this framework |
+// could be used to test the downloads page. |
+function testConsoleError() { |
+ console.error('checking console.error call causes failure.'); |
+} |