Open
Bug 591480
Opened 14 years ago
Updated 2 years ago
"ASSERTION: Unexpected primary frame" [nsImageMap.cpp:474]
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, testcase)
Attachments
(2 files)
No description provided.
Reporter | ||
Comment 1•14 years ago
|
||
Loading the testcase: ###!!! ASSERTION: Losing track of existing primary frame: '!aFrame || !mPrimaryFrame || aFrame == mPrimaryFrame', file ../../dist/include/nsIContent.h, line 883 Unloading the testcase: ###!!! ASSERTION: Unexpected primary frame: 'area->mArea->GetPrimaryFrame() == mImageFrame', file layout/generic/nsImageMap.cpp, line 747 The second assertion is new (not covered by other bug reports).
Reporter | ||
Comment 2•14 years ago
|
||
Comment 3•14 years ago
|
||
What bug report covers the first assertion? That's the one I have a fix for... I have no idea how to fix the second without fixing bug 135040.
Reporter | ||
Comment 4•14 years ago
|
||
Bug 576174 covers the first assertion.
Comment 5•14 years ago
|
||
No, that's a different issue. In this case the first assertion is very much <html:map>-specific.
Reporter | ||
Comment 6•14 years ago
|
||
Please file a new bug and attach your patch there.
Comment 7•13 years ago
|
||
On second thought, my fix (if I'm thinking of the same one) doesn't work because nsIFrame is forward-declared. And asserting that we're not an HTML <area> won't work for consumers who can't include nsGkAtoms...
Comment 8•11 years ago
|
||
The existing test toolkit/content/tests/widgets/test_mousecapture_area.html causes 3 assertions that look alot like this: 0:28.39 ###!!! ASSERTION: Losing track of existing primary frame: '!aFrame || !mPrimaryFrame || aFrame == mPrimaryFrame', file ...dist\include\nsIContent.h, line 805 ... 0:32.05 ###!!! ASSERTION: Unexpected primary frame: 'area->mArea->GetPrimaryFrame() == mImageFrame', file ...layout/generic/nsImageMap.cpp, line 703 ... 0:32.08 ###!!! ASSERTION: Unexpected primary frame: 'area->mArea->GetPrimaryFrame() == mImageFrame', file .../layout/generic/nsImageMap.cpp, line 703 I'm guessing this is the same bug rather than opening a new one.
Comment 9•9 years ago
|
||
Still affects trunk (given comment 3, I guess that's to be expected, though).
Updated•7 years ago
|
Has Regression Range: --- → irrelevant
status-firefox56:
--- → wontfix
status-firefox57:
--- → wontfix
status-firefox58:
--- → fix-optional
status-firefox-esr52:
--- → wontfix
Comment 10•7 years ago
|
||
https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Move_fix-optionals
status-firefox59:
--- → ?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•