Skip to content

Promote "queue a global task" over "queue a task"#6402

Merged
domenic merged 2 commits intomainfrom
more-global-task
Feb 22, 2021
Merged

Promote "queue a global task" over "queue a task"#6402
domenic merged 2 commits intomainfrom
more-global-task

Conversation

@domenic
Copy link
Copy Markdown
Member

@domenic domenic commented Feb 19, 2021

Part of #4980.


/webappapis.html ( diff )

@domenic domenic added clarification Standard could be clearer topic: event loop labels Feb 19, 2021
Copy link
Copy Markdown
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

I do wonder to what extent WebIDL 135 will change this back again. It would be kinda neat if it could, but I guess we'll see.

Comment thread source Outdated
relying on the ambiguous and poorly-specified <span>implied event loop</span> and <span>implied
document</span> concepts. Specification authors should either always pass these values, or use the
wrapper algorithms <span>queue a global task</span> or <span>queue an element task</span>
instead. The latter is recommended.</p>
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.

Two quibbles:

  1. recommended is a conformance term.
  2. Can we even encourage it given that we don't know the context? If you don't have an element, why would you use that one?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

  1. Yep, the intention is to have this be a conformance recommendation.

  2. I guess this is being misred. I am saying "between always passing the values, or using the wrapper algorithms, the latter is recommended". I'll just expand the final sentence.

@domenic domenic merged commit c019c4a into main Feb 22, 2021
@domenic domenic deleted the more-global-task branch February 22, 2021 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clarification Standard could be clearer topic: event loop

Development

Successfully merging this pull request may close these issues.

2 participants