RESOLVED FIXED 167044
Remove ENABLE(WEB_SOCKET) guards
https://bugs.webkit.org/show_bug.cgi?id=167044
Summary Remove ENABLE(WEB_SOCKET) guards
Joseph Pecoraro
Reported 2017-01-13 20:03:36 PST
Remove ENABLE(WEB_SOCKET) guards. Core Web Features that all ports enable.
Attachments
[PATCH] Proposed Fix - Needs webkit-dev approval but testing on bots (86.82 KB, patch)
2017-01-13 20:05 PST, Joseph Pecoraro
no flags
Patch (98.11 KB, patch)
2017-08-02 16:53 PDT, Blaze Burg
no flags
Patch (98.68 KB, patch)
2017-08-03 10:53 PDT, Blaze Burg
no flags
Patch (98.90 KB, patch)
2017-08-03 15:55 PDT, Blaze Burg
joepeck: review+
Joseph Pecoraro
Comment 1 2017-01-13 20:05:56 PST
Created attachment 298841 [details] [PATCH] Proposed Fix - Needs webkit-dev approval but testing on bots
Joseph Pecoraro
Comment 2 2017-01-13 20:06:29 PST
Hmm, I bet this won't apply because its on top of removing ENABLE(DETAILS_ELEMENT). I'll retry it in a day or so.
Blaze Burg
Comment 3 2017-08-02 16:53:02 PDT
Blaze Burg
Comment 4 2017-08-03 10:53:17 PDT
Blaze Burg
Comment 5 2017-08-03 11:38:45 PDT
Comment on attachment 317130 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=317130&action=review > Source/WebCore/dom/EventTargetFactory.in:-40 > -WebSocket conditional=WEB_SOCKETS Oops, deleted the whole line instead of the conditional.
Blaze Burg
Comment 6 2017-08-03 15:55:07 PDT
Joseph Pecoraro
Comment 7 2017-08-03 17:14:19 PDT
Comment on attachment 317172 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=317172&action=review r=me > Source/WebCore/page/RuntimeEnabledFeatures.cpp:65 > bool RuntimeEnabledFeatures::webSocketEnabled() const > { > return WebSocket::isAvailable(); > } WebSocket::setIsAvailable never appears to be called. So this appears to always be `true` now. I think we can remove the separate WebSocket::isAvailable / WebSocket::setIsAvailable path and replace it with normal RuntimeEnabledFeatures and m_webSocketEnabed bool. This can be done separately as a follow-up. > Tools/Scripts/webkitperl/FeatureList.pm:-390 > - define => "ENABLE_WEB_SOCKETS", default => 1, value => \$webSocketsSupport }, Remove $webSocketsSupport on line 138.
Blaze Burg
Comment 8 2017-08-03 19:41:21 PDT
Radar WebKit Bug Importer
Comment 9 2017-08-03 19:41:46 PDT
Note You need to log in before you can comment on or make changes to this bug.