Changes

Jump to: navigation, search

Cross Site XMLHttpRequest

261 bytes added, 04:24, 24 January 2007
no edit summary
If we set up a dummy document it might be possible to do all this inside the nsIRequestObserver wrapper if we expand it into an nsIStreamListener. It would set up a dummy document and while streaming data into its streamlistener also copy all received data. If access control checks pass we could simply call into the outer listener and stream all copied data to it.
 
In fact we wouldn't even need to create a dummy document. We could simply set up a custom sink that just checks the incoming processing instructions until the first element. This could even be implemented by the same object as the nsIRequestObserver wrapper.
 
=== Issues ===
Confirm
716
edits

Navigation menu