Make browser.permissions.request() reject when it can't find the browser window to anchor the notification
Categories
(WebExtensions :: Frontend, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: aswan, Unassigned)
References
(Depends on 2 open bugs)
Details
Attachments
(4 files)
| Reporter | ||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
| Reporter | ||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
| Reporter | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
| Reporter | ||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Updated•7 years ago
|
| Reporter | ||
Updated•7 years ago
|
Comment 14•7 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Hey Arica, how's it going with this bug?
Comment 20•6 years ago
|
||
Hi,
I would like to work on this bug. Can you please assign it to me!
Thanks
Comment 21•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 22•6 years ago
|
||
Hi
The code has to be changed in getTabBrowser function, if I am not wrong.
Please correct me if I am missing something.
Thanks
| Reporter | ||
Comment 23•6 years ago
|
||
Do you mean getTabForBrowser() ? If so, I'm not sure what you're suggesting, what would you change in that function?
Comment 24•6 years ago
|
||
Hey Suhail, how's it going with this bug? Can we help unblock you?
Comment 25•6 years ago
|
||
Comment 26•6 years ago
|
||
Comment 27•6 years ago
|
||
Comment 28•6 years ago
|
||
Hey Suhail, it looks like you're getting close! Aswan added some comments in Phabricator -- want to take a look at those and finish this off?
Updated•6 years ago
|
Comment 29•6 years ago
|
||
I'll help mentor this patch now. Let me know if you have any questions.
Comment 30•6 years ago
|
||
Per conversation over IRC with Suhail, this bug is being re-opened for other contributors. If you would like to work on this, please submit a patch via Phabricator; once your patch has been submitted, we will assign you to the bug.
Updated•6 years ago
|
Comment 31•6 years ago
|
||
Hey, is this bug still open ? Can i work in this bug ?
Comment 32•5 years ago
|
||
Not sure if this is related, but in my case browser.permissions is undefined in a certain context (iframe with src="moz-extension://...").
| Reporter | ||
Comment 33•5 years ago
|
||
(In reply to Thomas Oberndörfer from comment #32)
Not sure if this is related, but in my case browser.permissions is undefined in a certain context (iframe with src="moz-extension://...").
That is an unrelated bug: bug 1443253
Updated•5 years ago
|
Updated•5 years ago
|
Comment 34•5 years ago
|
||
Hi Rob and Luca. I am an outreachy intern, can I work on this bug please?
Comment 35•5 years ago
|
||
Hi Naimat, feel free to work on this bug! We'll assign it to you once you have a PR. Here's a link to our onboarding documentation to help you get started: https://wiki.mozilla.org/WebExtensions/Contribution_Onramp
Comment 36•5 years ago
|
||
Hello Rob Wu, I am an Outreachy applicant and I'd like to work on this please
Comment 37•5 years ago
|
||
Hi, Is someone working on this?, If not I would love to take on this issue :)
Comment 38•5 years ago
|
||
Hi, Just a friendly reminder for this comment#37
Comment 39•5 years ago
|
||
No contributor is currently working on this issue at the moment, redirecting the needinfo to me to look if previous contributor got stuck because of some lack of guidance details.
Updated•5 years ago
|
Comment 40•5 years ago
|
||
https://phabricator.services.mozilla.com/D98574 is already working towards a fix that may also fix this bug.
bug 1493396 is the other remaining bug (from the list in comment 14).
Comment 41•3 years ago
|
||
Should i fix viewType == "background" in this bug, but still check gBrowser.getTabForBrowser(browser) and reject with an error message?
Updated•3 years ago
|
Description
•