Add a document.contentType attribute to allow getting the MIME type of

the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst
This commit is contained in:
bzbarsky@mit.edu
2001-09-24 22:43:23 +00:00
parent 4518a3c455
commit 25b8c0a74a
13 changed files with 34 additions and 41 deletions

View File

@@ -54,8 +54,6 @@ public:
NS_IMETHOD Reset(nsIChannel* aChannel, nsILoadGroup* aLoadGroup);
NS_IMETHOD GetContentType(nsAWritableString& aContentType) const;
NS_IMETHOD StartDocumentLoad(const char* aCommand,
nsIChannel* channel,
nsILoadGroup* aLoadGroup,