patch: script tags with external src written by write() followed by close()

Zack Rusin zack at kde.org
Tue Jun 8 22:59:18 CEST 2004


On Tuesday 18 November 2003 00:02, Maciej Stachowiak wrote:
> On an explicit document.close(), we don't want to destroy the
> tokenizer if it's still waiting on external scripts.

Hmm, good point. Do you by any chance have a testcase? I'm sorry to bug 
you about testcases all the time but it's so much easier to have 
something testable rather then "yeah, i guess we might need it" kind of 
thing :)

Also you may consider merging in scripthandler from head nowadays. 
Especially the diff between revisions 1.243 and 1.244 in 
htmltokenizer.cpp would be beneficial for you (and us during 
merging :) ).

Oh, and I'm attaching the patch as it will be committed on our side.

Zack

-- 
Arguing on the internet is like running in the Special Olympics. 
Even if you win, you're still retarded. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 002_dom_dont_delete_tokenizer.diff
Type: text/x-diff
Size: 4181 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20040608/078bc909/002_dom_dont_delete_tokenizer.bin


More information about the Khtml-devel mailing list