Crash in [@ (anonymous namespace)::NotifyBlockingDecision] via AntiTracking
Categories
(Core :: Privacy: Anti-Tracking, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox74 | --- | unaffected |
firefox75 | --- | unaffected |
firefox76 | + | fixed |
People
(Reporter: achronop, Assigned: dimi)
References
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file, 2 obsolete files)
This bug is for crash report bp-c3e590c4-37f2-4d90-b116-72c630200316.
Top 10 frames of crashing thread:
0 libxul.so toolkit/components/antitracking/ContentBlockingNotifier.cpp:230
1 libxul.so mozilla::ContentBlockingNotifier::OnDecision toolkit/components/antitracking/ContentBlockingNotifier.cpp:447
2 libxul.so ThirdPartyUtil::AnalyzeChannel dom/base/ThirdPartyUtil.cpp:504
3 libxul.so mozilla::net::CookieServiceChild::TrackCookieLoad netwerk/cookie/CookieServiceChild.cpp:136
4 libxul.so mozilla::dom::ContentChild::UpdateCookieStatus dom/ipc/ContentChild.cpp:2092
5 libxul.so mozilla::dom::Document::StartDocumentLoad dom/base/Document.cpp:3117
6 libxul.so nsHTMLDocument::StartDocumentLoad dom/html/nsHTMLDocument.cpp:463
7 libxul.so nsContentDLF::CreateInstance layout/build/nsContentDLF.cpp:127
8 libxul.so nsDocShell::NewContentViewerObj docshell/base/nsDocShell.cpp:7872
9 libxul.so nsDocShell::CreateContentViewer docshell/base/nsDocShell.cpp:7616
Comment 1•5 years ago
|
||
The crash reason is MOZ_DIAGNOSTIC_ASSERT(aDecision == ContentBlockingNotifier::BlockingDecision::eAllow)
Updated•5 years ago
|
Comment 3•5 years ago
|
||
This is spiking on Nightly since build 20200325213906
Comment 4•5 years ago
|
||
Redirecting to baku since Ehsan is out for a bit.
Assignee | ||
Comment 5•5 years ago
|
||
This should be related to changes recently made for fission, I'll check it
Updated•5 years ago
|
Comment 6•5 years ago
|
||
This is a topcrash for Thunderbird daily. I can't speculate on Firefox
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
•
|
||
The root cause of this bug is that when opening the devtools (about:devtools-toolbox
), the about page may also embed a 3rd-party frame with chrome URL, ex, chrome://devtools/content/debugger/index.html.
Although the frame has system privilege and it is not a tracker, we may still deny the storage access permission when setting cookiebehavior to REJCET ALL, which trigger the MOZ_ASSERT
here that asserts while notifying blocking events for windows with system principal.
baku, steven,
I would like to check with you do you think we should always allow storage permission for system privileged windows no matter what cookiebehavior is set? or we should respect cookiebehavior for system content.
If the latter case is the case we want, the solution for this bug will be not notifying content blocking events when we block storage access for system content, because no UX requires that info.
Comment 8•5 years ago
|
||
If the latter case is the case we want, the solution for this bug will be not notifying content blocking events when we block storage access for system content, because no UX requires that info.
I prefer this. What I want to avoid is an about page, with privileged permissions, to run a webpage. That webpage should have the correct storage permissions.
Assignee | ||
Comment 9•5 years ago
|
||
Assignee | ||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
(In reply to Andrea Marchesini [:baku] from comment #8)
If the latter case is the case we want, the solution for this bug will be not notifying content blocking events when we block storage access for system content, because no UX requires that info.
I prefer this. What I want to avoid is an about page, with privileged permissions, to run a webpage. That webpage should have the correct storage permissions.
This sounds right to me as well. Thanks Baku and Dimi!
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
Assignee | ||
Comment 13•5 years ago
|
||
talked offline with baku, since the behavior before Bug 1612378 is always allowing permission for system window, we'll follow it.
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
bugherder |
Description
•