Closed Bug 1180036 Opened 9 years ago Closed 9 years ago

~7,500 instances of 'WARNING: anonymous nodes should not be in child lists (bug 439258)' emitted from layout/base/RestyleManager.cpp during linux64 debug testing

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox42 --- fixed

People

(Reporter: erahm, Assigned: erahm)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

> 7454 [NNNNN] WARNING: anonymous nodes should not be in child lists (bug 439258): file layout/base/RestyleManager.cpp, line 1448

This is currently the #3 most verbose warning [1] during linux64 debug testing. I imagine this relates to bug 1177819 as well.

Given bug 439258 has been around 7 years, perhaps we should give up on this warning?

[1] https://hg.mozilla.org/mozilla-central/annotate/f5e3bacfb60e/layout/base/RestyleManager.cpp#l1448
I think we should use the infrastructure from bug 1177819 here as well to not warn in the cases that bug doesn't warn/assert in and see where that leaves us.
Depends on: 1177819
With the landing of bug 1177819 it looks like we can start work on this. Also this is now the #1 most verbose warning.
The try run indicates bug 1177819 covered all the whitelisting cases. All we need to do is switch to an assert w/ whitelisting here.
Attachment #8638604 - Flags: review?(bzbarsky)
Assignee: nobody → erahm
Status: NEW → ASSIGNED
Comment on attachment 8638604 [details] [diff] [review]
Replace the warning that anonymous nodes should not be in child lists with an assert plus whitelisting of known-OK cases

r=me
Attachment #8638604 - Flags: review?(bzbarsky) → review+
url:        https://hg.mozilla.org/integration/mozilla-inbound/rev/cc03e18f0438a92863e8871fdffe8efa52c9f4a6
changeset:  cc03e18f0438a92863e8871fdffe8efa52c9f4a6
user:       Eric Rahm <erahm@mozilla.com>
date:       Fri Jul 24 09:47:51 2015 -0700
description:
Bug 1180036 - Replace the warning that anonymous nodes should not be in child lists with an assert plus whitelisting of known-OK cases. r=bz
https://hg.mozilla.org/mozilla-central/rev/cc03e18f0438
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: