Closed Bug 963324 Opened 11 years ago Closed 11 years ago

layout/reftests/mathml/menclose-1-ref.html tests the wrong feature

Categories

(Core :: MathML, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla30
Tracking Status
firefox27 --- wontfix
firefox28 --- fixed
firefox29 --- fixed
firefox30 --- fixed
firefox-esr24 --- fixed
b2g18 --- unaffected
b2g-v1.1hd --- unaffected
b2g-v1.2 --- fixed
b2g-v1.3 --- fixed
b2g-v1.3T --- fixed
b2g-v1.4 --- fixed

People

(Reporter: dveditz, Assigned: fredw)

References

Details

(Keywords: sec-other, Whiteboard: [adv-main28-][adv-esr24.4-][qa-])

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #963198 +++ When the UPDIAGONALARROW notation was added to the <menclose> feature in bug 875294 the test checked in with it used the wrong notation, updiagonalstrike, which we already have tests for. We need to update layout/reftests/mathml/menclose-1-ref.html to use the intended "updiagonalarrow" notation, which would have caught bug 963198 when we turned on TBPL ASAN tests.
Assignee: nobody → bjacob
Assignee: bjacob → fred.wang
Add some tests from the MathJax test suite. Updiagonalarrow is tested by menclose-1p.html. The tests are only checking that notation="" renders differently than notation="SOMENOTATION". I only ran them locally, not on the try server, as I don't know what is the policy regarding secured bugs. I think it would be worth making the fuzzer import tests from https://github.com/mathjax/MathJax-test/tree/master/testsuite/MathMLToDisplay/ if that's not already the case. I have also opened bug 963453.
Attachment #8364897 - Flags: review?(dveditz)
Comment on attachment 8364897 [details] [diff] [review] Import mismatch menclose reftests from the MathJax testsuite Asking review to Karl for when he is back.
Attachment #8364897 - Flags: review?(karlt)
Attachment #8364897 - Flags: review?(karlt) → review+
Comment on attachment 8364897 [details] [diff] [review] Import mismatch menclose reftests from the MathJax testsuite Review of attachment 8364897 [details] [diff] [review]: ----------------------------------------------------------------- Karl's review is sufficient. I know enough to notice it didn't test what it claimed but otherwise don't know MathML.
Attachment #8364897 - Flags: review?(dveditz)
Are we waiting any security approval before landing this patch? These are just reftests so they only need to land in trunk. I'm asking that because some volunteers will work on menclose reftests (bug 914031 and probably bug 963453 too). @Jesse: did you integrate https://github.com/mathjax/MathJax-test/tree/master/testsuite/MathMLToDisplay/ in your fuzzer as suggested in comment 1?
Flags: needinfo?(jruderman)
This is a sec-other and doesn't need security approval to land though no one has asked on the patch. Bug 963198 was checked in and fixed so they should just land.
Thanks for the information.
Keywords: checkin-needed
Attached patch Patch V2Splinter Review
Attachment #8364897 - Attachment is obsolete: true
Keywords: checkin-needed
I haven't integrated the MathJAX test suite yet, but it's on my list.
Flags: needinfo?(jruderman)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
(In reply to Frédéric Wang (:fredw) from comment #4) > These are just reftests so they only need to land in trunk. Any particular reason for that? Seems like the best way to verify a fix on a branch is to land a test for it :)
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #13) > (In reply to Frédéric Wang (:fredw) from comment #4) > > These are just reftests so they only need to land in trunk. > > Any particular reason for that? Seems like the best way to verify a fix on a > branch is to land a test for it :) I just meant that only the code change was necessary to fix the security bug, but please ignore my comment and follow your usual procedures. (Also, the tests do not really verify the fix but only gives testcases that the fuzzer could have used to detect the issue...)
Whiteboard: [adv-main28-][adv-esr24.4-]
Whiteboard: [adv-main28-][adv-esr24.4-] → [adv-main28-][adv-esr24.4-][qa-]
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: