[Webkit-unassigned] [Bug 47257] New: DeviceOrientation crash when page is navigated while listener is registered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 6 04:52:18 PDT 2010


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

           Summary: DeviceOrientation crash when page is navigated while
                    listener is registered
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
                CC: hans at chromium.org
            Blocks: 30335


When a page is navigated while a listener is registered for DeviceOrientation events, a crash can occur if the controller later attempts to dispatch an event. We need to make sure all listeners are removed when the page is navigated.

We currently remove all listeners from DOMWindow::removeAllEventListeners() but this is not called on page reload. We could add similar code to DOMWindow::clear().

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list