[Webkit-unassigned] [Bug 8959] New: location.assign can't display http error 404

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed May 17 12:30:25 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8959

           Summary: location.assign can't display http error 404
           Product: WebKit
           Version: 312.x
          Platform: S60 Emulator
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: krishnamurty.podipireddy at nokia.com
                CC: ap at nypop.com


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>


-- 
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