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

Unified Diff: LayoutTests/fast/events/window-errorevent-02.html

Issue 19962008: Rewrite the 'window.onerror' tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes. Created 7 years, 5 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: LayoutTests/fast/events/window-errorevent-02.html
diff --git a/LayoutTests/fast/events/window-errorevent-02.html b/LayoutTests/fast/events/window-errorevent-02.html
new file mode 100644
index 0000000000000000000000000000000000000000..c418a855d8a56690f14a323e3c590c55dc7e464c
--- /dev/null
+++ b/LayoutTests/fast/events/window-errorevent-02.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <script src="/resources/js-test-pre.js"></script>
+ <script src="resources/onerror-test.js"></script>
+ <script>
+ DumpErrorEventAndAllowDefault();
+ </script>
+</head>
+<body>
+ <p>This test should trigger 'window.onerror', and leave the error unhandled.</p>
do-not-use 2013/07/24 15:46:16 Duplicate test without expectation?
+ <script>
+ throwException();
+ </script>
+ <script src="../js/resources/js-test-post.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698