WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
CLOSED FIXED
14387
[S60] Pointer event in a blank browser window cusses crash
https://bugs.webkit.org/show_bug.cgi?id=14387
Summary
[S60] Pointer event in a blank browser window cusses crash
Sachin Padma
Reported
2007-06-25 08:33:12 PDT
- 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
Attachments
Null pointer check
(1.13 KB, patch)
2007-06-25 08:37 PDT
,
Sachin Padma
zalan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sachin Padma
Comment 1
2007-06-25 08:37:47 PDT
Created
attachment 15222
[details]
Null pointer check
zalan
Comment 2
2007-06-25 11:51:53 PDT
Comment on
attachment 15222
[details]
Null pointer check r=me
Sachin Padma
Comment 3
2007-06-26 07:42:13 PDT
landed in
r23792
Bradley Morrison
Comment 4
2008-04-09 11:39:40 PDT
Bulk closing of all s60 platform bugs. Sorry for the noise!
Joel Parks
Comment 5
2011-03-21 11:53:32 PDT
re-purposing InTSW keyword for use by QtWebkit team
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug