Bug 1539884 - Part 11: Mark HTMLFormElement::Reset as CAN_RUN_SCRIPT r=masayuki

Depends on D133921

Differential Revision: https://phabricator.services.mozilla.com/D133922
This commit is contained in:
Kagami Sascha Rosylight
2021-12-16 17:17:08 +00:00
parent 6aae5e5b42
commit fc713c1725
2 changed files with 3 additions and 2 deletions

View File

@@ -360,7 +360,7 @@ class HTMLFormElement final : public nsGenericHTMLElement,
MOZ_CAN_RUN_SCRIPT void RequestSubmit(nsGenericHTMLElement* aSubmitter,
ErrorResult& aRv);
void Reset();
MOZ_CAN_RUN_SCRIPT void Reset();
bool CheckValidity() { return CheckFormValidity(nullptr); }