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

Type fields are not rendered correctly for IDLs #284

Closed
tyoshino opened this issue Nov 6, 2013 · 2 comments
Closed

Type fields are not rendered correctly for IDLs #284

tyoshino opened this issue Nov 6, 2013 · 2 comments

Comments

@tyoshino
Copy link

tyoshino commented Nov 6, 2013

IDL parser seems to be broken on 3.1.68 -> 3.2.0 update.

In the table of arguments, the "Type" column is empty. "Return type: " is also not rendered.

Works: https://github.com/darobin/respec/blob/develop/builds/respec-w3c-common-3.1.68.js
Doesn't work: https://github.com/darobin/respec/blob/develop/builds/respec-w3c-common-3.2.0.js

Test case:

% cat reduction.html
<!DOCTYPE html>
<html>
<head>
<script class="remove" src="respec-w3c-common-3.2.0.js"></script>
<script class="remove">
var respecConfig = {
  editors: [],
};
</script>
</head>
<body>
<dl class="idl" title="interface Awesome">
  <dt>void greatMethod(DOMString input)</dt>
  <dd>Do something</dd>
</dl>
</body>
@darobin
Copy link
Member

darobin commented Nov 6, 2013

Yes, that's a regression, thanks. Fixed in the new release.

@darobin darobin closed this as completed Nov 6, 2013
@tyoshino
Copy link
Author

tyoshino commented Nov 8, 2013

Verified. Thanks

shikhar-scs pushed a commit to shikhar-scs/respec that referenced this issue Feb 19, 2018
shikhar-scs pushed a commit to shikhar-scs/respec that referenced this issue Feb 19, 2018
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