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

Unified Diff: trunk/src/chrome/test/data/nacl/irt_exception/irt_exception_test.html

Issue 265433002: Revert 266968 "NonSFI NaCl: Plumb Exception IRT enough for break..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/chrome/test/data/nacl/irt_exception/irt_exception_test.html
===================================================================
--- trunk/src/chrome/test/data/nacl/irt_exception/irt_exception_test.html (revision 266986)
+++ trunk/src/chrome/test/data/nacl/irt_exception/irt_exception_test.html (working copy)
@@ -1,55 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
- <!--
- Copyright 2014 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.
- -->
- <head>
- <meta http-equiv="Pragma" content="no-cache" />
- <meta http-equiv="Expires" content="-1" />
- <script type="text/javascript" src="nacltest.js"></script>
- <title>Nexe Crash Test</title>
- </head>
- <body>
- <h1>Nexe Crash Test</h1>
- <script type="text/javascript">
- //<![CDATA[
- function createModule(id) {
- return createNaClEmbed({
- id: id,
- src: id + '.nmf',
- width: 1,
- height: 1,
- type: 'application/x-nacl'
- });
- }
- var e = document.body;
- e.appendChild(createModule('irt_exception_test'));
- var tester = new Tester();
-
- function AddTest(plugin, testName, expectedMessage) {
- tester.addAsyncTest(testName, function(test) {
- test.expectEvent(plugin, 'message',
- function(e) {
- if (e.data == expectedMessage) {
- test.pass();
- } else {
- test.fail();
- }
- });
- test.expectEvent(plugin, 'crash', function() { test.fail(); })
- plugin.postMessage(testName);
- });
- tester.waitFor(plugin);
- }
-
- AddTest($('irt_exception_test'),
- 'CrashViaSignalHandler', 'CrashViaSignalHandler:PASSED');
-
- tester.run();
- //]]>
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698