- From: Noam Rosenthal <notifications@github.com>
- Date: Thu, 16 Apr 2026 05:39:47 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1462@github.com>
Together with w3c/long-animation-frames#37
This allows clustering a "fire an event" timeframe in terms of frame timing monitoring, as opposed to relying on an "implicit document", which is a deprecated and non-interoperable term.
The implication of this is that if this event firing schedules a render that ends up as a long animation frame, the whole event firing duration would be counted towards this performance entry, regardless of "tasks".
See w3c/long-animation-frames#36
<!--
Thank you for contributing to the DOM Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
When you submit this PR, and each time you edit this comment (including checking a checkbox through the UI!), PR Preview will run and update it. As such make any edits in one go and only after PR Preview has run.
If you think your PR is ready to land, please double-check that the build is passing and the checklist is complete before pinging.
-->
- [ ] At least two implementers are interested (and none opposed):
* …
* …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
* … <!-- If these tests are tentative, link a PR to make them non-tentative. -->
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
* Chromium: …
* Gecko: …
* WebKit: …
* Deno (only for aborting and events): …
* Node.js (only for aborting and events): …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …
- [ ] The top of this comment includes a [clear commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md) to use. <!-- If you created this PR from a single commit, Github copied its message. Otherwise, you need to add a commit message yourself. -->
(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)
<!--
This comment and the below content is programmatically generated.
You may add a comma-separated list of anchors you'd like a
direct link to below (e.g. #idl-serializers, #idl-sequence):
Don't remove this comment or modify anything below this line.
If you don't want a preview generated for this pull request,
just replace the whole of this comment's content by "no preview"
and remove what's below.
-->
***
### :boom: Error: 422 Unprocessable Entity :boom: ###
[PR Preview](https://github.com/tobie/pr-preview#pr-preview) failed to build. _(Last tried on Apr 16, 2026, 12:39 PM UTC)_.
<details>
<summary>More</summary>
PR Preview relies on a number of web services to run. There seems to be an issue with the following one:
:rotating_light: [Spec Generator](https://www.w3.org/publications/spec-generator/) - Spec Generator is the web service used to build bikeshed/ReSpec specs
:link: [Related URL](https://www.w3.org/publications/spec-generator/?type=bikeshed-spec&output=html&url=https%3A%2F%2Fraw.githubusercontent.com%2Fwhatwg%2Fdom%2F1ec2746303512ecd3acc936e78ed2c9d3aa2766d%2Fdom.bs&force=1&md-status=LS-PR&md-Text-Macro=PR-NUMBER%201462)
**Error output:**
```json
[
{
"lineNum": "1771:17",
"messageType": "fatal",
"text": "Saw an end tag </a>, but there's no open element corresponding to it.\nOpen tags: <div> at 1743:1, <ol> at 1748:1, <li> at 1768:2, <ol> at 1770:3, <li> at 1771:4, <p> at 1771:8"
},
{
"lineNum": "172:65",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "202:22",
"messageType": "link",
"text": "Multiple possible 'code point' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-point\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code point\nspec:infra; type:dfn; text:code point\n[=code point=]"
},
{
"lineNum": "211:25",
"messageType": "link",
"text": "Multiple possible 'code point' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-point\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code point\nspec:infra; type:dfn; text:code point\n[=code point=]"
},
{
"lineNum": "214:32",
"messageType": "link",
"text": "Multiple possible 'code points' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-point\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code point\nspec:infra; type:dfn; text:code point\n[=code points=]"
},
{
"lineNum": "224:41",
"messageType": "link",
"text": "Multiple possible 'code point' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-point\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code point\nspec:infra; type:dfn; text:code point\n[=code point=]"
},
{
"lineNum": "1749:71",
"messageType": "link",
"text": "No 'dfn' refs found for 'start recording task time if needed'.\n<a bs-line-number=\"1749:71\" data-link-type=\"dfn\" data-lt=\"start recording task time if needed\">start recording task time if\n needed</a>"
},
{
"lineNum": "2374:17",
"messageType": "link",
"text": "Ambiguous for-less link for 'node', please see <https://speced.github.io/bikeshed/#ambi-for> for instructions:\nLocal references:\nspec:dom; type:dfn; for:boundary point; text:node\nfor-less references:\nspec:rdf12-concepts; type:dfn; for:/; text:nodes\nspec:rdf12-concepts; type:dfn; for:/; text:nodes\n[=node=]"
},
{
"lineNum": "2978:3",
"messageType": "link",
"text": "Ambiguous for-less link for 'node', please see <https://speced.github.io/bikeshed/#ambi-for> for instructions:\nLocal references:\nspec:dom; type:dfn; for:boundary point; text:node\nfor-less references:\nspec:rdf12-concepts; type:dfn; for:/; text:nodes\nspec:rdf12-concepts; type:dfn; for:/; text:nodes\n<a bs-line-number=\"2978:3\" data-link-type=\"dfn\" data-lt=\"node\">node</a>"
},
{
"lineNum": "5512:3",
"messageType": "link",
"text": "Multiple possible 'ascii case-insensitive' dfn refs.\nArbitrarily chose https://infra.spec.whatwg.org/#ascii-case-insensitive\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:infra; type:dfn; text:ascii case-insensitive\nspec:i18n-glossary; type:dfn; text:ascii case-insensitive\n<a bs-line-number=\"5512:3\" data-link-type=\"dfn\" data-lt=\"ASCII case-insensitive\">ASCII case-insensitive</a>"
},
{
"lineNum": "6236:36",
"messageType": "link",
"text": "Multiple possible 'ascii case-insensitive' dfn refs.\nArbitrarily chose https://infra.spec.whatwg.org/#ascii-case-insensitive\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:infra; type:dfn; text:ascii case-insensitive\nspec:i18n-glossary; type:dfn; text:ascii case-insensitive\n<a bs-line-number=\"6236:36\" data-link-type=\"dfn\" data-lt=\"ASCII case-insensitive\">ASCII case-insensitive</a>"
},
{
"lineNum": "7890:65",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "7913:65",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "7941:1",
"messageType": "link",
"text": "Multiple possible 'ascii case-insensitive' dfn refs.\nArbitrarily chose https://infra.spec.whatwg.org/#ascii-case-insensitive\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:infra; type:dfn; text:ascii case-insensitive\nspec:i18n-glossary; type:dfn; text:ascii case-insensitive\n<a bs-line-number=\"7941:1\" data-link-type=\"dfn\" data-lt=\"ASCII case-insensitive\">ASCII case-insensitive</a>"
},
{
"lineNum": "7967:25",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "8249:20",
"messageType": "link",
"text": "Multiple possible 'code units' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-unit\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code unit\nspec:infra; type:dfn; text:code unit\n<a bs-line-number=\"8249:20\" data-link-type=\"dfn\" data-lt=\"code units\">code units</a>"
},
{
"lineNum": "8254:47",
"messageType": "link",
"text": "Multiple possible 'code units' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-unit\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code unit\nspec:infra; type:dfn; text:code unit\n<a bs-line-number=\"8254:47\" data-link-type=\"dfn\" data-lt=\"code units\">code units</a>"
},
{
"lineNum": "8255:2",
"messageType": "link",
"text": "Multiple possible 'code units' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-unit\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code unit\nspec:infra; type:dfn; text:code unit\n<a bs-line-number=\"8255:2\" data-link-type=\"dfn\" data-lt=\"code units\">code units</a>"
},
{
"lineNum": "8319:28",
"messageType": "link",
"text": "Multiple possible 'code units' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-unit\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code unit\nspec:infra; type:dfn; text:code unit\n<a bs-line-number=\"8319:28\" data-link-type=\"dfn\" data-lt=\"code units\">code units</a>"
},
{
"lineNum": "8320:2",
"messageType": "link",
"text": "Multiple possible 'code unit' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-unit\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code unit\nspec:infra; type:dfn; text:code unit\n<a bs-line-number=\"8320:2\" data-link-type=\"dfn\" data-lt=\"code unit\">code unit</a>"
},
{
"lineNum": "8322:44",
"messageType": "link",
"text": "Multiple possible 'code units' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-unit\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code unit\nspec:infra; type:dfn; text:code unit\n<a bs-line-number=\"8322:44\" data-link-type=\"dfn\" data-lt=\"code units\">code units</a>"
},
{
"lineNum": "8323:2",
"messageType": "link",
"text": "Multiple possible 'code unit' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-unit\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code unit\nspec:infra; type:dfn; text:code unit\n<a bs-line-number=\"8323:2\" data-link-type=\"dfn\" data-lt=\"code unit\">code unit</a>"
},
{
"lineNum": "8323:74",
"messageType": "link",
"text": "Multiple possible 'code unit' dfn refs.\nArbitrarily chose https://w3c.github.io/i18n-glossary/#dfn-code-unit\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:i18n-glossary; type:dfn; text:code unit\nspec:infra; type:dfn; text:code unit\n<a bs-line-number=\"8323:74\" data-link-type=\"dfn\" data-lt=\"code unit\">code unit</a>"
},
{
"lineNum": "10699:16",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "10707:16",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "10719:16",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "10727:16",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "10780:73",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "10804:73",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "10823:71",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": "10858:3",
"messageType": "link",
"text": "Multiple possible 'SyntaxError' exception refs.\nArbitrarily chose https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-syntaxerror\nTo auto-select one of the following refs, insert one of these lines into a <pre class=link-defaults> block:\nspec:ecmascript; type:exception; text:SyntaxError\nspec:webidl; type:exception; text:SyntaxError\n{{SyntaxError!!exception}}"
},
{
"lineNum": null,
"messageType": "failure",
"text": "Did not generate, due to errors exceeding the allowed error level."
}
]
```
_This seems to be an issue with the [Spec Generator](https://www.w3.org/publications/spec-generator/) service. PR Preview doesn't manage this service and so has no control over it. If you've identified an issue with it, you can [report the issue to the maintainers of Spec Generator](https://github.com/w3c/spec-generator/issues/new) directly. Please be courteous. Thank you!_
_If you don't have enough information above to solve the error by yourself or if the issue doesn't seem related to Spec Generator, you can [file an issue with PR Preview](https://github.com/tobie/pr-preview/issues/new?title=Unidentified%20Error&body=See%20whatwg/dom%231462.)._
</details>
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/dom/pull/1462
-- Commit Summary --
* Record task-like timing in fire an event
-- File Changes --
M dom.bs (15)
-- Patch Links --
https://github.com/whatwg/dom/pull/1462.patchhttps://github.com/whatwg/dom/pull/1462.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1462
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1462@github.com>
Received on Thursday, 16 April 2026 12:39:52 UTC