Closed
Bug 1629747
Opened 4 years ago
Closed 4 years ago
WARNING: '!aWin', file .../dom/base/Document.cpp, line 1396
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla77
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
Details
Attachments
(1 file)
I get this warning a couple of times on startup in a debug build:
WARNING: '!aWin', file /z/moz/l/dom/base/Document.cpp, line 1396
This is due to Document::IsErrorPage()
complaining that its aWin
argument is null. This function is called from Document::CallerIsTrustedAboutCertError
, which is used to pref-control some Web IDL things. The documents for which this is being called where there is no window are parsed XML documents. We can null check the window to avoid the warning.
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by cmccormack@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/626e68daaeb2 Avoid a couple of startup warnings in IsAboutErrorPage. r=johannh
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox77:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in
before you can comment on or make changes to this bug.
Description
•