Open
Bug 1421250
Opened 7 years ago
Updated 2 years ago
"filter.onstop" is fired after calling filter.close()
Categories
(WebExtensions :: Request Handling, defect, P3)
WebExtensions
Request Handling
Tracking
(firefox58 affected, firefox59 affected)
NEW
People
(Reporter: cbadescu, Unassigned)
References
Details
[Affected versions]:
- Firefox 59.0a1 (20171127220446)
- Firefox 58.0b7 (20171127135700)
[Affected platforms]:
- Ubuntu 14.0.4 32-bit
- Mac OS X 10.13.1
[Steps to reproduce]:
1.Load the attached extension in about:debugging.
2.Open example.com page.
3.Click on the extensions icon.
4.Refresh the example.com page.
5.Click on the extension icon.
6.Repeat step 4 and 5 a few times.
7.Observe the browser console.
[Expected results]:
- The next logs are not displayed in the browser console.
filter.onstop
"filter.status must be "closed", but is "finishedtransferringdata" - https://bugzil.la/1405375"
[Actual results]:
- After some refreshes of the example.com page the "filter.onstop" is fired after calling filter.close().
On Windows 7 64-bit I was not able to reproduce the issue.
Please see the attached video.
The documentation says that after filter.close(), "no more filter events will be given to the extension."
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/StreamFilter/close
Updated•7 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Product: Toolkit → WebExtensions
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•