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

Unified Diff: LayoutTests/fast/js/exception-linenums-in-html-3.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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: LayoutTests/fast/js/exception-linenums-in-html-3.html
diff --git a/LayoutTests/fast/js/exception-linenums-in-html-3.html b/LayoutTests/fast/js/exception-linenums-in-html-3.html
deleted file mode 100644
index 99ddfb294fa75c357952524d40f4e55d3b44dfc2..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/exception-linenums-in-html-3.html
+++ /dev/null
@@ -1,70 +0,0 @@
-<html>
-<head>
-<style>
-body { white-space: normal; }
-<script src="resources/js-test-pre.js"></script>
-</head>
-<body>
-<script>
-description('This test exercises the source URL and line number that is embedded in JavaScript exceptions, which is displayed in places like the JavaScript console. It differs from <span style="font-family: monospace;">exception-linenums-in-html-1.html</span> in that it only works if <a href="https://bugs.webkit.org/show_bug.cgi?id=6314">Bugzilla Bug 6314</a> has been fixed.');
-
-function exceptionInFunction()
-{
- throw Exception();
-}
-
-var e = undefined;
-
-try {
- // Raises an exception that gets picked up by KJS_CHECKEXCEPTION
- document.documentElement.innerHTML(foo);
-} catch (exception) {
- e = exception;
-}
-shouldBe("typeof e.sourceURL", '"string"');
-shouldBe("e.line", '23');
-
-e = undefined;
-try {
- // Raises an exception that gets picked up by KJS_CHECKEXCEPTIONVALUE
- document.documentElement.appendChild('').prefix = '';
-} catch (exception) {
- e = exception;
-}
-shouldBe("typeof e.sourceURL", '"string"');
-shouldBe("e.line", '33');
-
-e = undefined;
-try {
- // Raises an exception that gets picked up by KJS_CHECKEXCEPTIONREFERENCE
- document.documentElement.appendChild('').innerHTML = '';
-} catch (exception) {
- e = exception;
-}
-shouldBe("typeof e.sourceURL", '"string"');
-shouldBe("e.line", '43');
-
-e = undefined;
-try {
- // Raises an exception that gets picked up by KJS_CHECKEXCEPTIONLIST
- document.getElementById(1());
-} catch (exception) {
- e = exception;
-}
-shouldBe("typeof e.sourceURL", '"string"');
-shouldBe("e.line", '53');
-
-e = undefined;
-// Raises an exception inside a function to check that its line number
-// isn't overwritten in the assignment node.
-try {
- var a = exceptionInFunction();
-} catch (exception) {
- e = exception;
-}
-shouldBe("typeof e.sourceURL", '"string"');
-shouldBe("e.line", '16');
-</script>
-<script src="resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698