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

Unified Diff: ppapi/native_client/tests/breakpad_crash_test/browser_process_crash.html

Issue 11818007: Breakpad: Add a test for crashes in the browser process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review changes Created 7 years, 11 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
« no previous file with comments | « no previous file | ppapi/native_client/tests/breakpad_crash_test/crash_dump_tester.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/tests/breakpad_crash_test/browser_process_crash.html
diff --git a/ppapi/native_client/tests/breakpad_crash_test/browser_process_crash.html b/ppapi/native_client/tests/breakpad_crash_test/browser_process_crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..4aa913ffd140778b82751db3c11956d2afa041b6
--- /dev/null
+++ b/ppapi/native_client/tests/breakpad_crash_test/browser_process_crash.html
@@ -0,0 +1,37 @@
+<!--
+ Copyright (c) 2013 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.
+-->
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <head>
+ <meta http-equiv="Pragma" content="no-cache" />
+ <meta http-equiv="Expires" content="-1" />
+ <script type="text/javascript" src="nacltest.js"></script>
+ <title>Browser Process Crash Test</title>
+ </head>
+
+ <body>
+ <h1>Browser Process Crash Test</h1>
+
+<script type="text/javascript">
+
+var tester = new Tester();
+
+// We don't normally expect any of this code to run, because we are
+// testing a browser process crash. If we reach here, the
+// "--crash-test" option does not work.
+
+tester.addTest('browser_process_crash', function(status) {
+ status.fail('Browser was supposed to crash, not reach here');
+});
+
+tester.run();
+
+</script>
+
+ </body>
+</html>
« no previous file with comments | « no previous file | ppapi/native_client/tests/breakpad_crash_test/crash_dump_tester.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698