W3C home > Mailing lists > Public > public-html@w3.org > August 2011

[Bug 13498] New: document.readyState should return to 'loading' on navigation

From: <bugzilla@jessica.w3.org>
Date: Mon, 01 Aug 2011 10:36:36 +0000
To: public-html@w3.org
Message-ID: <bug-13498-2495@http.www.w3.org/Bugs/Public/>

           Summary: document.readyState should return to 'loading' on
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: hallvord@opera.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

Opera has problems with uploading attachments on T-Online.de's webmail, it
boils down to an issue that might have some relevance for HTML5's definition of
the readyState property / document readiness calculation ( 

What happens in IE is that when a window is being navigated away from the
current document, that document's readyState changes from 'complete' to
'loading'. (It would have made more sense in this case to have 'readyState' as
a property on the window, but that's a sin of designers past..).

HTML5 has not noticed this, it seems (or chosen to ignore it?), so the spec
as-written seems to asssume that readyState won't ever switch from complete
back to loading. The site sniffs for WebKit-based browsers and Firefox, because
they don't emulate IE on this point.

Now that we've realised IE does some extra stuff and found an important site
depending on it. I think switching back to 'loading' when some load is pending
makes sense.

(Originally posted on public-html:
http://lists.w3.org/Archives/Public/public-html/2011Jul/0199.html )

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 1 August 2011 10:36:40 UTC

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