Closed
Bug 1354171
Opened 9 years ago
Closed 9 years ago
webRequest.onSendHeaders doesn't see header modifications from onBeforeSendHeaders
Categories
(WebExtensions :: Request Handling, defect)
WebExtensions
Request Handling
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: zombie, Unassigned)
Details
Writing a test for bug 1323036, read this:
> If you want to see the headers that are actually sent, without the risk that
> another add-on will subsequently alter them, use onSendHeaders, although you
> can't modify headers on this event.
from https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onBeforeSendHeaders
This doesn't seem to be true.
Comment 1•9 years ago
|
||
I'm pretty sure we have tests for this.
| Reporter | ||
Comment 2•9 years ago
|
||
You are right, of course.
I likely added a second onBeforeSendHeaders listener instead, exactly as I've done just now, while trying to reproduce this.
(It's a perfect mistake -- it behaved exactly as expected from onSendHeaders, except for the observed "bug" :/)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•