It isn't defined what happens if StructuredSerialize in measure() throws an exception
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 31
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
I think something similar to https://html.spec.whatwg.org/multipage/web-messaging.html#dom-broadcastchannel-postmessage could be done also in user-timing spec. See step 3 and its "Rethrow any exceptions."
https://w3c.github.io/user-timing/#dfn-performancemark-constructor has similar issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the user-timing definitions for measure() and the PerformanceMark constructor, then compare their StructuredSerialize behavior with the BroadcastChannel postMessage steps linked in the issue. Clarify how exceptions are handled in both cases and update the specification so the behavior is explicitly defined.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100