Open Bug 1817215 Opened 2 years ago Updated 1 year ago

Partial Test For `MathMLTextRunFactory::RebuildTextRun(nsTransformedTextRun* aTextRun, mozilla::gfx::DrawTarget* aRefDrawTarget, gfxMissingFontRecorder* aMFR)` When `mInnerTransformingTextRunFactory`

Categories

(Core :: MathML, enhancement)

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: c.e.brandt, Unassigned)

References

Details

Attachments

(4 files)

Attached file test.html

This report is part of a research collaboration between Mozilla and the TU Delft.
If you want to help us understand whether this report is helpful,
please answer a few questions before you start addressing the report.

If you would rather talk to us or show your process on screen, you can schedule a call (write Carolin at c.e.brandt@tudelft.nl) or upload a screen recording.


We created a test case that executes the not-yet-tested code block at https://searchfox.org/mozilla-central/source/layout/generic/MathMLTextRunFactory.cpp#639.
However, the test is missing a functional check (is(..) or ok(..)) to check that the behavior of the code block is correct.

Please complete the test and add it to the test suite, if you think it is worth to do so.

In the attachments we provide the generated test (test.html).
It reaches the targeted code block through the stacktrace in stacktrace.txt.
We also provide some additional generated tests that target the same location (alternative_test_N.html).

Attached file stacktrace.txt

Future changes could make the searchfox link invalid.
Here is a permalink to the code targeted by our test case: https://searchfox.org/mozilla-central/rev/00ea1649b59d5f427979e2d6ba42be96f62d6e82/layout/generic/MathMLTextRunFactory.cpp#639

See Also: → 1821980
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: