[Webkit-unassigned] [Bug 14387] New: [S60] Pointer event in a blank browser window cusses crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 25 08:33:12 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14387

           Summary: [S60] Pointer event in a blank browser window cusses
                    crash
           Product: WebKit
           Version: 522+ (nightly)
          Platform: S60 Emulator
        OS/Version: S60 3rd edition
            Status: NEW
          Keywords: PlatformOnly, InTSW
          Severity: Blocker
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: Sachin.Padma at nokia.com


- Steps to reproduce:
Open BrowserNG, Option->Goto address, fill a non-existed local address to the
address field, e.g. file://c:/ anything.htm, press open button. After  no
gateway error message, a blank browser window is shown up. Click on the blank
browser window    

- Actual outcome:
Crash

- Expected outcome:
Should not  crash

- Other info:
        I watched following calling sequence before crash: 
CPointerEventHandler::HandlePointerEventL -> CWebCoreBridge::ActivateEvent  -> 
KWQKHTMLPart::activateNodeAtPoint

If taking a look at the last function,  renderer() returns null when there is
no html document.  The return value of renderer() should be checked.
void KWQKHTMLPart::activateNodeAtPoint(const QPoint &point)
{
    // On ActivateEvent, clear the "don't submit form twice" data member.
    prepareForUserAction();

    RenderObject::NodeInfo renderInfo(true, false);
renderer()->layer()->hitTest(renderInfo, point.x(), point.y());

TSW ID: YDAI-73V998


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



More information about the webkit-unassigned mailing list