Closed
Bug 1514589
Opened 6 years ago
Closed 3 years ago
Expose network link status to WebExtensions
Categories
(WebExtensions :: General, enhancement, P5)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1757307
People
(Reporter: UlfSchaper, Unassigned)
References
Details
(Whiteboard: [design-decision-needed])
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0
Steps to reproduce:
I'm a happy user of the feature implemented in https://github.com/mozilla/gecko-dev/blob/master/mobile/android/components/ImageBlockingPolicy.js#L91, i.e. image blocking depending on the network link status.
However, I'd like to use white-listing, which is available through add-ons such as Easy Image Blocker.
Actual results:
Unfortunately, I did not find a way to access the network link status through WebExtensions because nsINetworkLinkService (using Components.classes) isn't available through the API.
Expected results:
Let's make
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsINetworkLinkService available through a WebExtensions API.
Updated•6 years ago
|
Whiteboard: [design-decision-needed]
Updated•5 years ago
|
Type: defect → enhancement
Updated•5 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
Priority: -- → P5
Comment 1•5 years ago
|
||
Isn't this a duplicate of bug 1550605 ?
Comment 2•5 years ago
|
||
(In reply to Honza Bambas (:mayhemer) from comment #1)
Isn't this a duplicate of bug 1550605 ?
I left this open since currently link status is only available to mozilla extensions. Once we know the api is what we want, I think we could consider exposing it, it has general use for network management extensions (e.g. proxy extensions).
cc/fallen for product perspective.
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•