Skip to content

Tweak arrayBuffer() function and stop() method text slightly#590

Merged
danielpeintner merged 2 commits into
mainfrom
danielpeintner-patch-8
May 15, 2026
Merged

Tweak arrayBuffer() function and stop() method text slightly#590
danielpeintner merged 2 commits into
mainfrom
danielpeintner-patch-8

Conversation

@danielpeintner
Copy link
Copy Markdown
Contributor

@danielpeintner danielpeintner commented Apr 29, 2026

Comment thread index.html Outdated

<section><h3>The <dfn>arrayBuffer()</dfn> function</h3>
When invoked, MUST run the following steps:
When invoked, it MUST run the following steps:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Or maybe "the function MUST run the following steps:" ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Either works. I might go so far as the `arrayBuffer()` function MUST run the following steps

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We have some similar wordings in other places, e.g.,

BTW, w.t.r. I noticed we use "stop() function" vs. "arrayBuffer() method".
I wonder whether we should use "method" in the case of "value()", "arrayBuffer()", "query()", "cancel()" etc since it is associated with a class/object and not a static function per se 🤔

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ok for applying the same pattern to all the occurrences:

the arrayBuffer() function MUST run the following steps

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I made those changes, please take a look.

The alignments w.r.t. method vs function we tackle in a follow-up (see #593)

@danielpeintner danielpeintner changed the title Tweak arrayBuffer() function text Tweak arrayBuffer() function and stop() method text slightly May 13, 2026
@danielpeintner danielpeintner merged commit 2894d32 into main May 15, 2026
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.

3 participants