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

adopt to web platform specifier #182072

Merged
merged 1 commit into from May 10, 2023
Merged

adopt to web platform specifier #182072

merged 1 commit into from May 10, 2023

Conversation

sandy081
Copy link
Member

#180525 adopt to web platform specifier

@sandy081 sandy081 self-assigned this May 10, 2023
@sandy081 sandy081 marked this pull request as ready for review May 10, 2023 16:24
@sandy081 sandy081 added this to the May 2023 milestone May 10, 2023
@sandy081 sandy081 enabled auto-merge (squash) May 10, 2023 16:25
@sandy081 sandy081 merged commit de89c63 into main May 10, 2023
6 checks passed
@sandy081 sandy081 deleted the sandy081/fix180525 branch May 10, 2023 16:37
if (migratedLocation) {
update = true;
webExtension.location = migratedLocation;
}
return webExtension;
}));
if (update) {
Copy link
Member

Choose a reason for hiding this comment

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

What if one of the web extension promises throws? That means we will never reach this code. Should there be some sort of finally handling here?

Copy link
Member Author

Choose a reason for hiding this comment

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

There is a try/catch for each promise to log the error.

Copy link
Member

Choose a reason for hiding this comment

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

You're right! I missed that.

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

Successfully merging this pull request may close these issues.

None yet

3 participants