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

[Bug 10625] Spec should cover stopping parsing on location.href = "foo"

From: <bugzilla@jessica.w3.org>
Date: Wed, 20 Oct 2010 07:35:56 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1P8TDI-0005VN-ID@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10625

--- Comment #10 from Ian 'Hixie' Hickson <ian@hixie.ch> 2010-10-20 07:35:53 UTC ---
It seems meta refresh waits for the document to have loaded before taking
effect, so I'll ignore that in further tests:

   http://www.hixie.ch/tests/adhoc/html/navigation/interrupts/?nph-003.html

I can't get IE to run scripts at all until the whole document is downloaded and
can be all parsed at once, which makes testing exactly what happens rather
awkward:

   http://www.hixie.ch/tests/adhoc/dom/level0/timers/nph-010-demo.html

When it comes to the other browsers, it seems WebKit doesn't fire 'unload', but
Gecko does, when an inline script just invokes the navigation algorithm; WebKit
also seems to do it as a task so the parser doesn't abort until after it has
run whatever is in its buffer (e.g. a script immediately following):

   http://www.hixie.ch/tests/adhoc/html/navigation/interrupts/?nph-002.html

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 20 October 2010 07:36:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:59 UTC