Hi, I would like to open a new window to display a new document, but not in the usual way.
A usual way is to e.g. execute window.open(URL-B, ...) in document A to open a new window and display document B in it. In this case I have to know in advance whether I want to display document B in a new window, or whether it should replace document A. My problem is, that I request a new document B from document A (e.g. using a POST request), and want to decide after receiving the response whether I have to (a) replace document A with document B in the current window, or (b) open an new window to display document B while document A is still being displayed in the first window. The decision should be based on some parameter in the response, either the HTTP header or the document itself. It would be nice, if this behaviour could be controlled using a particular HTTP response header. I don't know, whether firefox / XULrunner already supports this feature, but I would not expect it. Is there some event I can hook into to achieve this, or do I have to create a new URIContentListener? Or is there another straight forward solution? Thanks in advance, -Andreas _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
