Last modified: 2012-12-09 16:32:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42490, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40490 - Html tests depends on $wgWellFormedXml = true
Html tests depends on $wgWellFormedXml = true
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
1.19.1
All All
: Normal enhancement (vote)
: 1.21.0 release
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-24 21:51 UTC by Niklas Laxström
Modified: 2012-12-09 16:32 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2012-09-24 21:51:13 UTC
Example:

12) HtmlTest::testHtmlElementAcceptsNewHtml5TypesInHtml5Mode with data set #6 ('number')
In HTML5, HTML::element() should accept type="number"
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'<input type="number" />'
+'<input type=number>'


Should not depend on $wgWellFormedXml being set to true on wiki configuration.
Comment 1 Antoine "hashar" Musso (WMF) 2012-09-25 07:38:22 UTC
Rephrased subject. We want to override $wgWellFormedXml to true in the HtmlTest suite.  We eventually want to write a new test suite to test out $wgWellFormedXml.
Comment 2 Antoine "hashar" Musso (WMF) 2012-09-25 07:41:57 UTC
See also bug 40487 for XmlTests
Comment 3 Umherirrender 2012-12-09 10:43:52 UTC
Maybe already fixed with Gerrit change #27160.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links