Bug 85235

Summary: Document listener types are not updated for imported nodes
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Major CC: abarth, adamk, mjs, morrita, rniwa, sam, shinyak
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test case none

Description Alexey Proskuryakov 2012-04-30 14:30:22 PDT
Created attachment 139519 [details]
test case

TreeScopeAdopter performs a lot of work, but it doesn't update Document::m_listenerTypes. As a result, all code that checks hasListenerType() is broken for imported nodes - in particular, overflow, beforeload, mutation events, touch and scroll events are dysfunctional.