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

feat(core/webidl): allow self-defining IDL #2408

Merged
merged 2 commits into from Jul 1, 2019
Merged

feat(core/webidl): allow self-defining IDL #2408

merged 2 commits into from Jul 1, 2019

Conversation

saschanaz
Copy link
Member

@saschanaz saschanaz commented Jul 1, 2019

No more definition errors! Fixes #2316

<dfn> by default uses bold font, not sure we want it in IDL text.

src/core/webidl.js Outdated Show resolved Hide resolved
Copy link
Member

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let’s do this 😅🤟

Co-Authored-By: Marcos Cáceres <marcos@marcosc.com>
@saschanaz
Copy link
Member Author

Sometimes emojis are confusing... I'll consider it as a go sign 😆

@saschanaz saschanaz merged commit 4b22416 into develop Jul 1, 2019
@saschanaz saschanaz deleted the self-define branch July 1, 2019 09:54
@marcoscaceres
Copy link
Member

sorry for the confusing emojis.... I've been reluctant on supporting this because I worry about Editors under-specifying things. In particular, not defining the steps to take when a method is called would not be great. Similarly with attributes, it makes it easy for developers to forget that "getting" an attribute may have side effects (not a good thing, but the reality is that implementation code runs... same with with setting... like setting an IDL attribute might be reflected in HMTL content).

Anyway, let's see how we go with this... if things start getting messy, we can always make things more strict.

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

Successfully merging this pull request may close these issues.

Allow IDL types to be self-defined
2 participants