Remove test for <math> which fails when Extension:Math is installed
authorTim Starling <tstarling@wikimedia.org>
Wed, 28 Sep 2016 00:17:50 +0000 (10:17 +1000)
committerTim Starling <tstarling@wikimedia.org>
Thu, 29 Sep 2016 02:07:43 +0000 (12:07 +1000)
commitabd78574ade85f167c52184d3fbe51cc41c8396e
treefbda844371660465e6325c30067991fd85b0d998
parent3dfede8ada9cec021ccaa344700f9ffde7ec4081
Remove test for <math> which fails when Extension:Math is installed

And add a test for <mw:toc>

C. Scott asked for this test to be added in CR on
Ib48b91238c3eddd6a86b62, but it was never actually executed prior to
Ic840678b851d6fc472b834 due to a TestFileReader bug. The nuisance it
causes now becomes apparent.

As was noted at the time, it is unnecessary because Tidy is not a
sanitization pass, <math> is not whitelisted in the Sanitizer. C. Scott
said "I was just concerned that the particular means used to hide the
mathml from tidy might also hide it from the sanitizer." I don't think
that's plausible, but we can test for it anyway by trying to pass
<mw:toc> elements through the Sanitizer.

Change-Id: I5928e6f31d8b80ef384a1c0e6bacfa789cac9770
tests/parser/parserTests.txt