[Webkit-unassigned] [Bug 10194] New: [S60] InTSW ID: KNOD-6QGSQ7 CBrCtl::FocusedElementType can return uninitialized data when no element has focus
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Aug 1 14:54:58 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=10194
Summary: [S60] InTSW ID: KNOD-6QGSQ7 CBrCtl::FocusedElementType
can return uninitialized data when no element has focus
Product: WebKit
Version: 420+ (nightly)
Platform: S60 Emulator
URL: c:\\BrCtlTest\\loadtest.html
OS/Version: S60 3rd edition
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: WebKit Misc.
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: joseph.ligman at nokia.com
CC: S60webkit at nokia.com, joseph.ligman at nokia.com
CBrCtl::FocusedElementType can return unitialized data when no element has
focus.
To reproduce, build and run BrCtlBCTest application located in
\S60\WebEngine\internal\test\BrCtlBCTest Set a breakpoint in
CBrCtlBCTestContainer::FocusedElementTypeTest. The returned value of
elementtype will be a large negative number, and should be EElementNone.
WebKitView.iFocusedElementType appears to be set to an unintialized variable in
CWebKitControl::FinalProgressComplete:
This code:
TWebCoreFocusedElementType elType;
iWebKitView->MainFrame().WebKitBridge().WebCoreBridge().TabbedNavigation(EWebNavDown,elType,ETrue);
iWebKitView->SetFocusedElementType((TBrCtlDefs::TBrCtlElementType)elType);
perhaps should be:
TWebCoreFocusedElementType elType = EWebCoreElementNone;
iWebKitView->MainFrame().WebKitBridge().WebCoreBridge().TabbedNavigation(EWebNavDown,elType,ETrue);
iWebKitView->SetFocusedElementType((TBrCtlDefs::TBrCtlElementType)elType);
--
Configure bugmail: http://bugzilla.opendarwin.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