Closed Bug 2011462 Opened 8 months ago Closed 8 months ago

Investigate assertions in crashtests after bug 1994346 with layout.abspos.fragmentainer-aware-positioning.enabled=true

Categories

(Core :: Layout: Positioned, task)

task

Tracking

()

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Below is a list of crashtests that have trigger addition assertions after applying my WIP from bug 1994346 with the pref layout.abspos.fragmentainer-aware-positioning.enabled set to true:

REFTEST TEST-UNEXPECTED-FAIL | layout/generic/crashtests/509749-1.html | assertion count 2 is more than expected 0 assertions
REFTEST TEST-UNEXPECTED-FAIL | layout/generic/crashtests/580504-1.xhtml | assertion count 3 is more than expected 0 assertions
REFTEST TEST-UNEXPECTED-FAIL | layout/generic/crashtests/1764205.html | assertion count 14 is more than expected 4 assertions

The assertion is

###!!! ASSERTION: Shouldn't be incomplete if availableBSize is UNCONSTRAINED.: 'aReflowInput.AvailableBSize() != NS_UNCONSTRAINEDSIZE',

1764205.html triggers following additional assertions (added in bug 1994346).

###!!! ASSERTION: UnfragmentedPositionProperty should only be set on first-in-flow!

Bug 1994346 added a measuring reflow in multicol, so it looks like in an incremental reflow, some frames fails to become fully-complete in the measuring reflow, triggering the first assertion. That results in some continuations left in the abscb, triggering the second assertion.

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Depends on: 1775003
Blocks: 2002115

1764205.html already triggers

###!!! ASSERTION: Shouldn't be incomplete if availableBSize is UNCONSTRAINED.:
'aReflowInput.AvailableBSize() != NS_UNCONSTRAINEDSIZE',

With bug 1994346 and
layout.abspos.fragmentainer-aware-positioning.enabled=true, it triggers
additional

###!!! ASSERTION: UnfragmentedPositionProperty should only be set on
first-in-flow!
Pushed by aethanyc@gmail.com: https://github.com/mozilla-firefox/firefox/commit/cbe831a1185b https://hg.mozilla.org/integration/autoland/rev/2a9877be9c10 Increase the assertion counts for crashtest 1764205.html. r=layout-reviewers,dholbert
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: