mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 744347 - Remove last traces of EventException; r=smaug
This commit is contained in:
parent
dfd744f4c3
commit
e24ce4be34
@ -91,7 +91,6 @@ nsDOMScriptObjectFactory::nsDOMScriptObjectFactory() :
|
|||||||
xs->RegisterExceptionProvider(provider, NS_ERROR_MODULE_DOM_XPATH);
|
xs->RegisterExceptionProvider(provider, NS_ERROR_MODULE_DOM_XPATH);
|
||||||
xs->RegisterExceptionProvider(provider, NS_ERROR_MODULE_DOM_INDEXEDDB);
|
xs->RegisterExceptionProvider(provider, NS_ERROR_MODULE_DOM_INDEXEDDB);
|
||||||
xs->RegisterExceptionProvider(provider, NS_ERROR_MODULE_XPCONNECT);
|
xs->RegisterExceptionProvider(provider, NS_ERROR_MODULE_XPCONNECT);
|
||||||
xs->RegisterExceptionProvider(provider, NS_ERROR_MODULE_DOM_EVENTS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_ASSERTION(!gExceptionProvider, "Registered twice?!");
|
NS_ASSERTION(!gExceptionProvider, "Registered twice?!");
|
||||||
@ -291,8 +290,6 @@ nsDOMScriptObjectFactory::Observe(nsISupports *aSubject,
|
|||||||
NS_ERROR_MODULE_DOM_XPATH);
|
NS_ERROR_MODULE_DOM_XPATH);
|
||||||
xs->UnregisterExceptionProvider(gExceptionProvider,
|
xs->UnregisterExceptionProvider(gExceptionProvider,
|
||||||
NS_ERROR_MODULE_XPCONNECT);
|
NS_ERROR_MODULE_XPCONNECT);
|
||||||
xs->UnregisterExceptionProvider(gExceptionProvider,
|
|
||||||
NS_ERROR_MODULE_DOM_EVENTS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_RELEASE(gExceptionProvider);
|
NS_RELEASE(gExceptionProvider);
|
||||||
|
@ -98,7 +98,6 @@
|
|||||||
#define NS_ERROR_MODULE_SCHEMA 31
|
#define NS_ERROR_MODULE_SCHEMA 31
|
||||||
#define NS_ERROR_MODULE_DOM_FILE 32
|
#define NS_ERROR_MODULE_DOM_FILE 32
|
||||||
#define NS_ERROR_MODULE_DOM_INDEXEDDB 33
|
#define NS_ERROR_MODULE_DOM_INDEXEDDB 33
|
||||||
#define NS_ERROR_MODULE_DOM_EVENTS 34
|
|
||||||
|
|
||||||
/* NS_ERROR_MODULE_GENERAL should be used by modules that do not
|
/* NS_ERROR_MODULE_GENERAL should be used by modules that do not
|
||||||
* care if return code values overlap. Callers of methods that
|
* care if return code values overlap. Callers of methods that
|
||||||
|
Loading…
Reference in New Issue
Block a user