WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(98.11 KB, patch)
2017-08-02 16:53 PDT
,
Blaze Burg
no flags
Details
Formatted Diff
Diff
Patch
(98.68 KB, patch)
2017-08-03 10:53 PDT
,
Blaze Burg
no flags
Details
Formatted Diff
Diff
Patch
(98.90 KB, patch)
2017-08-03 15:55 PDT
,
Blaze Burg
joepeck
: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
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
Created
attachment 317031
[details]
Patch
Blaze Burg
Comment 4
2017-08-03 10:53:17 PDT
Created
attachment 317130
[details]
Patch
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
Created
attachment 317172
[details]
Patch
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
Committed
r220250
: <
http://trac.webkit.org/changeset/220250
>
Radar WebKit Bug Importer
Comment 9
2017-08-03 19:41:46 PDT
<
rdar://problem/33715469
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug