W3C home > Mailing lists > Public > public-html@w3.org > March 2010

Re: document.load: History and a proposal

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 28 Mar 2010 14:09:08 -0400
Message-ID: <4BAF9B44.1060300@mit.edu>
To: "Michael A. Puls II" <shadow2531@gmail.com>
CC: public-html@w3.org
On 3/27/10 3:47 PM, Michael A. Puls II wrote:
> What do you want to happen with load("file not found")? Do you want
> load() to throw an exception like Firefox

I assume you were testing with file:// URIs?  See 
<https://bugzilla.mozilla.org/show_bug.cgi?id=282432> if so.

> What do you want to happen when load("file is found") is an xml file
> with a parse error? In the 'load' callback, do you want just
> event.target.documentElement to be null, or do you want documentElement
> to be a 'parsererror' element in the
> "http://www.mozilla.org/newlayout/xml/parsererror.xml" namespace like
> Firefox does (basically a yellow screen of death document).

See <https://bugzilla.mozilla.org/show_bug.cgi?id=289714>.

> Please clarify 'Firefox behavior' in regards to the above. Do you want
> to copy Firefox exactly 100%?

As per above, on your first two points _Firefox_ doesn't want to copy 
Firefox exactly 100%.  ;)

-Boris
Received on Sunday, 28 March 2010 18:09:43 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:00 UTC