[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

yurys at chromium.org yurys at chromium.org
Wed Dec 22 11:25:25 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit b4351c6e01f56b1becfc006825aa9b99e0f84a82
Author: yurys at chromium.org <yurys at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jul 23 00:05:51 2010 +0000

    2010-07-22  Yury Semikhatsky  <yurys at chromium.org>
    
            Reviewed by Joseph Pecoraro.
    
            Web Inspector: test that inspector will log syntax error in console without crashing
            https://bugs.webkit.org/show_bug.cgi?id=42831
    
            * inspector/console-log-syntax-error-expected.txt: Added.
            * inspector/console-log-syntax-error.html: Added.
            * inspector/resources/syntax-error.js: Added.
            * platform/chromium/inspector/console-log-syntax-error-expected.txt: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63922 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 79155ed..9e3d11c 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,15 @@
+2010-07-22  Yury Semikhatsky  <yurys at chromium.org>
+
+        Reviewed by Joseph Pecoraro.
+
+        Web Inspector: test that inspector will log syntax error in console without crashing
+        https://bugs.webkit.org/show_bug.cgi?id=42831
+
+        * inspector/console-log-syntax-error-expected.txt: Added.
+        * inspector/console-log-syntax-error.html: Added.
+        * inspector/resources/syntax-error.js: Added.
+        * platform/chromium/inspector/console-log-syntax-error-expected.txt: Added.
+
 2010-07-22  Yael Aharon  <yael.aharon at nokia.com>
 
         Reviewed by Laszlo Gombos.
diff --git a/LayoutTests/inspector/console-log-syntax-error-expected.txt b/LayoutTests/inspector/console-log-syntax-error-expected.txt
new file mode 100644
index 0000000..0c0f16a
--- /dev/null
+++ b/LayoutTests/inspector/console-log-syntax-error-expected.txt
@@ -0,0 +1,5 @@
+CONSOLE MESSAGE: line 1: SyntaxError: Parse error
+Tests that syntax errors are logged into console and doesn't cause browser crash.
+
+resources/syntax-error.js:1SyntaxError: Parse error
+
diff --git a/LayoutTests/inspector/console-log-syntax-error.html b/LayoutTests/inspector/console-log-syntax-error.html
new file mode 100755
index 0000000..f6918be
--- /dev/null
+++ b/LayoutTests/inspector/console-log-syntax-error.html
@@ -0,0 +1,18 @@
+<html>
+<head>
+<script src="../http/tests/inspector/inspector-test.js"></script>
+<script src="../http/tests/inspector/console-tests.js"></script>
+<script src="resources/syntax-error.js"></script>
+<script>
+function doit()
+{
+    dumpConsoleMessages();
+}
+</script>
+</head>
+<body onload="onload()">
+<p>
+Tests that syntax errors are logged into console and doesn't cause browser crash.
+</p>
+</body>
+</html>
diff --git a/LayoutTests/inspector/resources/syntax-error.js b/LayoutTests/inspector/resources/syntax-error.js
new file mode 100644
index 0000000..bea8cd1
--- /dev/null
+++ b/LayoutTests/inspector/resources/syntax-error.js
@@ -0,0 +1 @@
+)
diff --git a/LayoutTests/platform/chromium/inspector/console-log-syntax-error-expected.txt b/LayoutTests/platform/chromium/inspector/console-log-syntax-error-expected.txt
new file mode 100755
index 0000000..ef8f60f
--- /dev/null
+++ b/LayoutTests/platform/chromium/inspector/console-log-syntax-error-expected.txt
@@ -0,0 +1,4 @@
+CONSOLE MESSAGE: line 1: Uncaught SyntaxError: Unexpected token )
+Tests that syntax errors are logged into console and doesn't cause browser crash.
+
+resources/syntax-error.js:1Uncaught SyntaxError: Unexpected token )

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list