Skip to content

notification-manager - remove promise listener #1358

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

Merged
merged 2 commits into from
Apr 28, 2017
Merged

Conversation

kumavis
Copy link
Member

@kumavis kumavis commented Apr 28, 2017

seems chrome changed their API?
MDN suggests that a Promise should be returned but getting undefined
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/create

Chrome docs suggest its a callback API lolwut
https://developer.chrome.com/extensions/windows#method-create

so clearly the best idea is to remove logging so that we can rediscover the problem later in some subtle annoying fashion

seems chrome changed their API?
MDN suggests that a Promise should be returned but getting `undefined`
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/windows/create

Chrome docs suggest its a callback API lolwut
https://developer.chrome.com/extensions/windows#method-create
Copy link
Contributor

@danfinlay danfinlay left a comment

Choose a reason for hiding this comment

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

At first I found this horrifying, and then I realized the worst case would just be that the popup didn't pop up anyways, it would be pretty obvious what was wrong, and we're replacing this soon, so I think it's better than a full crash.

@danfinlay
Copy link
Contributor

Bump changelog?

@danfinlay
Copy link
Contributor

Addresses an error noted in #1357

@danfinlay danfinlay merged commit 1641dc9 into master Apr 28, 2017
@danfinlay danfinlay deleted the kumavis-patch-1 branch April 28, 2017 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants