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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user