RESOLVED INVALID 38135
Include RuntimeEnabledFeatures in the Qt build
https://bugs.webkit.org/show_bug.cgi?id=38135
Summary Include RuntimeEnabledFeatures in the Qt build
Garret Kelly
Reported 2010-04-26 13:06:54 PDT
Currently, RuntimeEnabledFeatures is not included in the Qt build. This patch adds it to the Qt build, alongside a modification in WebSockets to remove the guards that stop runtime-feature support from only being enabled under the V8 platform.
Attachments
Initial patch (2.60 KB, patch)
2010-04-26 13:08 PDT, Garret Kelly
levin: review-
Garret Kelly
Comment 1 2010-04-26 13:08:14 PDT
Created attachment 54325 [details] Initial patch
Kenneth Rohde Christiansen
Comment 2 2010-04-26 13:13:47 PDT
Comment on attachment 54325 [details] Initial patch What is this exactly? How do we enable this? Do we need to add a setting to the QWebSettings class? If you can answer those questions, I will happily review the patch.
Eric Seidel (no email)
Comment 3 2010-04-26 13:59:17 PDT
Why does Qt want this?
Csaba Osztrogonác
Comment 4 2010-04-26 15:47:48 PDT
(In reply to comment #3) > Why does Qt want this? I'm not convinced if Qt port would like to use it, but this patch blocks https://bugs.webkit.org/show_bug.cgi?id=37485
David Levin
Comment 5 2010-04-26 16:30:35 PDT
Comment on attachment 54325 [details] Initial patch WebCore/websockets/WebSocket.cpp:81 + static bool webSocketsAvailable = true; There is no explanation for this change in the ChangeLog. WebCore/ChangeLog:5 + Include RuntimeEnabledFeatures in the Qt build. It sounds like folks who work on Qt aren't convinced that this is a change they want. Why not just have a implementation of RuntimeEnabledFeatures that just returns true and use that for Qt (and include it with the other patch that needs it)?
Kenneth Rohde Christiansen
Comment 6 2010-04-26 18:49:06 PDT
(In reply to comment #5) > It sounds like folks who work on Qt aren't convinced that this is a change they > want. I'm not really against it, but I just have no idea what it is :-) thus it is very hard to give an opinion on whether this is a change we want or not.
Csaba Osztrogonác
Comment 7 2010-04-27 02:31:52 PDT
As far as I see only Chromium port uses RuntimeEnabledFeature now. I think it can be useful for testing experimental features on other ports. If we really want to use this feature into Qt port, it's OK. But I think the goal of this patch is to "Make touch event support a RuntimeEnabledFeature" ( https://bugs.webkit.org/show_bug.cgi?id=37485 ) for the Chromium port without breaking Qt port. If I am correct, it isn't the good solution, but papering over the cracks.
Garret Kelly
Comment 8 2010-04-27 07:39:15 PDT
Papier-mâché seems like a poor approach. I've changed the proposed patch for 37485 and am closing this issue.
Note You need to log in before you can comment on or make changes to this bug.