Closed Bug 1652194 Opened 4 years ago Closed 4 years ago

SVGGenericContainerFrame.cpp might be dead code

Categories

(Core :: SVG, task, P5)

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: dholbert, Assigned: longsonr)

References

()

Details

Attachments

(1 file)

When reviewing https://phabricator.services.mozilla.com/D83140, I noticed a code-coverage lint note saying that SVGGenericContainerFrame.cpp is un-covered.

Perhaps it's dead code & needs removing? (Or if not, we should probably add some testcases that exercise it.)

Link to the relevant file:
https://searchfox.org/mozilla-central/source/layout/svg/SVGGenericContainerFrame.cpp

You'd need a <generic> element I think. https://searchfox.org/mozilla-central/source/layout/base/nsCSSFrameConstructor.cpp#5018

That's was xul/xbl thing wasn't it. Is that all dead now?

XUL still exists, but we're not thrilled with that, and we're intending to remove it when we can (which involves lots of porting, rewriting, and/or emulation).

XBL is dead; https://bgrins.github.io/xbl-analysis/ says XBL bindings are all gone from the tree.

(I'm not familiar with the <generic> element, but if it was a XUL/XBL thing, then I think it's safe to say we don't care about it & we should remove it as long as nothing's using it, and I think this code-coverage linter indicates that indeed nothing's using it.)

Assignee: nobody → longsonr
Status: NEW → ASSIGNED
Pushed by longsonr@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/5e9a7815de71
Remove SVGGenericContainerFrame r=jwatt
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: