Bug 11566

Summary: [S60] OSS Browser: Crash when getting the currently in-use Access Point Id via the BrCtl Interface
Product: WebKit Reporter: Sachin Padma <Sachin.Padma>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: CLOSED FIXED    
Severity: Critical Keywords: PlatformOnly
Priority: P2    
Version: 420+   
Hardware: S60 Emulator   
OS: S60 3rd edition   
Attachments:
Description Flags
fix browser crash yongjun.zhang: review+

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