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

abarth at webkit.org abarth at webkit.org
Wed Dec 22 14:02:54 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 98efe959f02587d9c0df0dd85131e936a762a866
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Oct 1 21:18:28 2010 +0000

    2010-10-01  Adam Barth  <abarth at webkit.org>
    
            Add a Gtk-specific baseline for a WebSocket test.
    
            * platform/gtk/http/tests/websocket: Added.
            * platform/gtk/http/tests/websocket/tests: Added.
            * platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68925 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 32070b1..feb0e05 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,11 @@
+2010-10-01  Adam Barth  <abarth at webkit.org>
+
+        Add a Gtk-specific baseline for a WebSocket test.
+
+        * platform/gtk/http/tests/websocket: Added.
+        * platform/gtk/http/tests/websocket/tests: Added.
+        * platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt: Added.
+
 2010-10-01  Alpha Lam  <hclam at chromium.org>
 
         Build fix. Not reviewed.
diff --git a/LayoutTests/platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt b/LayoutTests/platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt
new file mode 100644
index 0000000..b904c8e
--- /dev/null
+++ b/LayoutTests/platform/gtk/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt
@@ -0,0 +1,20 @@
+CONSOLE MESSAGE: line 0: Wrong protocol for WebSocket '\u0000'
+CONSOLE MESSAGE: line 0: Wrong protocol for WebSocket '\u0009'
+CONSOLE MESSAGE: line 0: Wrong protocol for WebSocket '\u000A'
+CONSOLE MESSAGE: line 0: Wrong protocol for WebSocket '\u000D'
+CONSOLE MESSAGE: line 0: Wrong protocol for WebSocket '\u001B'
+Test WebSocket bad sub-protocol names by control characters.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "\0") threw exception Error: SYNTAX_ERR: DOM Exception 12.
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "	") threw exception Error: SYNTAX_ERR: DOM Exception 12.
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "
+") threw exception Error: SYNTAX_ERR: DOM Exception 12.
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "
+") threw exception Error: SYNTAX_ERR: DOM Exception 12.
+PASS new WebSocket("ws://127.0.0.1:8880/simple", "") threw exception Error: SYNTAX_ERR: DOM Exception 12.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list