bug 946946 - add Document.docShell r=bz

This commit is contained in:
Trevor Saunders 2013-12-05 16:28:21 -05:00
parent cf51419866
commit 0c6e1524c9
2 changed files with 4 additions and 0 deletions

View File

@ -1894,6 +1894,7 @@ addExternalIface('nsIInputStreamCallback', nativeType='nsIInputStreamCallback',
headerFile='nsIAsyncInputStream.h')
addExternalIface('nsIStreamListener', nativeType='nsIStreamListener', notflattened=True)
addExternalIface('nsISupports', nativeType='nsISupports')
addExternalIface('nsIDocShell', nativeType='nsIDocShell', notflattened=True)
addExternalIface('nsIEditor', nativeType='nsIEditor', notflattened=True)
addExternalIface('nsIVariant', nativeType='nsIVariant', notflattened=True)
addExternalIface('OutputStream', nativeType='nsIOutputStream',

View File

@ -19,6 +19,7 @@ interface StyleSheetList;
interface WindowProxy;
interface nsISupports;
interface URI;
interface nsIDocShell;
enum VisibilityState { "hidden", "visible" };
@ -340,6 +341,8 @@ partial interface Document {
void obsoleteSheet(URI sheetURI);
[ChromeOnly, Throws]
void obsoleteSheet(DOMString sheetURI);
[ChromeOnly] readonly attribute nsIDocShell? docShell;
};
// Extension to give chrome JS the ability to determine when a document was