Skip to content

Fix build errors relating to unreferenced dfns - #135

Merged
reillyeon merged 3 commits into
whatwg:masterfrom
odejesush:fix-build
May 30, 2018
Merged

reillyeon merged 3 commits into
whatwg:masterfrom
odejesush:fix-build

Conversation

@odejesush

Copy link
Copy Markdown
Collaborator

This change fixes the build errors that we occurring due to unreferenced
definitions. The unreferenced definitions are changed to be <strong><em>
blocks of text to have the same format. Other unreferenced definitions
were found references in the spec and manually linked.

This change fixes the build errors that we occurring due to unreferenced
definitions. The unreferenced definitions are changed to be <strong><em>
blocks of text to have the same format. Other unreferenced definitions
were found references in the spec and manually linked.
Comment thread index.bs Outdated
bandwidth but they don't guarantee delivery. They're used for streaming data
like audio and video.
* Every device also has a special
<strong><em>default endpoint</em></strong>. While regular

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This can reference "default control pipe."

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thanks.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

There's another <dfn> for default endpoint in the Transfers section. I think that it makes more sense for this one to have the definition tag, and the one in the Transfers section to be a link.

Comment thread index.bs Outdated
bandwidth so that they can't be blocked by a large <a>bulk transfers</a>)
but with limited packet sizes. These are used for signaling and for small
packets like mouse movements and button presses.
* <strong><em>Isochronous transfers</em></strong> also reserve

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should be able to reference this from the algorithms for isochronous transfers.

Comment thread index.bs Outdated
transfer is always initiated by the host.
<strong><em>OUT transfers</em></strong> carry data from host to
device and may wait until the device acknowledges the data has been received.
<strong><em>IN transfers</em></strong> carry data from device to

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should be able to reference this from the algorithm for transferIn.

Comment thread index.bs Outdated
of a device's endpoints and there are different kinds depending on what type of
traffic is being sent.
transfer is always initiated by the host.
<strong><em>OUT transfers</em></strong> carry data from host to

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should be able to reference this from the algorithm for transferOut.

This change adds links to the definitions for default endpoint,
isochronous transfer, IN transfer, and OUT transfer.
@odejesush

Copy link
Copy Markdown
Collaborator Author

It seems that the build is failing when trying to process test/index.bs. It does pass when building this file however. What should I do about the bs file in the test directory?

@reillyeon

Copy link
Copy Markdown
Collaborator

Are the errors in that file similar unexported definition errors or something else?

@odejesush

Copy link
Copy Markdown
Collaborator Author

Yes, the unexported definition this time is "requestdevice".

This change adds an Events section to the test spec to provide a
definition for the events that are fired by the WebUSB test API. This
change also fixes the build for the test API spec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants