Bug 38990 - Touch events are disabled by default when using V8.
Summary: Touch events are disabled by default when using V8.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Ben Murdoch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 07:30 PDT by Ben Murdoch
Modified: 2010-05-14 02:50 PDT (History)
7 users (show)

See Also:


Attachments
Patch. (1.39 KB, patch)
2010-05-12 07:56 PDT, Ben Murdoch
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Murdoch 2010-05-12 07:30:10 PDT
With https://bugs.webkit.org/show_bug.cgi?id=37485 and https://bugs.webkit.org/show_bug.cgi?id=38392 a runtime flag was added to configure support for touch events and it is false by default, i.e. touch events are turned off. This means touch events no longer work on Android after this change.

Chromium configures this flag independently of the WebCore default and the code inside RuntimeEnabledFeatures.h is protected by the ENABLE(TOUCH_EVENTS) compile time guard. I think it is safe therefore to make the default for this flag inside WebCore true.

Patch to follow.
Comment 1 Ben Murdoch 2010-05-12 07:56:35 PDT
Created attachment 55846 [details]
Patch.
Comment 2 Steve Block 2010-05-12 08:00:42 PDT
> I think it is safe therefore to make the default for this flag inside WebCore
> true.
It seems that all runtime-enabled features that are also guarded by a compile flag should default to 'on', particularly if the default is overriden by chromium anyway.
Comment 3 Darin Fisher (:fishd, Google) 2010-05-12 09:16:56 PDT
Comment on attachment 55846 [details]
Patch.

R=me, and I agree that it makes sense to enable the rest by default as well.  That can be a separate patch though.
Comment 4 WebKit Commit Bot 2010-05-14 02:50:28 PDT
Comment on attachment 55846 [details]
Patch.

Clearing flags on attachment: 55846

Committed r59459: <http://trac.webkit.org/changeset/59459>
Comment 5 WebKit Commit Bot 2010-05-14 02:50:39 PDT
All reviewed patches have been landed.  Closing bug.