Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It isn't defined what happens if StructuredSerialize in measure() throws an exception #91

Open
smaug---- opened this issue Apr 27, 2022 · 2 comments

Comments

@smaug----
Copy link

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.

@mmocny
Copy link

mmocny commented Aug 15, 2022

Do you think just adding the wording "Rethrow any exceptions" would resolve this, or is it necessary to adjust how User Timing uses StructuredSerialize? Or is there an algorithm that the spec should point to instead of trying to match wording?

@smaug----
Copy link
Author

Yes, I think "Rethrow any exceptions" should be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants