Bug 11566 - [S60] OSS Browser: Crash when getting the currently in-use Access Point Id via the BrCtl Interface
Summary: [S60] OSS Browser: Crash when getting the currently in-use Access Point Id vi...
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: S60 Emulator S60 3rd edition
: P2 Critical
Assignee: Nobody
URL:
Keywords: PlatformOnly
Depends on:
Blocks:
 
Reported: 2006-11-10 11:54 PST by Sachin Padma
Modified: 2011-03-21 11:52 PDT (History)
0 users

See Also:


Attachments
fix browser crash (3.14 KB, patch)
2006-11-10 12:09 PST, Sachin Padma
yongjun.zhang: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sachin Padma 2006-11-10 11:54:26 PST
The WebEngine panic when currently in use APId is retrieved from the Application (i.e. Music Shop) using the following API
TUint32 curIAPId = iApiProvider.BrCtlInterface().BrowserSettingL( TBrCtlDefs::ESettingsApId );

Remarks: This line has been used without any problem on S60 3.0. 

[Preconditions]
1. Access point is created 
2. Webpage is already launched in Browser View

[Step to Reproduce]
1. Create Browser Control
iBrCtlInterface = CreateBrowserControlL(); 
iBrCtlInterface->SetBrowserSettingL(TBrCtlDefs::ESettingsApId, ap );

2. Load the URL 

3. Then later, get the ApId, at this point, the WebEngine should have the info of ApId to return,
TUint32 curIAPId = iApiProvider.BrCtlInterface().BrowserSettingL( TBrCtlDefs::ESettingsApId );

[Actual Result]
WebEngine crashed

[Expected Result]
ApId can return to application without crash.
Comment 1 Sachin Padma 2006-11-10 11:54:48 PST
TSW ID:  SKWK-6VDV28
Comment 2 Sachin Padma 2006-11-10 12:09:09 PST
Created attachment 11465 [details]
fix browser crash
Comment 3 Yongjun Zhang 2006-11-10 12:50:34 PST
Comment on attachment 11465 [details]
fix browser crash

r=me
Comment 4 Sachin Padma 2006-11-10 13:09:29 PST
committed as r17706
Comment 5 Sachin Padma 2006-11-10 13:16:04 PST
3.1m -> 17707
Comment 6 Joel Parks 2011-03-21 11:52:47 PDT
re-purposing InTSW keyword for use by QtWebkit team