DescriptionMerge 138181
> Correct missing touch event handler de-registration for nested Documents and DOMWindows
> https://bugs.webkit.org/show_bug.cgi?id=105384
>
> Reviewed by James Robinson.
>
> Source/WebCore:
>
> Correcting case by which a nested DOMWindow wouldn't clean up its event handler references
> on its Document when removeAllEventListeners was called. Also, correctly propagating this
> from a nested Document to its owner Document.
>
> Updating fast/events/touch/touch-handler-count.html to catch this bug.
>
> * dom/Document.cpp:
> (WebCore::Document::didRemoveEventTargetNode):
> * page/DOMWindow.cpp:
> (WebCore::DOMWindow::removeAllEventListeners):
>
> LayoutTests:
>
> * fast/events/touch/touch-handler-count-expected.txt:
> * fast/events/touch/touch-handler-count.html: Adding case of nested DOMWindows with event handlers.
>
TBR=leviw@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138190
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|