Bug 11735 - [S60] document.referrer doesn't seem to have any value
Summary: [S60] document.referrer doesn't seem to have any value
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: http://testsuite.nokia-boston.com/con...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-01 14:38 PST by Sornalatha Rathnasamy
Modified: 2006-12-15 14:41 PST (History)
0 users

See Also:


Attachments
store and retrieve referrer url in webkitloader (7.09 KB, patch)
2006-12-01 14:46 PST, Sornalatha Rathnasamy
yongjun.zhang: review-
Details | Formatted Diff | Diff
store the referrer url in a member variable in CWebKitLoader (7.20 KB, patch)
2006-12-04 07:29 PST, Sornalatha Rathnasamy
no flags Details | Formatted Diff | Diff
store referrer url in CWebkitLoader (7.22 KB, patch)
2006-12-04 14:03 PST, Sornalatha Rathnasamy
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 Sornalatha Rathnasamy 2006-12-01 14:38:12 PST
To Reproduce:

Load http://testsuite.nokia-boston.com/content/esmp_Sec9/objDocument/referrer_prop.xhtml
Select the link
The test will fail

Note that this test posts its results automatically so when run outside of a test pass it ends with a 'Page Not Found' error.  The test results can be observed on the previous page.
Comment 1 Sornalatha Rathnasamy 2006-12-01 14:46:03 PST
Created attachment 11707 [details]
store and retrieve referrer url in webkitloader
Comment 2 Yongjun Zhang 2006-12-04 07:10:59 PST
Comment on attachment 11707 [details]
store and retrieve referrer url in webkitloader

Could be better to push referrerUrl to cleanupStack in the following lines:
+        HBufC8* referrerUrl = HBufC8::NewL( iUrlRequestInfo->RefererUrl().Length() ); 
+        referrerUrl->Des().Copy( iUrlRequestInfo->RefererUrl() );
+        RStringF str = stringPool.OpenFStringL( referrerUrl->Des() );
+        delete referrerUrl;
Comment 3 Sornalatha Rathnasamy 2006-12-04 07:29:11 PST
Created attachment 11726 [details]
store the referrer url in a member variable in CWebKitLoader
Comment 4 Sornalatha Rathnasamy 2006-12-04 14:03:38 PST
Created attachment 11730 [details]
store referrer url in CWebkitLoader
Comment 5 Yongjun Zhang 2006-12-04 14:06:21 PST
Comment on attachment 11730 [details]
store referrer url in CWebkitLoader

r=me
Comment 6 Yongjun Zhang 2006-12-04 14:12:40 PST
Completed: At revision: 18002  
Comment 7 Krishna 2006-12-15 14:41:00 PST
TSW ID: PNIO-6TCGX3

Verified and Closed.