TypeError: can't access property "externalContentPolicyType", channel.loadInfo is null
Categories
(Core :: Networking, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox73 | --- | unaffected |
firefox74 | --- | wontfix |
firefox75 | --- | fixed |
People
(Reporter: florian, Assigned: xeonchen)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [necko-triaged])
Attachments
(1 file)
I see lots of TypeError: can't access property "externalContentPolicyType", channel.loadInfo is null
errors in the browser console when loading web pages, eg. when typing https://profiler.firefox.com and <enter> in the url bar.
The error is on this line https://searchfox.org/mozilla-central/rev/c79c0d65a183d9d38676855f455a5c6a7f7dadd3/browser/components/search/SearchTelemetry.jsm#658 added by bug 1614777.
Comment 1•4 years ago
|
||
Gary, can you please look into this issue?
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Out of curiosity, what channel was it that didn't have loadinfo?
Pushed by xeonchen@gmail.com: https://hg.mozilla.org/integration/autoland/rev/1843cd41ed4f ensure not to access null pointer; r=Ehsan
Assignee | ||
Comment 5•4 years ago
|
||
(In reply to :ehsan akhgari from comment #3)
Out of curiosity, what channel was it that didn't have loadinfo?
I can't actually reproduce this, but according to ChannelWrapper.h it's not impossible to retrieve a null pointer when the channel is closed, which is not likely the case happen here.
Florian, any idea?
Reporter | ||
Comment 6•4 years ago
|
||
Any idea about how I would go from plenty of noise in my console to answering the "what channel was it" question? I see this error everytime I capture a profile (ctrl+shift+2).
Assignee | ||
Comment 7•4 years ago
|
||
(In reply to Florian Quèze [:florian] from comment #6)
Any idea about how I would go from plenty of noise in my console to answering the "what channel was it" question? I see this error everytime I capture a profile (ctrl+shift+2).
Thanks! I can reproduce while capturing a profile.
Looks like the given channel is invalid because the finalURL
field is empty.
Comment 8•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Description
•