зеркало из https://github.com/mozilla/gecko-dev.git
Merge m-c to fx-team. a=merge
This commit is contained in:
Коммит
2a44f93838
|
@ -266,7 +266,8 @@ this.EventManager.prototype = {
|
|||
case Events.DOCUMENT_LOAD_COMPLETE:
|
||||
{
|
||||
let position = this.contentControl.vc.position;
|
||||
if (position && Utils.isInSubtree(position, aEvent.accessible)) {
|
||||
if (aEvent.accessible === aEvent.accessibleDocument ||
|
||||
(position && Utils.isInSubtree(position, aEvent.accessible))) {
|
||||
// Do not automove into the document if the virtual cursor is already
|
||||
// positioned inside it.
|
||||
break;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<project name="platform_build" path="build" remote="b2g" revision="3a2947df41a480de1457a6dcdbf46ad0af70d8e0">
|
||||
<copyfile dest="Makefile" src="core/root.mk"/>
|
||||
</project>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="fake-libdvm" path="dalvik" remote="b2g" revision="d50ae982b19f42f0b66d08b9eb306be81687869f"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="librecovery" path="librecovery" remote="b2g" revision="891e5069c0ad330d8191bf8c7b879c814258c89f"/>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<copyfile dest="Makefile" src="core/root.mk"/>
|
||||
</project>
|
||||
<project name="fake-dalvik" path="dalvik" remote="b2g" revision="ca1f327d5acc198bb4be62fa51db2c039032c9ce"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="rilproxy" path="rilproxy" remote="b2g" revision="827214fcf38d6569aeb5c6d6f31cb296d1f09272"/>
|
||||
<project name="platform_hardware_ril" path="hardware/ril" remote="b2g" revision="cd88d860656c31c7da7bb310d6a160d0011b0961"/>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</project>
|
||||
<project name="rilproxy" path="rilproxy" remote="b2g" revision="827214fcf38d6569aeb5c6d6f31cb296d1f09272"/>
|
||||
<project name="fake-libdvm" path="dalvik" remote="b2g" revision="d50ae982b19f42f0b66d08b9eb306be81687869f"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="moztt" path="external/moztt" remote="b2g" revision="562d357b72279a9e35d4af5aeecc8e1ffa2f44f1"/>
|
||||
<project name="apitrace" path="external/apitrace" remote="apitrace" revision="9f9bc14c28aed7b2571e641bfeeca81876ec48ec"/>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<project name="platform_build" path="build" remote="b2g" revision="3a2947df41a480de1457a6dcdbf46ad0af70d8e0">
|
||||
<copyfile dest="Makefile" src="core/root.mk"/>
|
||||
</project>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="fake-libdvm" path="dalvik" remote="b2g" revision="d50ae982b19f42f0b66d08b9eb306be81687869f"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="librecovery" path="librecovery" remote="b2g" revision="891e5069c0ad330d8191bf8c7b879c814258c89f"/>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<copyfile dest="Makefile" src="core/root.mk"/>
|
||||
</project>
|
||||
<project name="fake-dalvik" path="dalvik" remote="b2g" revision="ca1f327d5acc198bb4be62fa51db2c039032c9ce"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="rilproxy" path="rilproxy" remote="b2g" revision="827214fcf38d6569aeb5c6d6f31cb296d1f09272"/>
|
||||
<project name="platform_hardware_ril" path="hardware/ril" remote="b2g" revision="cd88d860656c31c7da7bb310d6a160d0011b0961"/>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<project name="platform_build" path="build" remote="b2g" revision="3a2947df41a480de1457a6dcdbf46ad0af70d8e0">
|
||||
<copyfile dest="Makefile" src="core/root.mk"/>
|
||||
</project>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="fake-libdvm" path="dalvik" remote="b2g" revision="d50ae982b19f42f0b66d08b9eb306be81687869f"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="librecovery" path="librecovery" remote="b2g" revision="891e5069c0ad330d8191bf8c7b879c814258c89f"/>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</project>
|
||||
<project name="librecovery" path="librecovery" remote="b2g" revision="891e5069c0ad330d8191bf8c7b879c814258c89f"/>
|
||||
<project name="fake-libdvm" path="dalvik" remote="b2g" revision="d50ae982b19f42f0b66d08b9eb306be81687869f"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="moztt" path="external/moztt" remote="b2g" revision="562d357b72279a9e35d4af5aeecc8e1ffa2f44f1"/>
|
||||
<project name="apitrace" path="external/apitrace" remote="apitrace" revision="9f9bc14c28aed7b2571e641bfeeca81876ec48ec"/>
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
"remote": "",
|
||||
"branch": ""
|
||||
},
|
||||
"revision": "25a5d3c030a5ece82a1114882575560b58fe185f",
|
||||
"revision": "c98710d8aeb492eef503879c8542e90818a3839c",
|
||||
"repo_path": "/integration/gaia-central"
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<copyfile dest="Makefile" src="core/root.mk"/>
|
||||
</project>
|
||||
<project name="fake-dalvik" path="dalvik" remote="b2g" revision="ca1f327d5acc198bb4be62fa51db2c039032c9ce"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="rilproxy" path="rilproxy" remote="b2g" revision="827214fcf38d6569aeb5c6d6f31cb296d1f09272"/>
|
||||
<project name="librecovery" path="librecovery" remote="b2g" revision="891e5069c0ad330d8191bf8c7b879c814258c89f"/>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<copyfile dest="Makefile" src="core/root.mk"/>
|
||||
</project>
|
||||
<project name="fake-dalvik" path="dalvik" remote="b2g" revision="ca1f327d5acc198bb4be62fa51db2c039032c9ce"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="rilproxy" path="rilproxy" remote="b2g" revision="827214fcf38d6569aeb5c6d6f31cb296d1f09272"/>
|
||||
<project name="librecovery" path="librecovery" remote="b2g" revision="891e5069c0ad330d8191bf8c7b879c814258c89f"/>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</project>
|
||||
<project name="rilproxy" path="rilproxy" remote="b2g" revision="827214fcf38d6569aeb5c6d6f31cb296d1f09272"/>
|
||||
<project name="fake-libdvm" path="dalvik" remote="b2g" revision="d50ae982b19f42f0b66d08b9eb306be81687869f"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="moztt" path="external/moztt" remote="b2g" revision="562d357b72279a9e35d4af5aeecc8e1ffa2f44f1"/>
|
||||
<project name="apitrace" path="external/apitrace" remote="apitrace" revision="9f9bc14c28aed7b2571e641bfeeca81876ec48ec"/>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<copyfile dest="Makefile" src="core/root.mk"/>
|
||||
</project>
|
||||
<project name="fake-dalvik" path="dalvik" remote="b2g" revision="ca1f327d5acc198bb4be62fa51db2c039032c9ce"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9306e431d5b559035d9656902e413816b6ca3c26"/>
|
||||
<project name="gaia.git" path="gaia" remote="mozillaorg" revision="9050edcda308b65d86577c8ed0eedc5c568d8e44"/>
|
||||
<project name="gonk-misc" path="gonk-misc" remote="b2g" revision="5883a99b6528ced9dafaed8d3ca2405fb285537e"/>
|
||||
<project name="rilproxy" path="rilproxy" remote="b2g" revision="827214fcf38d6569aeb5c6d6f31cb296d1f09272"/>
|
||||
<project name="librecovery" path="librecovery" remote="b2g" revision="891e5069c0ad330d8191bf8c7b879c814258c89f"/>
|
||||
|
|
|
@ -139,6 +139,7 @@ skip-if = os == "mac" || e10s # Bug 895426
|
|||
[browser_dbg_breakpoints-other-tabs.js]
|
||||
[browser_dbg_breakpoints-pane.js]
|
||||
[browser_dbg_breakpoints-reload.js]
|
||||
skip-if = (os == "linux") && debug # Bug 1076830
|
||||
[browser_dbg_chrome-create.js]
|
||||
[browser_dbg_chrome-debugging.js]
|
||||
[browser_dbg_clean-exit-window.js]
|
||||
|
|
|
@ -51,7 +51,6 @@ public:
|
|||
explicit nsChildContentList(nsINode* aNode)
|
||||
: mNode(aNode)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
|
|
@ -754,7 +754,6 @@ class nsDOMFileList MOZ_FINAL : public nsIDOMFileList,
|
|||
public:
|
||||
explicit nsDOMFileList(nsISupports *aParent) : mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
|
|
@ -320,7 +320,6 @@ public:
|
|||
mSubtreeRoot(MOZ_THIS_IN_INITIALIZER_LIST()),
|
||||
mSlots(nullptr)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -381,11 +380,7 @@ protected:
|
|||
* does some additional checks and fix-up that's common to all nodes. WrapNode
|
||||
* should just call the DOM binding's Wrap function.
|
||||
*/
|
||||
virtual JSObject* WrapNode(JSContext *aCx)
|
||||
{
|
||||
MOZ_ASSERT(!IsDOMBinding(), "Someone forgot to override WrapNode");
|
||||
return nullptr;
|
||||
}
|
||||
virtual JSObject* WrapNode(JSContext *aCx) = 0;
|
||||
|
||||
// Subclasses that wish to override the parent behavior should return the
|
||||
// result of GetParentObjectIntenral, which handles the XBL scope stuff.
|
||||
|
|
|
@ -54,8 +54,6 @@ Attr::Attr(nsDOMAttributeMap *aAttrMap,
|
|||
|
||||
// We don't add a reference to our content. It will tell us
|
||||
// to drop our reference when it goes away.
|
||||
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_CLASS(Attr)
|
||||
|
@ -388,7 +386,7 @@ Attr::Shutdown()
|
|||
}
|
||||
|
||||
JSObject*
|
||||
Attr::WrapObject(JSContext* aCx)
|
||||
Attr::WrapNode(JSContext* aCx)
|
||||
{
|
||||
return AttrBinding::Wrap(aCx, this);
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ public:
|
|||
virtual nsIDOMNode* AsDOMNode() { return this; }
|
||||
|
||||
// WebIDL
|
||||
virtual JSObject* WrapObject(JSContext* aCx) MOZ_OVERRIDE;
|
||||
virtual JSObject* WrapNode(JSContext* aCx) MOZ_OVERRIDE;
|
||||
|
||||
// XPCOM GetName() is OK
|
||||
// XPCOM GetValue() is OK
|
||||
|
|
|
@ -42,7 +42,6 @@ public:
|
|||
, mBaseURI(aBaseURI)
|
||||
{
|
||||
MOZ_ASSERT(aOwner);
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
|
|
@ -28,7 +28,6 @@ public:
|
|||
explicit DOMMatrixReadOnly(nsISupports* aParent)
|
||||
: mParent(aParent), mMatrix2D(new gfx::Matrix())
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
DOMMatrixReadOnly(nsISupports* aParent, const DOMMatrixReadOnly& other)
|
||||
|
@ -39,8 +38,6 @@ public:
|
|||
} else {
|
||||
mMatrix3D = new gfx::Matrix4x4(*other.mMatrix3D);
|
||||
}
|
||||
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
#define GetMatrixMember(entry2D, entry3D, default) \
|
||||
|
|
|
@ -25,7 +25,6 @@ using namespace mozilla::dom;
|
|||
DOMParser::DOMParser()
|
||||
: mAttemptedInit(false)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
DOMParser::~DOMParser()
|
||||
|
|
|
@ -84,7 +84,6 @@ private:
|
|||
explicit DOMParser(nsISupports* aOwner) : mOwner(aOwner), mAttemptedInit(false)
|
||||
{
|
||||
MOZ_ASSERT(aOwner);
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
nsresult InitInternal(nsISupports* aOwner, nsIPrincipal* prin,
|
||||
|
|
|
@ -31,7 +31,6 @@ public:
|
|||
, mZ(aZ)
|
||||
, mW(aW)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
double X() const { return mX; }
|
||||
|
|
|
@ -23,7 +23,6 @@ NS_IMPL_CYCLE_COLLECTION_UNROOT_NATIVE(DOMQuad, Release)
|
|||
DOMQuad::DOMQuad(nsISupports* aParent, CSSPoint aPoints[4])
|
||||
: mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
for (uint32_t i = 0; i < 4; ++i) {
|
||||
mPoints[i] = new DOMPoint(aParent, aPoints[i].x, aPoints[i].y);
|
||||
}
|
||||
|
@ -32,7 +31,6 @@ DOMQuad::DOMQuad(nsISupports* aParent, CSSPoint aPoints[4])
|
|||
DOMQuad::DOMQuad(nsISupports* aParent)
|
||||
: mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
DOMQuad::~DOMQuad()
|
||||
|
|
|
@ -36,7 +36,6 @@ public:
|
|||
explicit DOMRectReadOnly(nsISupports* aParent)
|
||||
: mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
nsISupports* GetParentObject() const
|
||||
|
@ -155,7 +154,6 @@ class DOMRectList MOZ_FINAL : public nsIDOMClientRectList,
|
|||
public:
|
||||
explicit DOMRectList(nsISupports *aParent) : mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
|
|
@ -21,11 +21,6 @@ protected:
|
|||
virtual ~DOMStringList();
|
||||
|
||||
public:
|
||||
DOMStringList()
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DOMStringList)
|
||||
|
||||
|
|
|
@ -876,8 +876,6 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(DestinationInsertionPointList)
|
|||
DestinationInsertionPointList::DestinationInsertionPointList(Element* aElement)
|
||||
: mParent(aElement)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
nsTArray<nsIContent*>* destPoints = aElement->GetExistingDestInsertionPoints();
|
||||
if (destPoints) {
|
||||
for (uint32_t i = 0; i < destPoints->Length(); i++) {
|
||||
|
|
|
@ -20,11 +20,6 @@ class StyleSheetList : public nsIDOMStyleSheetList
|
|||
, public nsWrapperCache
|
||||
{
|
||||
public:
|
||||
StyleSheetList()
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(StyleSheetList)
|
||||
NS_DECL_NSIDOMSTYLESHEETLIST
|
||||
|
|
|
@ -39,11 +39,6 @@ class Element;
|
|||
class nsBaseContentList : public nsINodeList
|
||||
{
|
||||
public:
|
||||
nsBaseContentList()
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
||||
// nsIDOMNodeList
|
||||
|
|
|
@ -34,7 +34,6 @@ nsDOMAttributeMap::nsDOMAttributeMap(Element* aContent)
|
|||
{
|
||||
// We don't add a reference to our content. If it goes away,
|
||||
// we'll be told to drop our reference
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,7 +13,6 @@ using namespace mozilla::dom;
|
|||
nsDOMCaretPosition::nsDOMCaretPosition(nsINode* aNode, uint32_t aOffset)
|
||||
: mOffset(aOffset), mOffsetNode(aNode), mAnonymousContentNode(nullptr)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
nsDOMCaretPosition::~nsDOMCaretPosition()
|
||||
|
|
|
@ -87,7 +87,6 @@ nsDOMFileReader::nsDOMFileReader()
|
|||
mResultArrayBuffer(nullptr)
|
||||
{
|
||||
SetDOMStringToNull(mResult);
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
nsDOMFileReader::~nsDOMFileReader()
|
||||
|
|
|
@ -37,7 +37,6 @@ public:
|
|||
nsDOMMutationRecord(nsIAtom* aType, nsISupports* aOwner)
|
||||
: mType(aType), mAttrNamespace(NullString()), mPrevValue(NullString()), mOwner(aOwner)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
nsISupports* GetParentObject() const
|
||||
|
@ -347,7 +346,6 @@ public:
|
|||
: mOwner(aOwner), mLastPendingMutation(nullptr), mPendingMutationCount(0),
|
||||
mCallback(&aCb), mWaitingForRun(false), mId(++sCount)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(nsDOMMutationObserver)
|
||||
|
|
|
@ -18,7 +18,6 @@ using namespace mozilla;
|
|||
|
||||
nsDOMSerializer::nsDOMSerializer()
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
nsDOMSerializer::~nsDOMSerializer()
|
||||
|
|
|
@ -59,7 +59,6 @@ private:
|
|||
explicit nsDOMSerializer(nsISupports* aOwner) : mOwner(aOwner)
|
||||
{
|
||||
MOZ_ASSERT(aOwner);
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
nsCOMPtr<nsISupports> mOwner;
|
||||
|
|
|
@ -24,7 +24,6 @@ nsDOMTokenList::nsDOMTokenList(Element* aElement, nsIAtom* aAttrAtom)
|
|||
{
|
||||
// We don't add a reference to our element. If it goes away,
|
||||
// we'll be told to drop our reference
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
nsDOMTokenList::~nsDOMTokenList() { }
|
||||
|
|
|
@ -16,7 +16,6 @@ nsFormData::nsFormData(nsISupports* aOwner)
|
|||
: nsFormSubmission(NS_LITERAL_CSTRING("UTF-8"), nullptr)
|
||||
, mOwner(aOwner)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
|
@ -2674,8 +2674,6 @@ nsINode::GetElementById(const nsAString& aId)
|
|||
JSObject*
|
||||
nsINode::WrapObject(JSContext *aCx)
|
||||
{
|
||||
MOZ_ASSERT(IsDOMBinding());
|
||||
|
||||
// Make sure one of these is true
|
||||
// (1) our owner document has a script handling object,
|
||||
// (2) Our owner document has had a script handling object, or has been marked
|
||||
|
|
|
@ -103,6 +103,7 @@ nsInProcessTabChildGlobal::nsInProcessTabChildGlobal(nsIDocShell* aShell,
|
|||
: mDocShell(aShell), mInitialized(false), mLoadingScript(false),
|
||||
mOwner(aOwner), mChromeMessageManager(aChrome)
|
||||
{
|
||||
SetIsNotDOMBinding();
|
||||
mozilla::HoldJSObjects(this);
|
||||
|
||||
// If owner corresponds to an <iframe mozbrowser> or <iframe mozapp>, we'll
|
||||
|
|
|
@ -154,6 +154,10 @@ public:
|
|||
|
||||
return mGlobal->GetJSObject();
|
||||
}
|
||||
virtual JSObject* WrapObject(JSContext* cx) MOZ_OVERRIDE
|
||||
{
|
||||
MOZ_CRASH("nsInProcessTabChildGlobal doesn't use DOM bindings!");
|
||||
}
|
||||
protected:
|
||||
virtual ~nsInProcessTabChildGlobal();
|
||||
|
||||
|
|
|
@ -3451,9 +3451,6 @@ void
|
|||
nsObjectLoadingContent::SetupProtoChain(JSContext* aCx,
|
||||
JS::Handle<JSObject*> aObject)
|
||||
{
|
||||
MOZ_ASSERT(nsCOMPtr<nsIContent>(do_QueryInterface(
|
||||
static_cast<nsIObjectLoadingContent*>(this)))->IsDOMBinding());
|
||||
|
||||
if (mType != eType_Plugin) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -57,7 +57,6 @@ public:
|
|||
, mAssertNextInsertOrAppendNode(nullptr)
|
||||
#endif
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
MOZ_ASSERT(aNode, "range isn't in a document!");
|
||||
mOwner = aNode->OwnerDoc();
|
||||
}
|
||||
|
|
|
@ -307,7 +307,6 @@ nsXMLHttpRequest::nsXMLHttpRequest()
|
|||
mIsMappedArrayBuffer(false),
|
||||
mXPCOMifier(nullptr)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
#ifdef DEBUG
|
||||
StaticAssertions();
|
||||
#endif
|
||||
|
|
|
@ -115,6 +115,21 @@ function xray_test()
|
|||
sendSyncMessage("cpows:xray_test", {}, {element: element});
|
||||
}
|
||||
|
||||
function symbol_test()
|
||||
{
|
||||
let iterator = Symbol.iterator;
|
||||
let named = Symbol.for("cpow-test");
|
||||
// let unique = Symbol();
|
||||
|
||||
let object = {
|
||||
[iterator]: iterator,
|
||||
[named]: named,
|
||||
// [unique]: unique,
|
||||
// "unique": unique
|
||||
};
|
||||
sendSyncMessage("cpows:symbol_test", {}, object);
|
||||
}
|
||||
|
||||
// Parent->Child references should go X->parent.privilegedJunkScope->child.privilegedJunkScope->Y
|
||||
// Child->Parent references should go X->child.privilegedJunkScope->parent.unprivilegedJunkScope->Y
|
||||
function compartment_test()
|
||||
|
|
|
@ -205,6 +205,13 @@
|
|||
is(element.foo, undefined, "DOM element does not expose content properties");
|
||||
}
|
||||
|
||||
function recvSymbolTest(message) {
|
||||
let object = message.objects;
|
||||
is(object[Symbol.iterator], Symbol.iterator, "Should use Symbol.iterator");
|
||||
is(Symbol.keyFor(object[Symbol.for("cpow-test")]), "cpow-test", "Symbols aren't registered correctly");
|
||||
// is(object.unique, object[object.unique], "Unique symbols as ids and values don't seem to work");
|
||||
}
|
||||
|
||||
let systemGlobal = this;
|
||||
function recvCompartmentTest(message) {
|
||||
let getUnprivilegedObject = message.objects.getUnprivilegedObject;
|
||||
|
@ -300,6 +307,7 @@
|
|||
mm.addMessageListener("cpows:dom_test", recvDomTest);
|
||||
mm.addMessageListener("cpows:dom_test_after_gc", recvDomTestAfterGC);
|
||||
mm.addMessageListener("cpows:xray_test", recvXrayTest);
|
||||
mm.addMessageListener("cpows:symbol_test", recvSymbolTest);
|
||||
mm.addMessageListener("cpows:compartment_test", recvCompartmentTest);
|
||||
mm.addMessageListener("cpows:regexp_test", recvRegExpTest);
|
||||
mm.addMessageListener("cpows:lifetime_test_1", recvLifetimeTest1);
|
||||
|
|
|
@ -46,7 +46,7 @@ window.onload = function () {
|
|||
});
|
||||
ok(scripts.length > 0, "Should be able to find script");
|
||||
|
||||
is(scripts[0].sourceMapURL, "foo.js.map");
|
||||
is(scripts[0].source.sourceMapURL, "foo.js.map");
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,6 @@ HTMLCanvasPrintState::HTMLCanvasPrintState(HTMLCanvasElement* aCanvas,
|
|||
: mIsDone(false), mPendingNotify(false), mCanvas(aCanvas),
|
||||
mContext(aContext), mCallback(aCallback)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
HTMLCanvasPrintState::~HTMLCanvasPrintState()
|
||||
|
|
|
@ -24,7 +24,6 @@ using namespace mozilla::dom;
|
|||
HTMLContentElement::HTMLContentElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
|
||||
: nsGenericHTMLElement(aNodeInfo), mValidSelector(true), mIsInsertionPoint(false)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
HTMLContentElement::~HTMLContentElement()
|
||||
|
@ -312,7 +311,6 @@ DistributedContentList::DistributedContentList(HTMLContentElement* aHostElement)
|
|||
: mParent(aHostElement)
|
||||
{
|
||||
MOZ_COUNT_CTOR(DistributedContentList);
|
||||
SetIsDOMBinding();
|
||||
|
||||
if (aHostElement->IsInsertionPoint()) {
|
||||
if (aHostElement->MatchedNodes().IsEmpty()) {
|
||||
|
|
|
@ -76,7 +76,6 @@ HTMLFormControlsCollection::HTMLFormControlsCollection(HTMLFormElement* aForm)
|
|||
, mElements(8)
|
||||
, mNameLookupTable(HTMLFormElement::FORM_CONTROL_LIST_HASHTABLE_LENGTH)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
HTMLFormControlsCollection::~HTMLFormControlsCollection()
|
||||
|
|
|
@ -2067,14 +2067,15 @@ HTMLFormElement::GetNextRadioButton(const nsAString& aName,
|
|||
index = 0;
|
||||
}
|
||||
radio = HTMLInputElement::FromContentOrNull(radioGroup->Item(index));
|
||||
if (!radio)
|
||||
isRadio = radio && radio->GetType() == NS_FORM_INPUT_RADIO;
|
||||
if (!isRadio) {
|
||||
continue;
|
||||
}
|
||||
|
||||
isRadio = radio->GetType() == NS_FORM_INPUT_RADIO;
|
||||
if (!isRadio)
|
||||
continue;
|
||||
|
||||
} while ((radio->Disabled() && radio != currentRadio) || !isRadio);
|
||||
nsAutoString name;
|
||||
radio->GetName(name);
|
||||
isRadio = aName.Equals(name);
|
||||
} while (!isRadio || (radio->Disabled() && radio != currentRadio));
|
||||
|
||||
NS_IF_ADDREF(*aRadioOut = radio);
|
||||
return NS_OK;
|
||||
|
|
|
@ -35,8 +35,6 @@ namespace dom {
|
|||
|
||||
HTMLOptionsCollection::HTMLOptionsCollection(HTMLSelectElement* aSelect)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
// Do not maintain a reference counted reference. When
|
||||
// the select goes away, it will let us know.
|
||||
mSelect = aSelect;
|
||||
|
|
|
@ -46,7 +46,6 @@ HTMLPropertiesCollection::HTMLPropertiesCollection(nsGenericHTMLElement* aRoot)
|
|||
, mDoc(aRoot->GetUncomposedDoc())
|
||||
, mIsDirty(true)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
mNames = new PropertyStringList(this);
|
||||
if (mDoc) {
|
||||
mDoc->AddMutationObserver(this);
|
||||
|
@ -311,7 +310,6 @@ PropertyNodeList::PropertyNodeList(HTMLPropertiesCollection* aCollection,
|
|||
mParent(aParent),
|
||||
mIsDirty(true)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
if (mDoc) {
|
||||
mDoc->AddMutationObserver(this);
|
||||
}
|
||||
|
|
|
@ -17,7 +17,6 @@ using namespace mozilla::dom;
|
|||
HTMLShadowElement::HTMLShadowElement(already_AddRefed<mozilla::dom::NodeInfo>& aNodeInfo)
|
||||
: nsGenericHTMLElement(aNodeInfo), mIsInsertionPoint(false)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
HTMLShadowElement::~HTMLShadowElement()
|
||||
|
|
|
@ -73,7 +73,6 @@ TableRowsCollection::TableRowsCollection(HTMLTableElement *aParent)
|
|||
nsGkAtoms::tr,
|
||||
false))
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
TableRowsCollection::~TableRowsCollection()
|
||||
|
|
|
@ -25,7 +25,6 @@ MediaError::MediaError(HTMLMediaElement* aParent, uint16_t aCode)
|
|||
: mParent(aParent)
|
||||
, mCode(aCode)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP MediaError::GetCode(uint16_t* aCode)
|
||||
|
|
|
@ -841,7 +841,6 @@ NS_INTERFACE_MAP_END
|
|||
UndoManager::UndoManager(nsIContent* aNode)
|
||||
: mHostNode(aNode), mInTransaction(false), mIsDisconnected(false)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
mTxnManager = new nsTransactionManager();
|
||||
}
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ NS_INTERFACE_MAP_END
|
|||
ValidityState::ValidityState(nsIConstraintValidation* aConstraintValidation)
|
||||
: mConstraintValidation(aConstraintValidation)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
@ -55,8 +55,6 @@ nsDOMStringMap::nsDOMStringMap(nsGenericHTMLElement* aElement)
|
|||
: mElement(aElement),
|
||||
mRemovingProp(false)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
mElement->AddMutationObserver(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -94,6 +94,10 @@ nsHTMLDNSPrefetch::Shutdown()
|
|||
bool
|
||||
nsHTMLDNSPrefetch::IsAllowed (nsIDocument *aDocument)
|
||||
{
|
||||
if (NS_IsAppOffline(aDocument->NodePrincipal())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// There is no need to do prefetch on non UI scenarios such as XMLHttpRequest.
|
||||
return aDocument->IsDNSPrefetchAllowed() && aDocument->GetWindow();
|
||||
}
|
||||
|
|
|
@ -14,16 +14,30 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=343444
|
|||
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=343444">Mozilla Bug 343444</a>
|
||||
<p id="display"></p>
|
||||
<form>
|
||||
<input type="radio" name="testradio" id="start"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<input type="radio" name="testradio"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<input type="radio" name="testradio"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<input type="radio" name="testradio"></input>
|
||||
<input type="radio" name="testradio"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<fieldset id="testradio">
|
||||
<input type="radio" name="testradio" id="start"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<input type="radio" name="testradio"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<input type="radio" name="testradio"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
<input type="radio" name="testradio"></input>
|
||||
<input type="radio" name="testradio"></input>
|
||||
<input type="text" name="testradio"></input>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<input type="radio" name="testtwo" id="start2"></input>
|
||||
<input type="radio" name="testtwo"></input>
|
||||
<input type="radio" name="error" id="testtwo"></input>
|
||||
<input type="radio" name="testtwo" id="end"></input>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<input type="radio" name="testthree" id="start3"></input>
|
||||
<input type="radio" name="errorthree" id="testthree"></input>
|
||||
</fieldset>
|
||||
</form>
|
||||
<script class="testbody" type="text/javascript">
|
||||
/** Test for Bug 343444 **/
|
||||
|
@ -31,11 +45,24 @@ document.getElementById("start").focus();
|
|||
var count=0;
|
||||
while (count < 2) {
|
||||
sendKey("DOWN");
|
||||
ok(document.activeElement.type == "radio", "radioGroup should ignore non-radio input fields");
|
||||
is(document.activeElement.type, "radio", "radioGroup should ignore non-radio input fields");
|
||||
if (document.activeElement.id == "start") {
|
||||
count++;
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById("start2").focus();
|
||||
count = 0;
|
||||
while (count < 3) {
|
||||
is(document.activeElement.name, "testtwo",
|
||||
"radioGroup should only contain elements with the same @name")
|
||||
sendKey("DOWN");
|
||||
count++;
|
||||
}
|
||||
|
||||
document.getElementById("start3").focus();
|
||||
sendKey("DOWN");
|
||||
is(document.activeElement.name, "testthree", "we don't have an infinite-loop");
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
|
|
|
@ -18,7 +18,6 @@ HTMLAllCollection::HTMLAllCollection(nsHTMLDocument* aDocument)
|
|||
: mDocument(aDocument)
|
||||
{
|
||||
MOZ_ASSERT(mDocument);
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
HTMLAllCollection::~HTMLAllCollection()
|
||||
|
|
|
@ -127,7 +127,6 @@ DOMMediaStream::DOMMediaStream()
|
|||
mStream(nullptr), mHintContents(0), mTrackTypesAvailable(0),
|
||||
mNotifiedOfMediaStreamGraphShutdown(false)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
DOMMediaStream::~DOMMediaStream()
|
||||
|
|
|
@ -15,8 +15,6 @@ namespace dom {
|
|||
MediaStreamTrack::MediaStreamTrack(DOMMediaStream* aStream, TrackID aTrackID)
|
||||
: mStream(aStream), mTrackID(aTrackID), mEnded(false), mEnabled(true)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
memset(&mID, 0, sizeof(mID));
|
||||
|
||||
nsresult rv;
|
||||
|
|
|
@ -43,7 +43,6 @@ void
|
|||
MediaTrack::Init(nsPIDOMWindow* aOwnerWindow)
|
||||
{
|
||||
BindToOwner(aOwnerWindow);
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
} // namespace dom
|
||||
|
|
|
@ -35,7 +35,6 @@ NS_INTERFACE_MAP_END
|
|||
|
||||
TextTrackCueList::TextTrackCueList(nsISupports* aParent) : mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
TextTrackCueList::~TextTrackCueList()
|
||||
|
|
|
@ -46,7 +46,6 @@ TextTrackRegion::TextTrackRegion(nsISupports* aGlobal)
|
|||
, mViewportAnchorX(0)
|
||||
, mViewportAnchorY(100)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -25,7 +25,6 @@ VideoPlaybackQuality::VideoPlaybackQuality(HTMLMediaElement* aElement,
|
|||
, mDroppedFrames(aDroppedFrames)
|
||||
, mCorruptedFrames(aCorruptedFrames)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
HTMLMediaElement*
|
||||
|
|
|
@ -15,7 +15,6 @@ MediaKeyError::MediaKeyError(EventTarget* aOwner, uint32_t aSystemCode)
|
|||
: Event(aOwner, nullptr, nullptr)
|
||||
, mSystemCode(aSystemCode)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
InitEvent(NS_LITERAL_STRING("error"), false, false);
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ MediaKeys::MediaKeys(nsPIDOMWindow* aParent, const nsAString& aKeySystem)
|
|||
, mKeySystem(aKeySystem)
|
||||
, mCreatePromiseId(0)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
static PLDHashOperator
|
||||
|
|
|
@ -48,7 +48,6 @@ AudioBuffer::AudioBuffer(AudioContext* aContext, uint32_t aNumberOfChannels,
|
|||
mSampleRate(aSampleRate)
|
||||
{
|
||||
mJSChannels.SetCapacity(aNumberOfChannels);
|
||||
SetIsDOMBinding();
|
||||
mozilla::HoldJSObjects(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ AudioListener::AudioListener(AudioContext* aContext)
|
|||
, mSpeedOfSound(343.3) // meters/second
|
||||
{
|
||||
MOZ_ASSERT(aContext);
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
JSObject*
|
||||
|
|
|
@ -72,7 +72,6 @@ AudioNode::AudioNode(AudioContext* aContext,
|
|||
{
|
||||
MOZ_ASSERT(aContext);
|
||||
DOMEventTargetHelper::BindToOwner(aContext->GetParentObject());
|
||||
SetIsDOMBinding();
|
||||
aContext->UpdateNodeCount(1);
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,6 @@ AudioParam::AudioParam(AudioNode* aNode,
|
|||
, mCallback(aCallback)
|
||||
, mDefaultValue(aDefaultValue)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
AudioParam::~AudioParam()
|
||||
|
|
|
@ -28,7 +28,6 @@ AudioProcessingEvent::AudioProcessingEvent(ScriptProcessorNode* aOwner,
|
|||
, mPlaybackTime(0.0)
|
||||
, mNode(aOwner)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
AudioProcessingEvent::~AudioProcessingEvent()
|
||||
|
|
|
@ -25,7 +25,6 @@ OfflineAudioCompletionEvent::OfflineAudioCompletionEvent(AudioContext* aOwner,
|
|||
WidgetEvent* aEvent)
|
||||
: Event(aOwner, aPresContext, aEvent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
OfflineAudioCompletionEvent::~OfflineAudioCompletionEvent()
|
||||
|
|
|
@ -24,7 +24,6 @@ PeriodicWave::PeriodicWave(AudioContext* aContext,
|
|||
: mContext(aContext)
|
||||
{
|
||||
MOZ_ASSERT(aContext);
|
||||
SetIsDOMBinding();
|
||||
|
||||
// Caller should have checked this and thrown.
|
||||
MOZ_ASSERT(aLength > 0);
|
||||
|
|
|
@ -23,7 +23,6 @@ NS_INTERFACE_MAP_END
|
|||
SpeechGrammar::SpeechGrammar(nsISupports* aParent)
|
||||
: mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
SpeechGrammar::~SpeechGrammar()
|
||||
|
|
|
@ -27,7 +27,6 @@ SpeechGrammarList::SpeechGrammarList(nsISupports* aParent, nsISpeechRecognitionS
|
|||
: mParent(aParent)
|
||||
{
|
||||
this->mRecognitionService = aRecognitionService;
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
SpeechGrammarList::~SpeechGrammarList()
|
||||
|
|
|
@ -26,7 +26,6 @@ SpeechRecognitionAlternative::SpeechRecognitionAlternative(SpeechRecognition* aP
|
|||
, mConfidence(0)
|
||||
, mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
SpeechRecognitionAlternative::~SpeechRecognitionAlternative()
|
||||
|
|
|
@ -23,7 +23,6 @@ NS_INTERFACE_MAP_END
|
|||
SpeechRecognitionResult::SpeechRecognitionResult(SpeechRecognition* aParent)
|
||||
: mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
SpeechRecognitionResult::~SpeechRecognitionResult()
|
||||
|
|
|
@ -24,7 +24,6 @@ NS_INTERFACE_MAP_END
|
|||
SpeechRecognitionResultList::SpeechRecognitionResultList(SpeechRecognition* aParent)
|
||||
: mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
SpeechRecognitionResultList::~SpeechRecognitionResultList()
|
||||
|
|
|
@ -77,7 +77,6 @@ NS_IMPL_CYCLE_COLLECTING_RELEASE(SpeechSynthesis)
|
|||
SpeechSynthesis::SpeechSynthesis(nsPIDOMWindow* aParent)
|
||||
: mParent(aParent)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
SpeechSynthesis::~SpeechSynthesis()
|
||||
|
|
|
@ -35,7 +35,6 @@ SpeechSynthesisUtterance::SpeechSynthesisUtterance(nsPIDOMWindow* aOwnerWindow,
|
|||
, mState(STATE_NONE)
|
||||
, mPaused(false)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
SpeechSynthesisUtterance::~SpeechSynthesisUtterance() {}
|
||||
|
|
|
@ -24,7 +24,6 @@ SpeechSynthesisVoice::SpeechSynthesisVoice(nsISupports* aParent,
|
|||
: mParent(aParent)
|
||||
, mUri(aUri)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
SpeechSynthesisVoice::~SpeechSynthesisVoice()
|
||||
|
|
|
@ -177,7 +177,6 @@ private:
|
|||
, mAttrEnum(aAttrEnum)
|
||||
, mAxis(aAxis)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
~DOMSVGAnimatedLengthList();
|
||||
|
|
|
@ -107,7 +107,6 @@ private:
|
|||
, mElement(aElement)
|
||||
, mAttrEnum(aAttrEnum)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
~DOMSVGAnimatedNumberList();
|
||||
|
|
|
@ -112,8 +112,6 @@ DOMSVGLength::DOMSVGLength(DOMSVGLengthList *aList,
|
|||
aListIndex <= MaxListIndex(), "bad arg");
|
||||
|
||||
NS_ABORT_IF_FALSE(IndexIsValid(), "Bad index for DOMSVGNumber!");
|
||||
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
DOMSVGLength::DOMSVGLength()
|
||||
|
@ -125,7 +123,6 @@ DOMSVGLength::DOMSVGLength()
|
|||
, mValue(0.0f)
|
||||
, mVal(nullptr)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
DOMSVGLength::DOMSVGLength(nsSVGLength2* aVal, nsSVGElement* aSVGElement,
|
||||
|
@ -139,7 +136,6 @@ DOMSVGLength::DOMSVGLength(nsSVGLength2* aVal, nsSVGElement* aSVGElement,
|
|||
, mVal(aVal)
|
||||
, mSVGElement(aSVGElement)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
DOMSVGLength::~DOMSVGLength()
|
||||
|
|
|
@ -61,8 +61,6 @@ public:
|
|||
const SVGLengthList &aInternalList)
|
||||
: mAList(aAList)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
// aInternalList must be passed in explicitly because we can't use
|
||||
// InternalList() here. (Because it depends on IsAnimValList, which depends
|
||||
// on this object having been assigned to aAList's mBaseVal or mAnimVal,
|
||||
|
|
|
@ -98,8 +98,6 @@ DOMSVGNumber::DOMSVGNumber(DOMSVGNumberList *aList,
|
|||
aListIndex <= MaxListIndex(), "bad arg");
|
||||
|
||||
NS_ABORT_IF_FALSE(IndexIsValid(), "Bad index for DOMSVGNumber!");
|
||||
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
DOMSVGNumber::DOMSVGNumber(nsISupports* aParent)
|
||||
|
@ -110,7 +108,6 @@ DOMSVGNumber::DOMSVGNumber(nsISupports* aParent)
|
|||
, mIsAnimValItem(false)
|
||||
, mValue(0.0f)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
/* static */ already_AddRefed<DOMSVGNumber>
|
||||
|
|
|
@ -61,8 +61,6 @@ public:
|
|||
const SVGNumberList &aInternalList)
|
||||
: mAList(aAList)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
// aInternalList must be passed in explicitly because we can't use
|
||||
// InternalList() here. (Because it depends on IsAnimValList, which depends
|
||||
// on this object having been assigned to aAList's mBaseVal or mAnimVal,
|
||||
|
|
|
@ -79,7 +79,6 @@ DOMSVGPathSeg::DOMSVGPathSeg(DOMSVGPathSegList *aList,
|
|||
, mListIndex(aListIndex)
|
||||
, mIsAnimValItem(aIsAnimValItem)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
// These shifts are in sync with the members in the header.
|
||||
NS_ABORT_IF_FALSE(aList &&
|
||||
aListIndex <= MaxListIndex(), "bad arg");
|
||||
|
@ -92,7 +91,6 @@ DOMSVGPathSeg::DOMSVGPathSeg()
|
|||
, mListIndex(0)
|
||||
, mIsAnimValItem(false)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -170,8 +170,6 @@ private:
|
|||
: mElement(aElement)
|
||||
, mIsAnimValList(aIsAnimValList)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
InternalListWillChangeTo(InternalList()); // Sync mItems
|
||||
}
|
||||
|
||||
|
|
|
@ -172,8 +172,6 @@ private:
|
|||
: mElement(aElement)
|
||||
, mIsAnimValList(aIsAnimValList)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
InternalListWillChangeTo(InternalList()); // Sync mItems
|
||||
}
|
||||
|
||||
|
|
|
@ -100,7 +100,6 @@ private:
|
|||
, mAttrEnum(aAttrEnum)
|
||||
, mIsConditionalProcessingAttribute(aIsConditionalProcessingAttribute)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
~DOMSVGStringList();
|
||||
|
|
|
@ -56,8 +56,6 @@ public:
|
|||
const SVGTransformList &aInternalList)
|
||||
: mAList(aAList)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
|
||||
// aInternalList must be passed in explicitly because we can't use
|
||||
// InternalList() here. (Because it depends on IsAnimValList, which depends
|
||||
// on this object having been assigned to aAList's mBaseVal or mAnimVal,
|
||||
|
|
|
@ -30,7 +30,6 @@ public:
|
|||
SVGAngle(nsSVGAngle* aVal, nsSVGElement *aSVGElement, AngleType aType)
|
||||
: mVal(aVal), mSVGElement(aSVGElement), mType(aType)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
// WebIDL
|
||||
|
|
|
@ -26,7 +26,6 @@ public:
|
|||
SVGAnimatedAngle(nsSVGAngle* aVal, nsSVGElement *aSVGElement)
|
||||
: mVal(aVal), mSVGElement(aSVGElement)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
// WebIDL
|
||||
|
|
|
@ -22,7 +22,6 @@ class SVGAnimatedBoolean MOZ_FINAL : public nsWrapperCache
|
|||
SVGAnimatedBoolean(nsSVGBoolean* aVal, nsSVGElement *aSVGElement)
|
||||
: mVal(aVal), mSVGElement(aSVGElement)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
|
||||
// WebIDL
|
||||
|
|
|
@ -37,7 +37,6 @@ protected:
|
|||
explicit SVGAnimatedEnumeration(nsSVGElement* aSVGElement)
|
||||
: mSVGElement(aSVGElement)
|
||||
{
|
||||
SetIsDOMBinding();
|
||||
}
|
||||
virtual ~SVGAnimatedEnumeration() {};
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче