forked from mirrors/gecko-dev
Bug 1396682 - Remove exposure of nsIAtom to script in rdf/. r=pike.
This is a prerequisite for deCOMtaminating nsIAtom. --HG-- extra : rebase_source : 715864697aa797afdaf77c0b0f970b6a249afad0
This commit is contained in:
parent
d4680517be
commit
6376feec24
2 changed files with 6 additions and 5 deletions
|
|
@ -4,10 +4,11 @@
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#include "nsIAtom.idl"
|
|
||||||
#include "nsISupports.idl"
|
#include "nsISupports.idl"
|
||||||
#include "nsIRDFDataSource.idl"
|
#include "nsIRDFDataSource.idl"
|
||||||
|
|
||||||
|
interface nsIAtom; // used in [noscript] methods only
|
||||||
|
|
||||||
[scriptable, uuid(8ae1fbf8-1dd2-11b2-bd21-d728069cca92)]
|
[scriptable, uuid(8ae1fbf8-1dd2-11b2-bd21-d728069cca92)]
|
||||||
interface nsIRDFXMLSerializer : nsISupports
|
interface nsIRDFXMLSerializer : nsISupports
|
||||||
{
|
{
|
||||||
|
|
@ -23,5 +24,5 @@ interface nsIRDFXMLSerializer : nsISupports
|
||||||
* @param aPrefix the attribute namespace prefix
|
* @param aPrefix the attribute namespace prefix
|
||||||
* @param aURI the namespace URI
|
* @param aURI the namespace URI
|
||||||
*/
|
*/
|
||||||
void addNameSpace(in nsIAtom aPrefix, in DOMString aURI);
|
[noscript] void addNameSpace(in nsIAtom aPrefix, in DOMString aURI);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,12 @@
|
||||||
|
|
||||||
#include "nsISupports.idl"
|
#include "nsISupports.idl"
|
||||||
|
|
||||||
|
interface nsIAtom; // used in [noscript] methods only
|
||||||
|
|
||||||
// XXX Until these get scriptable. See nsIRDFXMLSink::AddNameSpace()
|
// XXX Until these get scriptable. See nsIRDFXMLSink::AddNameSpace()
|
||||||
[ptr] native nsIAtomPtr(nsIAtom);
|
|
||||||
[ref] native nsStringRef(nsString);
|
[ref] native nsStringRef(nsString);
|
||||||
%{C++
|
%{C++
|
||||||
#include "nsStringFwd.h"
|
#include "nsStringFwd.h"
|
||||||
class nsIAtom;
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
interface nsIRDFXMLSink;
|
interface nsIRDFXMLSink;
|
||||||
|
|
@ -102,7 +102,7 @@ interface nsIRDFXMLSink : nsISupports
|
||||||
* @param aPrefix the namespace prefix
|
* @param aPrefix the namespace prefix
|
||||||
* @param aURI the namespace URI
|
* @param aURI the namespace URI
|
||||||
*/
|
*/
|
||||||
[noscript] void addNameSpace(in nsIAtomPtr aPrefix,
|
[noscript] void addNameSpace(in nsIAtom aPrefix,
|
||||||
[const] in nsStringRef aURI);
|
[const] in nsStringRef aURI);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue