Now that bug 367214 is fixed, Mochitest includes support for modifying the HTTP 
headers and status of the response for a given file, letting you write tests 
whose results are dependent upon HTTP headers or statuses.  See the following 
URL for details:

http://developer.mozilla.org/en/docs/Mochitest#How_do_I_change_the_HTTP_headers_or_status_sent_with_a_file_used_in_a_Mochitest.3F

Reftest as of now doesn't run its tests over HTTP and thus doesn't have a way 
to modify headers, but I'm working in bug 376489 on making it possible to run a 
test over HTTP and influence its headers in the same way as with Mochitest; 
I'll keep the relevant newsgroups posted when I fix that.

Jeff
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to