Skip to content

Add tests for self.queueMicrotask() - #6334

Merged
domenic merged 2 commits into
masterfrom
queue-microtask
Aug 1, 2018
Merged

domenic merged 2 commits into
masterfrom
queue-microtask

Conversation

@domenic

@domenic domenic commented Jun 23, 2017 •

Copy link
Copy Markdown
Member

Follows whatwg/html#2789.

@@ -0,0 +1,41 @@
"use strict";

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.

Make this also run in shared and service workers perhaps?


async_test(t => {
const error = new Error("boo");
self.addEventListener("error", ev => {

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.

Shouldn't this use t.step_func_done?

@web-platform-tests web-platform-tests deleted a comment Jul 25, 2018
@web-platform-tests web-platform-tests deleted a comment Jul 25, 2018
@web-platform-tests web-platform-tests deleted a comment Jul 25, 2018
@web-platform-tests web-platform-tests deleted a comment Jul 25, 2018
@domenic

domenic commented Jul 30, 2018

Copy link
Copy Markdown
Member Author

@annevk good catches, review comments addressed.

domenic added a commit to whatwg/html that referenced this pull request Aug 1, 2018
@domenic
domenic merged commit 0c3bed3 into master Aug 1, 2018
@domenic
domenic deleted the queue-microtask branch August 1, 2018 21:28
alice pushed a commit to alice/html that referenced this pull request Jan 8, 2019
mustaqahmed pushed a commit to mustaqahmed/html that referenced this pull request Feb 15, 2019
mustaqahmed pushed a commit to mustaqahmed/html that referenced this pull request Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants