Closed Bug 1956780 Opened 1 year ago Closed 1 year ago

Add strict weak ordering checks from newer libc++ to nsTArray

Categories

(Core :: XPCOM, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Depends on 1 open bug)

Details

Attachments

(2 files)

Moving from bug 1947516.

It doesn't need to be an instance function, and the new checks can cause
some comparators to be called where they weren't before, causing debug
assertions like the ones in bug 1947516 comment 13.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

This is a useful check that has caught real issues. Make sure our fuzzers and
automation hits it on non-libc++ based platforms too.

Attachment #9475045 - Attachment description: Bug 1956780 - Add strict weak ordering checks from newer libc++ to nsTArray::StableSort(). r=#xpcom-reviewers → Bug 1956780 - Add strict weak ordering checks from newer libc++ to nsTArray. r=#xpcom-reviewers
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/931a44705ab3 Make nsHttpHandler::EchConfigEnabled a static function. r=necko-reviewers,kershaw
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5355d6f36636 Add strict weak ordering checks from newer libc++ to nsTArray. r=xpcom-reviewers,nika
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Regressions: 1958995
No longer regressions: 1958995
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: