-
Notifications
You must be signed in to change notification settings - Fork 165
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
Define serialization and deserialization steps for DOMException #729
Comments
@domenic, I filed this issue here because DOMException is defined here. Is here the right place to define the [de]serialization steps? I'm asking because "Serializable" extended attribute is defined in HTML. |
Yeah, this would be the correct place. |
Thanks! |
I'm not sure I agree; it would add another dependency from IDL to HTML that I'd prefer to avoid. Alternatively, we could consider moving the whole section to IDL – based on a quick skip, it doesn't appear to depend on anything defined in HTML. |
I don't think avoiding dependencies from IDL to HTML overall is worthwhile. There may be some sections where that could be valuable, e.g. the base binding layers that might be used by WebAssembly eventually, but having DOMException's serialization behavior depend on HTML seems fine. I also don't think that shuffling text between documents to preserve some notion of directional dependence is a good use of time. |
Thank you. I created a minimal change (i.e., using HTML terms from WebIDL) as #732. |
Fixes #729. See also whatwg/html#4268. Tests: * web-platform-tests/wpt#17095 * web-platform-tests/wpt#17159
See whatwg/html#4268 for context.
cc: @domenic
The text was updated successfully, but these errors were encountered: