diff --git a/dom.bs b/dom.bs index 6dd773de..76c40585 100644 --- a/dom.bs +++ b/dom.bs @@ -1746,6 +1746,8 @@ optionally using an eventConstructor, with a description of how IDL a initialized, and a legacy target override flag, run these steps:
    +
  1. Let recordingTimingAsTask be the result of calling start recording task time if + needed given target's relevant settings object.

  2. If eventConstructor is not given, then let eventConstructor be {{Event}}. @@ -1760,8 +1762,19 @@ initialized, and a legacy target override flag, run these steps:

    This also allows for the {{Event/isTrusted}} attribute to be set to false. -

  3. Return the result of dispatching event at target, with +

  4. Let result be the result of dispatching event at target, with legacy target override flag set if set. + +

  5. If recordingTimingAsTask is true, then: + +

      +
    1. Assert: target's relevant settings object is a {{Document}}. + +

    2. Record task end time given the unsafe shared current time and target's + relevant settings object. +

    + +
  6. Return result.