Bug 169984, sanitize XMExtras method availability to scripts. r=mstoltz, sr=jst.

This commit is contained in:
heikki%netscape.com 2006-04-20 03:38:13 +00:00
Родитель 0422e6620c
Коммит 2b2835689b
2 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -68,6 +68,8 @@ interface nsIDOMParser : nsISupports {
/**
* The byte stream passed in is parsed into a DOM document.
*
* Not accessible from web content.
*
* @param stream The byte stream whose contents are parsed
* @param charset The character set that was used to encode the byte
* stream. NULL if not specified.
@ -82,12 +84,9 @@ interface nsIDOMParser : nsISupports {
in string contentType);
/**
* Set/Get the baseURI. You will probably not need this if you
* have a script environment. This is mostly intended for cases
* without a script environment, for example calling from native
* code.
* Set/Get the baseURI, may be needed when called from native code.
*/
attribute nsIURI baseURI;
[noscript] attribute nsIURI baseURI;
};
%{ C++

Просмотреть файл

@ -81,7 +81,6 @@
#include "nsIDOMClassInfo.h"
#include "nsIDOMElement.h"
#include "nsIDOMWindow.h"
#include "nsILoadGroup.h"
#include "nsIVariant.h"
#include "nsIParser.h"
#include "nsLoadListenerProxy.h"