[Webkit-unassigned] [Bug 153763] [iOS Simulator] fast/dom/event-handler-attributes.html failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 14:34:46 PST 2016


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

Chris Dumez <cdumez at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cdumez at apple.com

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
This may be caused by:

    // FIXME: Would it be sufficient to special-case this code for <body> and <frameset>?
    //
    // This code was added to address <rdar://problem/5846492> Onorientationchange event not working for document.body.
    // Forward this call to addEventListener() to the window since these are window-only events.
    if (eventType == eventNames().orientationchangeEvent || eventType == eventNames().resizeEvent)
        targetNode->document().domWindow()->addEventListener(eventType, WTFMove(listener), useCapture);


in Node.cpp’s tryAddEventListener().

This code is iOS specific and goes and set and event listener for the ‘resize’ event on the Window for some reason.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160208/1ea2279c/attachment.html>


More information about the webkit-unassigned mailing list