[Webkit-unassigned] [Bug 84397] New: Web Inspector: Enable touch events feature fails touch feature detection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 19 16:09:46 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84397

           Summary: Web Inspector: Enable touch events feature fails touch
                    feature detection
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: paul.irish at gmail.com
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


Handling both desktop and touch devices, js app code will often fork the libraries loaded in and behavior wired up depending on if touch events are detected.

The most common detect for this is: 'ontouchstart' in window

The Emulate Touch Events feature in the Inspector will create touch events, but any code relying on a feature detect will fork in the wrong path. 

Could the feature also expose touch events like the above in the DOM so the page can fork behavior correctly?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list