mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 1418558 part 2. Add MOZ_CAN_RUN_SCRIPT annotations to HTMLImageElement methods that call GetPrimaryFrame. r=mystor
MozReview-Commit-ID: GxcrOxjTYDm
This commit is contained in:
parent
723521145b
commit
eefe007914
@ -241,8 +241,8 @@ public:
|
||||
return GetReferrerPolicyAsEnum();
|
||||
}
|
||||
|
||||
int32_t X();
|
||||
int32_t Y();
|
||||
MOZ_CAN_RUN_SCRIPT int32_t X();
|
||||
MOZ_CAN_RUN_SCRIPT int32_t Y();
|
||||
void GetLowsrc(nsAString& aLowsrc)
|
||||
{
|
||||
GetURIAttr(nsGkAtoms::lowsrc, nullptr, aLowsrc);
|
||||
@ -376,7 +376,7 @@ protected:
|
||||
// only that it is valid.
|
||||
bool TryCreateResponsiveSelector(nsIContent *aSourceNode);
|
||||
|
||||
CSSIntPoint GetXY();
|
||||
MOZ_CAN_RUN_SCRIPT CSSIntPoint GetXY();
|
||||
virtual JSObject* WrapNode(JSContext *aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
void UpdateFormOwner();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user