зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 52d86f152c2d because it included bits that shouldn't have been in there leading to a CLOSED TREE.
MozReview-Commit-ID: KWl43hdIGN2
This commit is contained in:
Родитель
916d8bacc7
Коммит
15f6ca70fd
|
@ -75,7 +75,7 @@ public:
|
|||
void Remove(const nsAString& aToken, mozilla::ErrorResult& aError);
|
||||
void Remove(const nsTArray<nsString>& aTokens,
|
||||
mozilla::ErrorResult& aError);
|
||||
bool Replace(const nsAString& aToken,
|
||||
void Replace(const nsAString& aToken,
|
||||
const nsAString& aNewToken,
|
||||
mozilla::ErrorResult& aError);
|
||||
bool Toggle(const nsAString& aToken,
|
||||
|
@ -99,7 +99,7 @@ protected:
|
|||
const nsTArray<nsString>& aTokens);
|
||||
void RemoveInternal(const nsAttrValue* aAttr,
|
||||
const nsTArray<nsString>& aTokens);
|
||||
bool ReplaceInternal(const nsAttrValue* aAttr,
|
||||
void ReplaceInternal(const nsAttrValue* aAttr,
|
||||
const nsAString& aToken,
|
||||
const nsAString& aNewToken);
|
||||
inline const nsAttrValue* GetParsedAttr();
|
||||
|
|
|
@ -246,17 +246,6 @@ Event::GetTarget(nsIDOMEventTarget** aTarget)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
bool
|
||||
Event::IsSrcElementEnabled(JSContext* /* unused */, JSObject* /* unused */)
|
||||
{
|
||||
// Not a pref, because that's a pain on workers.
|
||||
#ifdef NIGHTLY_BUILD
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
EventTarget*
|
||||
Event::GetCurrentTarget() const
|
||||
{
|
||||
|
|
|
@ -171,7 +171,6 @@ public:
|
|||
// void GetType(nsString& aRetval) {}
|
||||
|
||||
EventTarget* GetTarget() const;
|
||||
static bool IsSrcElementEnabled(JSContext* /* unused */, JSObject* /* unused */);
|
||||
EventTarget* GetCurrentTarget() const;
|
||||
|
||||
void ComposedPath(nsTArray<RefPtr<EventTarget>>& aPath);
|
||||
|
|
|
@ -17,8 +17,6 @@ interface Event {
|
|||
readonly attribute DOMString type;
|
||||
[Pure]
|
||||
readonly attribute EventTarget? target;
|
||||
[Pure, BinaryName="target", Func="Event::IsSrcElementEnabled"]
|
||||
readonly attribute EventTarget? srcElement;
|
||||
[Pure]
|
||||
readonly attribute EventTarget? currentTarget;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче