-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Inline dispatch_load_event and dispatch_error_event found in htmlscriptelement.rs #43280
Copy link
Copy link
Closed
Labels
A-content/scriptRelated to the script threadRelated to the script threadC-assignedThere is someone working on resolving the issueThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.Straightforward. Recommended for a new contributor.I-cleanupNo impact; the issue is one of maintainability or tidiness.No impact; the issue is one of maintainability or tidiness.good first issueNewcomer-friendly issues.Newcomer-friendly issues.
Metadata
Metadata
Assignees
Labels
A-content/scriptRelated to the script threadRelated to the script threadC-assignedThere is someone working on resolving the issueThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.Straightforward. Recommended for a new contributor.I-cleanupNo impact; the issue is one of maintainability or tidiness.No impact; the issue is one of maintainability or tidiness.good first issueNewcomer-friendly issues.Newcomer-friendly issues.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Currently, both
dispatch_load_eventanddispatch_error_eventare just wrappers arounddispatch_event.servo/components/script/dom/html/htmlscriptelement.rs
Lines 1181 to 1191 in 36d70a1
They both call it with
EventBubbles::DoesNotBubble,EventCancelable::NotCancelableand the respectiveAtom, we should directly calldispatch_eventand pass only the requiredAtom.