Lots of garbage in browser log from "console.error: services.settings: Message: TypeError: NetworkError: Network request failed"
Categories
(Remote Protocol :: Agent, defect, P2)
Tracking
(firefox136 fixed)
| Tracking | Status | |
|---|---|---|
| firefox136 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
Details
(Whiteboard: [webdriver:m15])
Attachments
(1 file)
I've seen this for a while but forgot to file a bug about. Whenever I start Firefox with the RemoteAgent enabled I can see a lot of log spam like the following:
console.error: services.settings:
Message: TypeError: NetworkError: Network request failed
Stack:
fetch/</request.onerror@resource://services-settings/Utils.sys.mjs:238:26c
It's a regression but I do not know at the moment when it started. As it looks like it's coming from the remote settings and originates from:
https://searchfox.org/mozilla-central/rev/6d06ffc186ac356648f1feeadd52cc61b2ad6737/services/settings/Utils.sys.mjs#238
It's not clear for which kind of settings it actually fails so some additional debugging might be good to do.
| Assignee | ||
Comment 1•1 year ago
|
||
Mathieu, is there actually a way to get rid of those console error logs by default? When WebDriver is enabled we set services.settings.server to data:,#remote-settings-dummy/v1 to prevent external network access but then all those entries start to get printed to the log.
Comment 2•11 months ago
|
||
Would setting the preference services.settings.loglevel to off in these test profiles work for you?
| Assignee | ||
Comment 3•11 months ago
|
||
This works great! I didn't know that off is an option as well. I'll set it as recommended preference for the Remote Agent and Marionette.
| Assignee | ||
Comment 4•11 months ago
|
||
| Assignee | ||
Updated•11 months ago
|
Comment 6•11 months ago
|
||
| bugherder | ||
Description
•