Closed
Bug 861607
Opened 12 years ago
Closed 12 years ago
ASSERTION: Map should be empty already: 'clearedEntries == 0' running bidi reftests
Categories
(Core :: Layout: Text and Fonts, defect)
Core
Layout: Text and Fonts
Tracking
()
RESOLVED
FIXED
mozilla23
Tracking | Status | |
---|---|---|
firefox20 | --- | unaffected |
firefox21 | --- | fixed |
firefox22 | --- | fixed |
firefox23 | --- | fixed |
People
(Reporter: smontagu, Assigned: smontagu)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
1.33 KB,
patch
|
ehsan.akhgari
:
review+
bajaj
:
approval-mozilla-aurora+
bajaj
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
With the patch from bug 861606, running reftests in layout/reftests/bidi/dirAuto asserts a lot:
REFTEST TEST-UNEXPECTED-FAIL | file:///home/smontagu/mozwork/hgtree/mozilla/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-Auto6.html | assertion count 20 is more than expected 0 assertions
REFTEST TEST-UNEXPECTED-FAIL | file:///home/smontagu/mozwork/hgtree/mozilla/layout/reftests/bidi/dirAuto/dynamicDirAuto-setRTL-InvalidDir1.html | assertion count 15 is more than expected 0 assertions
REFTEST TEST-UNEXPECTED-FAIL | file:///home/smontagu/mozwork/hgtree/mozilla/layout/reftests/bidi/dirAuto/dynamicDirAuto-ChangeText-RTL4.html | assertion count 17 is more than expected 0 assertions
All the assertions are:
ASSERTION: Map should be empty already: 'clearedEntries == 0', file /home/smontagu/mozwork/hgtree/mozilla/content/base/src/DirectionalityUtils.cpp, line 551
Assignee | ||
Comment 1•12 years ago
|
||
These calls to ClearHasDirAutoSet are not right: if we clear the flag here in AfterSetAttr, we then don't go through the right code path in WalkAncestorsResetAutoDirection (called from OnSetDirAttr), and don't clear the old entries from TextNodeDirectionalityMap.
Assignee: nobody → smontagu
Attachment #737217 -
Flags: review?(ehsan)
Updated•12 years ago
|
Attachment #737217 -
Flags: review?(ehsan) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Flags: in-testsuite+
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 737217 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Bug 548206 or one of its followups
User impact if declined: without bug 861606 this could lead to sec-crit vulnerabilities (see dependencies for examples). With bug 861606 its impact is mitigated, but since risk is very low I'd like to get this in for the first release of dir=auto
Testing completed (on m-c, etc.): baked on m-c since 2013-04-15
Risk to taking this patch (and alternatives if risky): minimal
String or IDL/UUID changes made by this patch: none
Attachment #737217 -
Flags: approval-mozilla-beta?
Attachment #737217 -
Flags: approval-mozilla-aurora?
Comment 5•12 years ago
|
||
Comment on attachment 737217 [details] [diff] [review]
Patch
Approving the low risk uplift to avoid the dirauto sec-crit vulnerabilities .Please make sure to land on the beta branch by Monday Apr 22 for this to make it into Fx 21 beta 4
Attachment #737217 -
Flags: approval-mozilla-beta?
Attachment #737217 -
Flags: approval-mozilla-beta+
Attachment #737217 -
Flags: approval-mozilla-aurora?
Attachment #737217 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/762431b69db5
https://hg.mozilla.org/releases/mozilla-beta/rev/c9948f38753a
status-firefox20:
--- → unaffected
status-firefox21:
--- → fixed
status-firefox22:
--- → fixed
status-firefox23:
--- → fixed
Are there any user facing regression risks QA should be testing not covered by your tests?
Flags: needinfo?(smontagu)
You need to log in
before you can comment on or make changes to this bug.
Description
•