If a browser receives a client error (4xx) message upon sending a HTTP request, the server typically includes a diagnostic message. According to the specification (RFC2068, section 10.4), "the server SHOULD include an entity containing an explanation of the error situation, and whether it is a temporary or permanent condition. These status codes are applicable to any request method. User agents SHOULD display any included entity to the user." For the error 404 neither Safari nor S60 Web Browser display the diagnostic webpage. They should display the diagnositc information. Steps to reproduce: 1. Open Safari or S60 Web Browser 2. Open the attached page 3. Click the link "Next" Expected results: A page with 404 diagnostics information is displayed Actual results: It remains in the same page Test source: <html> <head> <title>Assign error 1A</title> <script type="text/ecmascript"> function fMain(){ location.assign("foo.html"); } </script> </head> <body> <p> Click <a href="#" onClick="fMain()">Next </a> and verify that HTTP 404 error is displayed. </p> </body> </html>
Created attachment 8369 [details] location.assign source Load this page to reproduce the defect.
I cannot reproduce this issue with ToT. I can reproduce it with shipping Safari, but then it's just location.assign that doesn't work (as seen in JavaScript console): "Value undefined (result of expression location.assign) is not object." *** This bug has been marked as a duplicate of 3808 ***
Added Keywork PlatformOnly as it has been fixed in Tot.
Added EasyFix keyword as patch in duplicate error seems to be applicable in S60 branch.
TSW Error ID: EWWG-6KZ882
Reopening as this still exists on the S60 branch.
This is not reproducible on the Safari Webkit as of 01Jun2006. This is reproducible only on the S60 webkit as of 01Jun2006.
Just need to apply the same patch as 3808 to correct this issue. The patch includes a test case too. *** This bug has been marked as a duplicate of 3808 ***
Created attachment 8699 [details] Patch rebuilt in S60WebKit env patch and test case taken from 3808. Generated new kjs_window.lut.h file and added as part of the patch. Created new changelog entry.
Comment on attachment 8699 [details] Patch rebuilt in S60WebKit env r=me
Adding S60 prefix to summary of platform-only bugs with reviewed patches, so we can see if there are non-S60 ones in the review queue.
Committed as r15637 (applied patch, rebuilt and tested on latest S60WebKit to ensure patch still looks good). Many thanks!
As this is S60 only error, verified on the S60 Webkit at r15648. Clicking the link "Next" displays 404 error. Resolution is set to VERIFIED.
Set to CLOSED.
re-purposing InTSW keyword for use by QtWebkit team