patch: stub implementation of XMLHttpRequest

Dirk Mueller mueller at kde.org
Tue Feb 24 03:57:57 CET 2004


On Monday 23 February 2004 23:52, Maciej Stachowiak wrote:

> http://www.mozilla.org/xmlextras/tests.html

Ah, very nice. Ok, the easy tests now work here too, except the synchronous IO 
part which I don't care about for now. The only small incompatibility is that 
in our implementation, you have to pass

    job->addMetaData( "PropagateHttpHeader", "true" );

to be able to query the HTTP headers afterwards, so I added this to "send()". 
Maybe you want to merge that, even if it doesn't make a difference in your 
code. 

I didn't yet figure out why you have "toString" and "toHTML" in your tree... I 
would consider merging those two. Any reasons why that hasn't been done?

Also, what surprises me is that you compare the portnumbers in the domain 
check. we don't do that for the usual "domain" checks. Reading your code, you 
apparently don't do that either. Any known reason for that?


Dirk


More information about the Khtml-devel mailing list