Incorrect assertion in nsDOMWindowUtils::GetVisitedDependentComputedStyle(
Categories
(Core :: DOM: Content Processes, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: beth, Assigned: suhaib)
Details
(Keywords: good-first-bug)
Attachments
(1 file, 1 obsolete file)
In nsDOMWindowUtils::GetVisitedDependentComputedStyle
there is the following code with assertions
nsCOMPtr<nsPIDOMWindowOuter> window = do_QueryReferent(mWindow);
NS_ENSURE_STATE(window && aElement);
nsCOMPtr<nsPIDOMWindowInner> innerWindow = window->GetCurrentInnerWindow();
NS_ENSURE_STATE(window); // <--
This should be an assertion of innerWindow
as we've already checked that window
exists.
Comment 1•6 years ago
|
||
The priority flag is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
![]() |
||
Updated•6 years ago
|
![]() |
||
Updated•6 years ago
|
Comment 2•5 years ago
|
||
Hi, I would like to contribute to this bug. It is my first bug fix so could you please guide me and tell me how to proceed.
Thanks
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Comment 4•4 years ago
|
||
This good-first-bug hasn't had any activity for 6 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.
Comment 5•4 years ago
|
||
Hello, Kindly assign me this bug to work on
Comment 6•4 years ago
|
||
(In reply to Nekesa Patricia from comment #5)
Hello, Kindly assign me this bug to work on
Great! Feel free to just submit a patch here following our contribution quickref. This will automatically assign the bug to you. I will abandon the old one that has never been completed.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 7•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 9•3 years ago
|
||
bugherder |
Description
•