Re: DummyParserRequest and XML

Henri Sivonen <[email protected]> Sat, 01 Jul 2006 14:48:17 +0300
Newsgroups gmane.comp.mozilla.devel.xml
Message-ID <[email protected]>
In article <[email protected]>,
 Boris Zbarsky <[email protected]> wrote:

> I do find it odd that just using DummyParserRequest didn't work, though...  
> That 
> makes me suspect that the other solution would have the same issues, frankly. 
> If you want to check, you could ignore the Cancel() thing for now and just 
> see 
> whether you can BlockOnload()/UnblockOnload() and whether that works.

It turns out that it works the right way without either. I guess I 
shouldn't try to fix it just in case when it isn't broken.

> Create an HTML page such that the parser would get interrupted after all the 
> data has been received from the network but before it's been parsed (simplest 
> way is to interrupt very often, probably).  Then see whether onload fires too 
> early (e.g. by having an inline <script> at the end of the document and an 
> onload handler and seeing which one runs first).

OK.

Thanks.

-- 
Henri Sivonen
[email protected]
http://hsivonen.iki.fi/