| show details 4:16 PM (1 hour ago) |
On 4/14/11 10:00 AM, Henri Sivonen wrote:
Is that last bit true for documents returned via XMLHttpRequest, say?In the spec, there a four main objects involved in a document load and
navigation:
1) browsing context
2) WindowProxy (aka. outer window)
3) Window (aka. inner window)
4) Document
Each browsing context has a WindowProxy. Each Document has a Window.
An nsDocShell corresponds exactly to a browsing context, right?
Does an nsIContentViewer correspond exactly to the spec's (inner) Window for the
purpose of the loading machinery even though the JS object corresponding
to Window is an nsGlobalWindow marked as being of the inner flavor?
In the spec, a Window has a 1-to-1 correspondence to a Document except
when the Window's document changes from the initial about:blank into
another Document. Does the same hold for nsIContentViewer?
Does it also get coupled 1-to-1 to an nsIDocument except for the initial about:blank?
Have I understood correctly that an nsIContentViewer is always also an
nsIDocumentViewer and always an DocumentViewerImpl?
(What's the point of
having separate nsIContentViewer and nsIDocumentViewer interfaces?)
0 Comments:
Post a Comment
<< Home