You need to
before you can comment on or make changes to this bug.
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?
Created an attachment (id=139359) [details]
(From update of attachment 139359 [details])
View in context: https://bugs.webkit.org/attachment.cgi?id=139359&action=review
> + const functionText =
you should declare a function a call toString on it.
Committed r115569: <http://trac.webkit.org/changeset/115569>