Closed
Bug 1514199
Opened 7 years ago
Closed 7 years ago
browser.webRequest.onBeforeSendHeaders.addListener doesn't work for anything except addons.thunderbird.net/static/img/favicon.ico
Categories
(Thunderbird :: Add-Ons: Extensions API, defect)
Thunderbird
Add-Ons: Extensions API
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: haqer, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Steps to reproduce:
Looked into Thunderbird support for Blend In extension:
https://addons.mozilla.org/fr/firefox/addon/blend-in/?src=search
Actual results:
Only the following request[1] produces a call to the listener registered as follows[2]:
[1] https://addons.thunderbird.net/static/img/favicon.ico?b=f3a832ee-5b998c90
[2] browser.webRequest.onBeforeSendHeaders.addListener(bu.httpOnModifyRequest,
{urls: ["<all_urls>"]},
["blocking", "requestHeaders"]);
Expected results:
The listener should be notified of all web requests, as clearly requested above (which is what happens on Firefox).
P.S. As a result, i'm giving up on Thunderbird support in Blend In extension for now: until this issue is resolved.
| Reporter | ||
Comment 1•7 years ago
|
||
For clarity: Thunderbird was supported even with an extra "Thunderfoxing" feature before WebExtensions. I just had time to look into it on a WebExtensions-capable Thunderbird installation, and for now i have to leave it unsupported in Blend In extension (for WebExtensions).
Updated•7 years ago
|
Flags: needinfo?(geoff)
Comment 2•7 years ago
|
||
Works for me. Reporter's account is disabled, so I'm closing this.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(geoff)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•