mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1147572 - Remove implementation language field from DOM class info. r=jst
This commit is contained in:
parent
612d6b4090
commit
db3e30ab59
@ -43,7 +43,6 @@
|
|||||||
#include "nsIDOMDocument.h"
|
#include "nsIDOMDocument.h"
|
||||||
#include "nsIDOMEvent.h"
|
#include "nsIDOMEvent.h"
|
||||||
#include "nsIDOMEventListener.h"
|
#include "nsIDOMEventListener.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsContentUtils.h"
|
#include "nsContentUtils.h"
|
||||||
#include "nsIDOMGlobalPropertyInitializer.h"
|
#include "nsIDOMGlobalPropertyInitializer.h"
|
||||||
#include "mozilla/Attributes.h"
|
#include "mozilla/Attributes.h"
|
||||||
@ -864,14 +863,6 @@ nsDOMClassInfo::GetClassIDNoAlloc(nsCID *aClassID)
|
|||||||
return NS_ERROR_NOT_AVAILABLE;
|
return NS_ERROR_NOT_AVAILABLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsDOMClassInfo::GetImplementationLanguage(uint32_t *aImplLanguage)
|
|
||||||
{
|
|
||||||
*aImplLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDOMClassInfo::GetFlags(uint32_t *aFlags)
|
nsDOMClassInfo::GetFlags(uint32_t *aFlags)
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#include "nsAutoPtr.h"
|
#include "nsAutoPtr.h"
|
||||||
#include "nsIObjectInputStream.h"
|
#include "nsIObjectInputStream.h"
|
||||||
#include "nsIObjectOutputStream.h"
|
#include "nsIObjectOutputStream.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
|
|
||||||
#include "mozilla/ipc/BackgroundUtils.h"
|
#include "mozilla/ipc/BackgroundUtils.h"
|
||||||
#include "mozilla/ipc/URIUtils.h"
|
#include "mozilla/ipc/URIUtils.h"
|
||||||
@ -235,13 +234,6 @@ nsHostObjectURI::GetClassID(nsCID * *aClassID)
|
|||||||
return GetClassIDNoAlloc(*aClassID);
|
return GetClassIDNoAlloc(*aClassID);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsHostObjectURI::GetImplementationLanguage(uint32_t *aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsHostObjectURI::GetFlags(uint32_t *aFlags)
|
nsHostObjectURI::GetFlags(uint32_t *aFlags)
|
||||||
{
|
{
|
||||||
|
@ -148,7 +148,6 @@ this.XPCOMUtils = {
|
|||||||
contractID: classInfo.contractID,
|
contractID: classInfo.contractID,
|
||||||
classDescription: classInfo.classDescription,
|
classDescription: classInfo.classDescription,
|
||||||
classID: classInfo.classID,
|
classID: classInfo.classID,
|
||||||
implementationLanguage: Ci.nsIProgrammingLanguage.JAVASCRIPT,
|
|
||||||
flags: classInfo.flags,
|
flags: classInfo.flags,
|
||||||
QueryInterface: this.generateQI([Ci.nsIClassInfo])
|
QueryInterface: this.generateQI([Ci.nsIClassInfo])
|
||||||
};
|
};
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
#include "nsZipArchive.h"
|
#include "nsZipArchive.h"
|
||||||
#include "nsIDOMFile.h"
|
#include "nsIDOMFile.h"
|
||||||
#include "nsIDOMFileList.h"
|
#include "nsIDOMFileList.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsWindowMemoryReporter.h"
|
#include "nsWindowMemoryReporter.h"
|
||||||
#include "nsDOMClassInfo.h"
|
#include "nsDOMClassInfo.h"
|
||||||
#include "ShimInterfaceInfo.h"
|
#include "ShimInterfaceInfo.h"
|
||||||
@ -187,14 +186,6 @@ nsXPCComponents_Interfaces::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCComponents_Interfaces::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCComponents_Interfaces::GetFlags(uint32_t* aFlags)
|
nsXPCComponents_Interfaces::GetFlags(uint32_t* aFlags)
|
||||||
@ -430,14 +421,6 @@ nsXPCComponents_InterfacesByID::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCComponents_InterfacesByID::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCComponents_InterfacesByID::GetFlags(uint32_t* aFlags)
|
nsXPCComponents_InterfacesByID::GetFlags(uint32_t* aFlags)
|
||||||
@ -675,14 +658,6 @@ nsXPCComponents_Classes::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCComponents_Classes::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCComponents_Classes::GetFlags(uint32_t* aFlags)
|
nsXPCComponents_Classes::GetFlags(uint32_t* aFlags)
|
||||||
@ -900,14 +875,6 @@ nsXPCComponents_ClassesByID::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCComponents_ClassesByID::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCComponents_ClassesByID::GetFlags(uint32_t* aFlags)
|
nsXPCComponents_ClassesByID::GetFlags(uint32_t* aFlags)
|
||||||
@ -1148,14 +1115,6 @@ nsXPCComponents_Results::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCComponents_Results::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCComponents_Results::GetFlags(uint32_t* aFlags)
|
nsXPCComponents_Results::GetFlags(uint32_t* aFlags)
|
||||||
@ -1353,14 +1312,6 @@ nsXPCComponents_ID::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCComponents_ID::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCComponents_ID::GetFlags(uint32_t* aFlags)
|
nsXPCComponents_ID::GetFlags(uint32_t* aFlags)
|
||||||
@ -1569,14 +1520,6 @@ nsXPCComponents_Exception::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCComponents_Exception::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCComponents_Exception::GetFlags(uint32_t* aFlags)
|
nsXPCComponents_Exception::GetFlags(uint32_t* aFlags)
|
||||||
@ -1958,14 +1901,6 @@ nsXPCConstructor::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCConstructor::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCConstructor::GetFlags(uint32_t* aFlags)
|
nsXPCConstructor::GetFlags(uint32_t* aFlags)
|
||||||
@ -2212,14 +2147,6 @@ nsXPCComponents_Constructor::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsXPCComponents_Constructor::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsXPCComponents_Constructor::GetFlags(uint32_t* aFlags)
|
nsXPCComponents_Constructor::GetFlags(uint32_t* aFlags)
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
#include "nsContentUtils.h"
|
#include "nsContentUtils.h"
|
||||||
#include "BackstagePass.h"
|
#include "BackstagePass.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsDOMClassInfo.h"
|
#include "nsDOMClassInfo.h"
|
||||||
#include "nsIPrincipal.h"
|
#include "nsIPrincipal.h"
|
||||||
#include "mozilla/dom/BindingUtils.h"
|
#include "mozilla/dom/BindingUtils.h"
|
||||||
@ -148,14 +147,6 @@ BackstagePass::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* readonly attribute uint32_t implementationLanguage; */
|
|
||||||
NS_IMETHODIMP
|
|
||||||
BackstagePass::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* readonly attribute uint32_t flags; */
|
/* readonly attribute uint32_t flags; */
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
BackstagePass::GetFlags(uint32_t* aFlags)
|
BackstagePass::GetFlags(uint32_t* aFlags)
|
||||||
|
@ -59,7 +59,6 @@ BlobComponent.prototype =
|
|||||||
contractID: "@mozilla.org/tests/component-blob;1",
|
contractID: "@mozilla.org/tests/component-blob;1",
|
||||||
|
|
||||||
// nsIClassInfo
|
// nsIClassInfo
|
||||||
implementationLanguage: Components.interfaces.nsIProgrammingLanguage.JAVASCRIPT,
|
|
||||||
flags: 0,
|
flags: 0,
|
||||||
|
|
||||||
getInterfaces: function getInterfaces(aCount) {
|
getInterfaces: function getInterfaces(aCount) {
|
||||||
|
@ -84,7 +84,6 @@ FileComponent.prototype =
|
|||||||
contractID: "@mozilla.org/tests/component-file;1",
|
contractID: "@mozilla.org/tests/component-file;1",
|
||||||
|
|
||||||
// nsIClassInfo
|
// nsIClassInfo
|
||||||
implementationLanguage: Components.interfaces.nsIProgrammingLanguage.JAVASCRIPT,
|
|
||||||
flags: 0,
|
flags: 0,
|
||||||
|
|
||||||
getInterfaces: function getInterfaces(aCount) {
|
getInterfaces: function getInterfaces(aCount) {
|
||||||
|
@ -15,7 +15,6 @@ FooComponent.prototype =
|
|||||||
contractID: "@mozilla.org/tests/module-importer;1",
|
contractID: "@mozilla.org/tests/module-importer;1",
|
||||||
|
|
||||||
// nsIClassInfo
|
// nsIClassInfo
|
||||||
implementationLanguage: Components.interfaces.nsIProgrammingLanguage.JAVASCRIPT,
|
|
||||||
flags: 0,
|
flags: 0,
|
||||||
|
|
||||||
getInterfaces: function getInterfaces(aCount) {
|
getInterfaces: function getInterfaces(aCount) {
|
||||||
@ -28,7 +27,7 @@ FooComponent.prototype =
|
|||||||
thereIsNoSuchIdentifier;
|
thereIsNoSuchIdentifier;
|
||||||
threw = false;
|
threw = false;
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
do_check_true(ex.lineNumber == 28);
|
do_check_true(ex.lineNumber == 27);
|
||||||
}
|
}
|
||||||
do_check_true(threw);
|
do_check_true(threw);
|
||||||
|
|
||||||
@ -59,7 +58,6 @@ BarComponent.prototype =
|
|||||||
contractID: "@mozilla.org/tests/module-importer;2",
|
contractID: "@mozilla.org/tests/module-importer;2",
|
||||||
|
|
||||||
// nsIClassInfo
|
// nsIClassInfo
|
||||||
implementationLanguage: Components.interfaces.nsIProgrammingLanguage.JAVASCRIPT,
|
|
||||||
flags: 0,
|
flags: 0,
|
||||||
|
|
||||||
getInterfaces: function getInterfaces(aCount) {
|
getInterfaces: function getInterfaces(aCount) {
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
#include "nsNetCID.h"
|
#include "nsNetCID.h"
|
||||||
#include "nsIObjectInputStream.h"
|
#include "nsIObjectInputStream.h"
|
||||||
#include "nsIObjectOutputStream.h"
|
#include "nsIObjectOutputStream.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "mozilla/ipc/URIUtils.h"
|
#include "mozilla/ipc/URIUtils.h"
|
||||||
|
|
||||||
using namespace mozilla::ipc;
|
using namespace mozilla::ipc;
|
||||||
@ -195,13 +194,6 @@ nsJARURI::GetClassID(nsCID * *aClassID)
|
|||||||
return GetClassIDNoAlloc(*aClassID);
|
return GetClassIDNoAlloc(*aClassID);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsJARURI::GetImplementationLanguage(uint32_t *aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsJARURI::GetFlags(uint32_t *aFlags)
|
nsJARURI::GetFlags(uint32_t *aFlags)
|
||||||
{
|
{
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
#include "nsIObjectOutputStream.h"
|
#include "nsIObjectOutputStream.h"
|
||||||
#include "nsEscape.h"
|
#include "nsEscape.h"
|
||||||
#include "nsError.h"
|
#include "nsError.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsIIPCSerializableURI.h"
|
#include "nsIIPCSerializableURI.h"
|
||||||
#include "mozilla/MemoryReporting.h"
|
#include "mozilla/MemoryReporting.h"
|
||||||
#include "mozilla/ipc/URIUtils.h"
|
#include "mozilla/ipc/URIUtils.h"
|
||||||
@ -590,13 +589,6 @@ nsSimpleURI::GetClassID(nsCID * *aClassID)
|
|||||||
return GetClassIDNoAlloc(*aClassID);
|
return GetClassIDNoAlloc(*aClassID);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsSimpleURI::GetImplementationLanguage(uint32_t *aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsSimpleURI::GetFlags(uint32_t *aFlags)
|
nsSimpleURI::GetFlags(uint32_t *aFlags)
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
#include "nsISocketProvider.h"
|
#include "nsISocketProvider.h"
|
||||||
#include "nsISSLSocketControl.h"
|
#include "nsISSLSocketControl.h"
|
||||||
#include "nsIPipe.h"
|
#include "nsIPipe.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsIClassInfoImpl.h"
|
#include "nsIClassInfoImpl.h"
|
||||||
#include "nsURLHelper.h"
|
#include "nsURLHelper.h"
|
||||||
#include "nsIDNSService.h"
|
#include "nsIDNSService.h"
|
||||||
@ -2466,13 +2465,6 @@ nsSocketTransport::GetClassID(nsCID * *aClassID)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsSocketTransport::GetImplementationLanguage(uint32_t *aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsSocketTransport::GetFlags(uint32_t *aFlags)
|
nsSocketTransport::GetFlags(uint32_t *aFlags)
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include "nsIIDNService.h"
|
#include "nsIIDNService.h"
|
||||||
#include "prlog.h"
|
#include "prlog.h"
|
||||||
#include "nsAutoPtr.h"
|
#include "nsAutoPtr.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsIURLParser.h"
|
#include "nsIURLParser.h"
|
||||||
#include "nsNetCID.h"
|
#include "nsNetCID.h"
|
||||||
#include "mozilla/MemoryReporting.h"
|
#include "mozilla/MemoryReporting.h"
|
||||||
@ -3208,13 +3207,6 @@ nsStandardURL::GetClassID(nsCID * *aClassID)
|
|||||||
return GetClassIDNoAlloc(*aClassID);
|
return GetClassIDNoAlloc(*aClassID);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsStandardURL::GetImplementationLanguage(uint32_t *aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsStandardURL::GetFlags(uint32_t *aFlags)
|
nsStandardURL::GetFlags(uint32_t *aFlags)
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
#include "nsIObjectInputStream.h"
|
#include "nsIObjectInputStream.h"
|
||||||
#include "nsIObjectOutputStream.h"
|
#include "nsIObjectOutputStream.h"
|
||||||
#include "nsNSSCertHelper.h"
|
#include "nsNSSCertHelper.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsIArray.h"
|
#include "nsIArray.h"
|
||||||
#include "nsComponentManagerUtils.h"
|
#include "nsComponentManagerUtils.h"
|
||||||
#include "nsReadableUtils.h"
|
#include "nsReadableUtils.h"
|
||||||
@ -476,14 +475,6 @@ TransportSecurityInfo::GetClassID(nsCID * *aClassID)
|
|||||||
return GetClassIDNoAlloc(*aClassID);
|
return GetClassIDNoAlloc(*aClassID);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
TransportSecurityInfo::GetImplementationLanguage(
|
|
||||||
uint32_t *aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
TransportSecurityInfo::GetFlags(uint32_t *aFlags)
|
TransportSecurityInfo::GetFlags(uint32_t *aFlags)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,6 @@
|
|||||||
#include "nsCertVerificationThread.h"
|
#include "nsCertVerificationThread.h"
|
||||||
#include "nsIObjectOutputStream.h"
|
#include "nsIObjectOutputStream.h"
|
||||||
#include "nsIObjectInputStream.h"
|
#include "nsIObjectInputStream.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsXULAppAPI.h"
|
#include "nsXULAppAPI.h"
|
||||||
#include "nsProxyRelease.h"
|
#include "nsProxyRelease.h"
|
||||||
#include "mozilla/Base64.h"
|
#include "mozilla/Base64.h"
|
||||||
@ -1950,13 +1949,6 @@ nsNSSCertificate::GetClassID(nsCID** aClassID)
|
|||||||
return GetClassIDNoAlloc(*aClassID);
|
return GetClassIDNoAlloc(*aClassID);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsNSSCertificate::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsNSSCertificate::GetFlags(uint32_t* aFlags)
|
nsNSSCertificate::GetFlags(uint32_t* aFlags)
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#include "nsIClassInfoImpl.h"
|
#include "nsIClassInfoImpl.h"
|
||||||
#include "nsIObjectInputStream.h"
|
#include "nsIObjectInputStream.h"
|
||||||
#include "nsIObjectOutputStream.h"
|
#include "nsIObjectOutputStream.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsISupportsPrimitives.h"
|
#include "nsISupportsPrimitives.h"
|
||||||
#include "nsNSSCertificate.h"
|
#include "nsNSSCertificate.h"
|
||||||
#include "nsString.h"
|
#include "nsString.h"
|
||||||
@ -319,14 +318,6 @@ nsNSSCertificateFakeTransport::GetClassID(nsCID** aClassID)
|
|||||||
return GetClassIDNoAlloc(*aClassID);
|
return GetClassIDNoAlloc(*aClassID);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsNSSCertificateFakeTransport::GetImplementationLanguage(
|
|
||||||
uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsNSSCertificateFakeTransport::GetFlags(uint32_t* aFlags)
|
nsNSSCertificateFakeTransport::GetFlags(uint32_t* aFlags)
|
||||||
{
|
{
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
#include "nsSSLStatus.h"
|
#include "nsSSLStatus.h"
|
||||||
#include "plstr.h"
|
#include "plstr.h"
|
||||||
#include "nsIClassInfoImpl.h"
|
#include "nsIClassInfoImpl.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsIObjectOutputStream.h"
|
#include "nsIObjectOutputStream.h"
|
||||||
#include "nsIObjectInputStream.h"
|
#include "nsIObjectInputStream.h"
|
||||||
#include "ssl.h"
|
#include "ssl.h"
|
||||||
@ -244,13 +243,6 @@ nsSSLStatus::GetClassID(nsCID** aClassID)
|
|||||||
return GetClassIDNoAlloc(*aClassID);
|
return GetClassIDNoAlloc(*aClassID);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsSSLStatus::GetImplementationLanguage(uint32_t* aImplementationLanguage)
|
|
||||||
{
|
|
||||||
*aImplementationLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsSSLStatus::GetFlags(uint32_t* aFlags)
|
nsSSLStatus::GetFlags(uint32_t* aFlags)
|
||||||
{
|
{
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
#include "nsProxyRelease.h"
|
#include "nsProxyRelease.h"
|
||||||
#include "nsThreadUtils.h"
|
#include "nsThreadUtils.h"
|
||||||
#include "nsIClassInfoImpl.h"
|
#include "nsIClassInfoImpl.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "Variant.h"
|
#include "Variant.h"
|
||||||
|
|
||||||
#include "mozIStorageError.h"
|
#include "mozIStorageError.h"
|
||||||
@ -86,13 +85,6 @@ public:
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
GetImplementationLanguage(uint32_t *_language) override
|
|
||||||
{
|
|
||||||
*_language = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
GetFlags(uint32_t *_flags) override
|
GetFlags(uint32_t *_flags) override
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#include "nsMemory.h"
|
#include "nsMemory.h"
|
||||||
#include "nsThreadUtils.h"
|
#include "nsThreadUtils.h"
|
||||||
#include "nsIClassInfoImpl.h"
|
#include "nsIClassInfoImpl.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "Variant.h"
|
#include "Variant.h"
|
||||||
|
|
||||||
#include "mozIStorageError.h"
|
#include "mozIStorageError.h"
|
||||||
@ -88,13 +87,6 @@ public:
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
GetImplementationLanguage(uint32_t *_language) override
|
|
||||||
{
|
|
||||||
*_language = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
GetFlags(uint32_t *_flags) override
|
GetFlags(uint32_t *_flags) override
|
||||||
{
|
{
|
||||||
|
@ -753,7 +753,6 @@ xhr.prototype = {
|
|||||||
eval("this._on" + aEvent + " = aValue");
|
eval("this._on" + aEvent + " = aValue");
|
||||||
},
|
},
|
||||||
flags: Ci.nsIClassInfo.SINGLETON,
|
flags: Ci.nsIClassInfo.SINGLETON,
|
||||||
implementationLanguage: Ci.nsIProgrammingLanguage.JAVASCRIPT,
|
|
||||||
getScriptableHelper: function() null,
|
getScriptableHelper: function() null,
|
||||||
getInterfaces: function(aCount) {
|
getInterfaces: function(aCount) {
|
||||||
let interfaces = [Ci.nsISupports];
|
let interfaces = [Ci.nsISupports];
|
||||||
|
@ -3028,7 +3028,6 @@ xhr.prototype = {
|
|||||||
eval("this._on" + aEvent + " = aValue");
|
eval("this._on" + aEvent + " = aValue");
|
||||||
},
|
},
|
||||||
flags: Ci.nsIClassInfo.SINGLETON,
|
flags: Ci.nsIClassInfo.SINGLETON,
|
||||||
implementationLanguage: Ci.nsIProgrammingLanguage.JAVASCRIPT,
|
|
||||||
getScriptableHelper: function() null,
|
getScriptableHelper: function() null,
|
||||||
getInterfaces: function(aCount) {
|
getInterfaces: function(aCount) {
|
||||||
let interfaces = [Ci.nsISupports];
|
let interfaces = [Ci.nsISupports];
|
||||||
@ -3076,7 +3075,6 @@ function UpdatePrompt(aCallback) {
|
|||||||
|
|
||||||
UpdatePrompt.prototype = {
|
UpdatePrompt.prototype = {
|
||||||
flags: Ci.nsIClassInfo.SINGLETON,
|
flags: Ci.nsIClassInfo.SINGLETON,
|
||||||
implementationLanguage: Ci.nsIProgrammingLanguage.JAVASCRIPT,
|
|
||||||
getScriptableHelper: function() null,
|
getScriptableHelper: function() null,
|
||||||
getInterfaces: function(aCount) {
|
getInterfaces: function(aCount) {
|
||||||
let interfaces = [Ci.nsISupports, Ci.nsIUpdatePrompt];
|
let interfaces = [Ci.nsISupports, Ci.nsIUpdatePrompt];
|
||||||
|
@ -14,7 +14,7 @@ interface nsIXPCScriptable;
|
|||||||
* instructions--you most likely do not want to inherit from nsIClassInfo.
|
* instructions--you most likely do not want to inherit from nsIClassInfo.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[scriptable, uuid(7a633335-18cc-4794-9ddd-26ac7cab7be6)]
|
[scriptable, uuid(a60569d7-d401-4677-ba63-2aa5971af25d)]
|
||||||
interface nsIClassInfo : nsISupports
|
interface nsIClassInfo : nsISupports
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
@ -51,12 +51,6 @@ interface nsIClassInfo : nsISupports
|
|||||||
*/
|
*/
|
||||||
readonly attribute nsCIDPtr classID;
|
readonly attribute nsCIDPtr classID;
|
||||||
|
|
||||||
/**
|
|
||||||
* Return language type from list in nsIProgrammingLanguage
|
|
||||||
*/
|
|
||||||
|
|
||||||
readonly attribute uint32_t implementationLanguage;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Bitflags for 'flags' attribute.
|
* Bitflags for 'flags' attribute.
|
||||||
*/
|
*/
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
* 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 "nsIClassInfoImpl.h"
|
#include "nsIClassInfoImpl.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
|
|
||||||
NS_IMETHODIMP_(MozExternalRefCountType)
|
NS_IMETHODIMP_(MozExternalRefCountType)
|
||||||
GenericClassInfo::AddRef()
|
GenericClassInfo::AddRef()
|
||||||
@ -59,13 +58,6 @@ GenericClassInfo::GetClassID(nsCID** aClassID)
|
|||||||
return NS_ERROR_NOT_IMPLEMENTED;
|
return NS_ERROR_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
GenericClassInfo::GetImplementationLanguage(uint32_t* aLanguage)
|
|
||||||
{
|
|
||||||
*aLanguage = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
GenericClassInfo::GetFlags(uint32_t* aFlags)
|
GenericClassInfo::GetFlags(uint32_t* aFlags)
|
||||||
{
|
{
|
||||||
|
@ -1109,13 +1109,6 @@ _class::GetClassID(nsCID** _classID) \
|
|||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
NS_IMETHODIMP \
|
NS_IMETHODIMP \
|
||||||
_class::GetImplementationLanguage(uint32_t* _language) \
|
|
||||||
{ \
|
|
||||||
*_language = nsIProgrammingLanguage::CPLUSPLUS; \
|
|
||||||
return NS_OK; \
|
|
||||||
} \
|
|
||||||
\
|
|
||||||
NS_IMETHODIMP \
|
|
||||||
_class::GetFlags(uint32_t* _flags) \
|
_class::GetFlags(uint32_t* _flags) \
|
||||||
{ \
|
{ \
|
||||||
*_flags = nsIClassInfo::THREADSAFE; \
|
*_flags = nsIClassInfo::THREADSAFE; \
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#include "nsIPipe.h"
|
#include "nsIPipe.h"
|
||||||
#include "nsIEventTarget.h"
|
#include "nsIEventTarget.h"
|
||||||
#include "nsISeekableStream.h"
|
#include "nsISeekableStream.h"
|
||||||
#include "nsIProgrammingLanguage.h"
|
|
||||||
#include "nsRefPtr.h"
|
#include "nsRefPtr.h"
|
||||||
#include "nsSegmentedBuffer.h"
|
#include "nsSegmentedBuffer.h"
|
||||||
#include "nsStreamUtils.h"
|
#include "nsStreamUtils.h"
|
||||||
|
@ -153,13 +153,6 @@ nsThreadClassInfo::GetClassID(nsCID** aResult)
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
nsThreadClassInfo::GetImplementationLanguage(uint32_t* aResult)
|
|
||||||
{
|
|
||||||
*aResult = nsIProgrammingLanguage::CPLUSPLUS;
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsThreadClassInfo::GetFlags(uint32_t* aResult)
|
nsThreadClassInfo::GetFlags(uint32_t* aResult)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user