Skip to content

Conversation

@CGNonofr
Copy link
Contributor

There is a try/catch preventing errors if invoked from a nested browsing context but at least in lastest chrome, the method returns a rejected promise in that case and the try/catch does nothing leading to an uncaught error

@ulugbekna
Copy link
Contributor

nice catch, thank you! ❤️

@vscodenpa vscodenpa added this to the February 2024 milestone Feb 7, 2024
Copy link
Member

@roblourens roblourens left a comment

Choose a reason for hiding this comment

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

If you're gonna await it, I would rather see the .then removed, I find it confusing to mix and match

@ulugbekna ulugbekna merged commit 50bab6a into microsoft:main Feb 7, 2024
@ulugbekna
Copy link
Contributor

I agree with the comment above, but let's address it in another PR

@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
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.

5 participants