web-extension proxy APIs show incomplete requests in the network panel
Categories
(DevTools :: Netmonitor, defect, P3)
Tracking
(Not tracked)
People
(Reporter: baku, Unassigned)
Details
STR:
- Install secure-proxy (but this can be done using any other proxy-related web-extesion).
- activate it (better to use a @mozilla.org email address)
- open the browser-toolkit -> network panel
- open about:url-classifier
- trigger an update of the mozilla provider.
I don't know if the bug is in devtools or in the proxy API, but I see this error message:
[firefox/index.js][debug] Firefox stdout: Handler function threw an exception: TypeError: can't access property "last" of undefined
Stack: _getWaitTiming@resource://devtools/server/actors/network-monitor/network-observer.js:1098:1
_setupHarTimings@resource://devtools/server/actors/network-monitor/network-observer.js:1323:28
_onTransactionClose@resource://devtools/server/actors/network-monitor/network-observer.js:1045:27
_dispatchActivity@resource://devtools/server/actors/network-monitor/network-observer.js:532:14
NetworkObserver.prototype.observeActivity<@resource://devtools/server/actors/network-monitor/network-observer.js:610:12
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
Line: 1098, column: 1
[firefox/index.js][debug] Firefox stdout: console.error: (new TypeError("can't access property \"last\" of undefined", "resource://devtools/server/actors/network-monitor/network-observer.js", 1098))
Comment 1•6 years ago
|
||
The priority flag is not set for this bug.
:Honza, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•6 years ago
|
||
Thanks for the report Andrea!
It looks like the exception point to this line:
https://searchfox.org/mozilla-central/rev/fa2df28a49883612bd7af4dacd80cdfedcccd2f6/devtools/server/actors/network-monitor/network-observer.js#1102
(timings.REQUEST_BODY_SENT || timings.STATUS_SENDING_TO).last
Looks like both timings are null and the code should be ready for such situation.
Andrea, can you please provide more info for the first two steps.
Install secure-proxy (but this can be done using any other proxy-related web-extesion).
activate it (better to use a @mozilla.org email address)
What extension we could use for example?
What do you mean by activation?
Thanks!
Honza
| Reporter | ||
Comment 3•6 years ago
|
||
Andrea, can you please provide more info for the first two steps.
Install secure-proxy (but this can be done using any other proxy-related web-extesion). activate it (better to use a @mozilla.org email address)
- Install this extension and activate it. You must log in using your FxA account (better if you use a @mozilla.com email address) https://fpn.firefox.com/downloads/browser/latest/secure-proxy.xpi
- when the proxy is active, follow the remaining of the STR in the bug description:
- open the browser-toolkit -> network panel
- open about:url-classifier
- trigger an update of the mozilla provider.
Comment 4•6 years ago
|
||
Thanks Andrea!
Hubert, another one that needs triage.
Honza
Comment 5•5 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)
Comment 6•9 months ago
•
|
||
Hi Andrea,
Apologies i haven't gotten to this in a long while. The https://fpn.firefox.com/downloads/browser/latest/secure-proxy.xpi which seems to be the firefox private network extension which is no longer supported. Is there any other extension which i can use to reproduce.
| Reporter | ||
Comment 7•8 months ago
|
||
Not at the moment. Let's close this bug.
Description
•