Closed Bug 1908512 Opened 1 year ago Closed 1 year ago

nsTextFrame could set the NS_HAS_FLOWLENGTH_PROPERTY flag on content even if the property setter failed

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file, 1 obsolete file)

Noticed in passing: in nsTextFrame::GetInFlowContentLength, we would end up setting the NS_HAS_FLOWLENGTH_PROPERTY flag even if the SetProperty call returned failure, which means the flag would be inconsistent with the actual presence (or not) of the property.

Fortunately, it doesn't look like this would lead to any visible change in behavior, or any security issue; it's just an internal inconsistency.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d2908fbd78d2 Don't set the NS_HAS_FLOWLENGTH_PROPERTY flag if the property setter actually failed. r=layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Attachment #9418583 - Attachment description: Bug 1908512 - Do not add .list manifests to first chunk on backstop pushes. r=ahal → Bug 1909512 - Do not add .list manifests to first chunk on backstop pushes. r=ahal

Comment on attachment 9418583 [details]
Bug 1909512 - Do not add .list manifests to first chunk on backstop pushes. r=ahal

Revision D218959 was moved to bug 1909512. Setting attachment 9418583 [details] to obsolete.

Attachment #9418583 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: