зеркало из https://github.com/mozilla/gecko-dev.git
Bug 796903 - Part b: Remove classinfo from DOMImplementation; r=bz
This commit is contained in:
Родитель
7743757aea
Коммит
bf2b5f9bda
|
@ -10,8 +10,6 @@
|
||||||
#include "nsDOMClassInfoID.h"
|
#include "nsDOMClassInfoID.h"
|
||||||
#include "nsIDOMDocumentType.h"
|
#include "nsIDOMDocumentType.h"
|
||||||
|
|
||||||
DOMCI_DATA(DOMImplementation, mozilla::dom::DOMImplementation)
|
|
||||||
|
|
||||||
namespace mozilla {
|
namespace mozilla {
|
||||||
namespace dom {
|
namespace dom {
|
||||||
|
|
||||||
|
@ -19,8 +17,7 @@ namespace dom {
|
||||||
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMImplementation)
|
NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(DOMImplementation)
|
||||||
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
|
||||||
NS_INTERFACE_MAP_ENTRY(nsIDOMDOMImplementation)
|
NS_INTERFACE_MAP_ENTRY(nsIDOMDOMImplementation)
|
||||||
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIDOMDOMImplementation)
|
NS_INTERFACE_MAP_ENTRY(nsISupports)
|
||||||
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(DOMImplementation)
|
|
||||||
NS_INTERFACE_MAP_END
|
NS_INTERFACE_MAP_END
|
||||||
|
|
||||||
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_1(DOMImplementation, mOwner)
|
NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE_1(DOMImplementation, mOwner)
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#include "nsIDocument.h"
|
#include "nsIDocument.h"
|
||||||
#include "nsIDOMDocument.h"
|
#include "nsIDOMDocument.h"
|
||||||
#include "nsIDOMDocumentType.h"
|
#include "nsIDOMDocumentType.h"
|
||||||
#include "nsIDOMDOMImplementation.h"
|
|
||||||
#include "nsIContent.h"
|
#include "nsIContent.h"
|
||||||
#include "nsIURI.h"
|
#include "nsIURI.h"
|
||||||
#include "nsNetUtil.h"
|
#include "nsNetUtil.h"
|
||||||
|
|
|
@ -187,7 +187,6 @@
|
||||||
#include "nsIDOMBarProp.h"
|
#include "nsIDOMBarProp.h"
|
||||||
#include "nsIDOMScreen.h"
|
#include "nsIDOMScreen.h"
|
||||||
#include "nsIDOMDocumentType.h"
|
#include "nsIDOMDocumentType.h"
|
||||||
#include "nsIDOMDOMImplementation.h"
|
|
||||||
#include "nsIDOMDocumentFragment.h"
|
#include "nsIDOMDocumentFragment.h"
|
||||||
#include "nsDOMAttribute.h"
|
#include "nsDOMAttribute.h"
|
||||||
#include "nsIDOMText.h"
|
#include "nsIDOMText.h"
|
||||||
|
@ -791,8 +790,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
|
||||||
DOCUMENT_SCRIPTABLE_FLAGS)
|
DOCUMENT_SCRIPTABLE_FLAGS)
|
||||||
NS_DEFINE_CLASSINFO_DATA(DocumentType, nsNodeSH,
|
NS_DEFINE_CLASSINFO_DATA(DocumentType, nsNodeSH,
|
||||||
NODE_SCRIPTABLE_FLAGS)
|
NODE_SCRIPTABLE_FLAGS)
|
||||||
NS_DEFINE_CLASSINFO_DATA(DOMImplementation, nsDOMGenericSH,
|
|
||||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
|
||||||
NS_DEFINE_CLASSINFO_DATA(DOMException, nsDOMGenericSH,
|
NS_DEFINE_CLASSINFO_DATA(DOMException, nsDOMGenericSH,
|
||||||
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
DOM_DEFAULT_SCRIPTABLE_FLAGS)
|
||||||
NS_DEFINE_CLASSINFO_DATA(DOMTokenList, nsDOMGenericSH,
|
NS_DEFINE_CLASSINFO_DATA(DOMTokenList, nsDOMGenericSH,
|
||||||
|
@ -2522,10 +2519,6 @@ nsDOMClassInfo::Init()
|
||||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
||||||
DOM_CLASSINFO_MAP_END
|
DOM_CLASSINFO_MAP_END
|
||||||
|
|
||||||
DOM_CLASSINFO_MAP_BEGIN(DOMImplementation, nsIDOMDOMImplementation)
|
|
||||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDOMImplementation)
|
|
||||||
DOM_CLASSINFO_MAP_END
|
|
||||||
|
|
||||||
DOM_CLASSINFO_MAP_BEGIN(DOMException, nsIDOMDOMException)
|
DOM_CLASSINFO_MAP_BEGIN(DOMException, nsIDOMDOMException)
|
||||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDOMException)
|
DOM_CLASSINFO_MAP_ENTRY(nsIDOMDOMException)
|
||||||
DOM_CLASSINFO_MAP_ENTRY(nsIException)
|
DOM_CLASSINFO_MAP_ENTRY(nsIException)
|
||||||
|
|
|
@ -19,7 +19,6 @@ DOMCI_CLASS(DOMConstructor)
|
||||||
// Core classes
|
// Core classes
|
||||||
DOMCI_CLASS(XMLDocument)
|
DOMCI_CLASS(XMLDocument)
|
||||||
DOMCI_CLASS(DocumentType)
|
DOMCI_CLASS(DocumentType)
|
||||||
DOMCI_CLASS(DOMImplementation)
|
|
||||||
DOMCI_CLASS(DOMException)
|
DOMCI_CLASS(DOMException)
|
||||||
DOMCI_CLASS(DOMTokenList)
|
DOMCI_CLASS(DOMTokenList)
|
||||||
DOMCI_CLASS(DOMSettableTokenList)
|
DOMCI_CLASS(DOMSettableTokenList)
|
||||||
|
|
|
@ -191,14 +191,6 @@
|
||||||
"EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on xmlDoc with too few arguments must throw TypeError": true,
|
"EventTarget interface: calling addEventListener(DOMString,EventListener,boolean) on xmlDoc with too few arguments must throw TypeError": true,
|
||||||
"EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on xmlDoc with too few arguments must throw TypeError": true,
|
"EventTarget interface: calling removeEventListener(DOMString,EventListener,boolean) on xmlDoc with too few arguments must throw TypeError": true,
|
||||||
"EventTarget interface: calling dispatchEvent(Event) on xmlDoc with too few arguments must throw TypeError": true,
|
"EventTarget interface: calling dispatchEvent(Event) on xmlDoc with too few arguments must throw TypeError": true,
|
||||||
"DOMImplementation interface: existence and properties of interface object": true,
|
|
||||||
"DOMImplementation interface: existence and properties of interface prototype object": true,
|
|
||||||
"DOMImplementation interface: existence and properties of interface prototype object's \"constructor\" property": true,
|
|
||||||
"Stringification of document.implementation": "debug",
|
|
||||||
"DOMImplementation interface: calling hasFeature(DOMString,DOMString) on document.implementation with too few arguments must throw TypeError": true,
|
|
||||||
"DOMImplementation interface: calling createDocumentType(DOMString,DOMString,DOMString) on document.implementation with too few arguments must throw TypeError": true,
|
|
||||||
"DOMImplementation interface: calling createDocument(DOMString,DOMString,DocumentType) on document.implementation with too few arguments must throw TypeError": true,
|
|
||||||
"DOMImplementation interface: calling createHTMLDocument(DOMString) on document.implementation with too few arguments must throw TypeError": true,
|
|
||||||
"DocumentFragment interface: existence and properties of interface object": true,
|
"DocumentFragment interface: existence and properties of interface object": true,
|
||||||
"DocumentFragment interface: existence and properties of interface prototype object": true,
|
"DocumentFragment interface: existence and properties of interface prototype object": true,
|
||||||
"DocumentFragment interface: existence and properties of interface prototype object's \"constructor\" property": true,
|
"DocumentFragment interface: existence and properties of interface prototype object's \"constructor\" property": true,
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* http://www.w3.org/TR/DOM-Level-2-Core/
|
* http://www.w3.org/TR/DOM-Level-2-Core/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[scriptable, uuid(03a6f574-99ec-42f8-9e6c-812a4a9bcbf7)]
|
[uuid(03a6f574-99ec-42f8-9e6c-812a4a9bcbf7)]
|
||||||
interface nsIDOMDOMImplementation : nsISupports
|
interface nsIDOMDOMImplementation : nsISupports
|
||||||
{
|
{
|
||||||
boolean hasFeature(in DOMString feature,
|
boolean hasFeature(in DOMString feature,
|
||||||
|
|
|
@ -136,7 +136,6 @@ members = [
|
||||||
'nsIDOMNodeSelector.querySelector',
|
'nsIDOMNodeSelector.querySelector',
|
||||||
'nsIDOMNodeSelector.querySelectorAll',
|
'nsIDOMNodeSelector.querySelectorAll',
|
||||||
'nsIDOMText.splitText',
|
'nsIDOMText.splitText',
|
||||||
'nsIDOMDOMImplementation.*',
|
|
||||||
'nsIDOMDOMStringList.*',
|
'nsIDOMDOMStringList.*',
|
||||||
'nsIDOMXULDocument.getBoxObjectFor',
|
'nsIDOMXULDocument.getBoxObjectFor',
|
||||||
'nsIDOMMutationRecord.*',
|
'nsIDOMMutationRecord.*',
|
||||||
|
|
Загрузка…
Ссылка в новой задаче