[Webkit-unassigned] [Bug 13348] New: Loading of non-existent resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 13 14:57:22 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13348

           Summary: Loading of non-existent resource
           Product: WebKit
           Version: 522+ (nightly)
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: treat at kde.org


Consider the following page:

<html>
<head>
<script type="text/javascript">
function repaint()
{
  main.document.open();
  main.document.writeln('<html>');
  main.document.writeln('<body>');
  main.document.writeln('fubar');
  main.document.writeln('</body>');
  main.document.writeln('</html>');
  main.document.close();
}
</script>


<body onLoad="repaint();">
<iframe name="main" src="http://www.webkit.org/does_not_exist.html"></iframe>
</body>
</html>

What should webkit do with this scenario.  Currently, the Qt port displays a
blank iframe until the user clicks on it or interacts with it and then the
repaint call is triggered and it displays 'fubar'.

I checked on IRC and under Safari the page just loads and displays 'fubar'.

Firefox has the same behavior, it just displays 'fubar' on load.

Konqueror, on the other hand, displays a 'missing' error page in the iframe.

Should I fix the Qt port to just display 'fubar' on load or is Konqueror
correct?


-- 
Configure bugmail: http://bugs.webkit.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