Title: [110905] trunk/Source/WebKit/qt
Revision
110905
Author
yu...@chromium.org
Date
2012-03-15 16:17:31 -0700 (Thu, 15 Mar 2012)

Log Message

[Qt] Change default WebSocket protocol to the latest one
https://bugs.webkit.org/show_bug.cgi?id=73630

Reviewed by Simon Hausmann.

* Api/qwebpage.cpp:
(QWebPagePrivate::QWebPagePrivate):
Use RFC6455 WebSocket protocol by default.

Modified Paths

Diff

Modified: trunk/Source/WebKit/qt/Api/qwebpage.cpp (110904 => 110905)


--- trunk/Source/WebKit/qt/Api/qwebpage.cpp	2012-03-15 23:11:53 UTC (rev 110904)
+++ trunk/Source/WebKit/qt/Api/qwebpage.cpp	2012-03-15 23:17:31 UTC (rev 110905)
@@ -358,6 +358,10 @@
 #endif
     settings = new QWebSettings(page->settings());
 
+#if ENABLE(WEB_SOCKETS)
+    page->settings()->setUseHixie76WebSocketProtocol(false);
+#endif
+
     history.d = new QWebHistoryPrivate(static_cast<WebCore::BackForwardListImpl*>(page->backForwardList()));
     memset(actions, 0, sizeof(actions));
 

Modified: trunk/Source/WebKit/qt/ChangeLog (110904 => 110905)


--- trunk/Source/WebKit/qt/ChangeLog	2012-03-15 23:11:53 UTC (rev 110904)
+++ trunk/Source/WebKit/qt/ChangeLog	2012-03-15 23:17:31 UTC (rev 110905)
@@ -1,3 +1,14 @@
+2012-03-15  Yuta Kitamura  <yu...@chromium.org>
+
+        [Qt] Change default WebSocket protocol to the latest one
+        https://bugs.webkit.org/show_bug.cgi?id=73630
+
+        Reviewed by Simon Hausmann.
+
+        * Api/qwebpage.cpp:
+        (QWebPagePrivate::QWebPagePrivate):
+        Use RFC6455 WebSocket protocol by default.
+
 2012-03-07  Jon Lee  <jon...@apple.com>
 
         Move NotificationContents into Notification
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to