Bug 150692

Summary: Very slow typing on pages with wheel event handlers on the body, and deep content
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, kangil.han, simon.fraser
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch zalan: review+

Description Simon Fraser (smfr) 2015-10-29 14:21:43 PDT
Very slow typing on pages with wheel event handlers on the body, and deep content
Comment 1 Simon Fraser (smfr) 2015-10-29 14:23:28 PDT
Created attachment 264344 [details]
Patch
Comment 2 Simon Fraser (smfr) 2015-10-29 14:24:13 PDT
Created attachment 264345 [details]
Patch
Comment 3 Simon Fraser (smfr) 2015-10-29 14:24:28 PDT
rdar://problem/23242631
Comment 4 Chris Dumez 2015-10-29 14:54:13 PDT
Comment on attachment 264345 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=264345&action=review

> Source/WebCore/dom/Document.cpp:6241
> +            if (is<HTMLBodyElement>(element)) {

is<HTMLBodyElement>(*element) to avoid the null check.
Comment 5 Simon Fraser (smfr) 2015-10-29 14:55:27 PDT
https://trac.webkit.org/r191756