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

Add cross-origin-embedder-policy tests with service workers #18559

Merged
merged 3 commits into from
Aug 21, 2019
Merged

Add cross-origin-embedder-policy tests with service workers #18559

merged 3 commits into from
Aug 21, 2019

Conversation

yutakahirano
Copy link
Contributor

No description provided.

@yutakahirano
Copy link
Contributor Author

@annevk, can you take a look?

@nhiroki, can you take a look at service worker setup code?

@annevk
Copy link
Member

annevk commented Aug 20, 2019

So all these async functions return a promise resolved with undefined unless something threw an exception. I guess that's fine and not a problem as the only failure condition here is throwing (right?), but it's not really clear to me why this is preferable over not having an async function and simply returning the inner statement. I'll do a more in depth look as well.

Copy link
Contributor

@nhiroki nhiroki left a comment

Choose a reason for hiding this comment

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

LGTM

@yutakahirano
Copy link
Contributor Author

Thanks!

@yutakahirano yutakahirano merged commit 036e8ee into web-platform-tests:master Aug 21, 2019
@yutakahirano yutakahirano deleted the yhirano/coep-sw branch August 21, 2019 07:54
@annevk
Copy link
Member

annevk commented Aug 21, 2019

@yutakahirano you forgot to remove nothing.txt itself.

@yutakahirano
Copy link
Contributor Author

Oops, sorry. I will remove it.

@yutakahirano
Copy link
Contributor Author

I uploaded #18586.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants