wiki.techinc.nl/tests/phpunit/data
Roan Kattouw 8c6c1c9adc VueComponentParser: Use RemexHtml instead of PHP's HTML parser
This fixes an issue with HTML tags inside the <script> tag.
Remex also doesn't throw errors on attributes like @click, although it
does mangle them when producing DOM. To work around this, don't use DOM
serialization for the template HTML, but parse everything again using a
Remex parse+serialize pipeline that extracts the template and
(optionally) removes comments and strips whitespace.

One important effect of this change is that we'll have to forbid
self-closing tags in Vue templates, because Remex doesn't handle those
correctly (or rather, handles them *too* correctly). But on the up side,
we can now allow shorthands for v-bind/v-on/v-slot again.

Bug: T253334
Bug: T255587
Depends-On: I2253a2317187fe0d781ba5bfefab95e0f97d0a80
Change-Id: Id9a9728b7163601cc60bc587be07b70977d41970
2020-06-22 19:54:15 +00:00
..
autoloader Improve AutoLoader test coverage 2018-05-26 21:29:36 -07:00
categoriesrdf Fix categories detele SPARQL clause 2019-08-27 16:19:31 -07:00
composer ComposerInstalledTest: remove mentions of phpunit-mock-objects 2019-11-21 12:59:45 -08:00
css resourceloader: Strip leading BOM when concatenating files 2016-05-31 19:47:19 +01:00
cssmin CSSMin: Remove XML declaration from SVGs 2018-01-11 19:28:15 -08:00
db Remove DatabaseIntegrationTest::testStoredFunctions() 2020-06-02 10:47:29 +10:00
dumps Make dump tests based on fixture files. 2020-04-06 15:21:00 -07:00
filecontentshasher Add unit tests for FileContentsHasher 2015-09-24 13:39:09 +01:00
filerepo Copy various random files used by tests to tests/phpunit/data 2014-06-03 22:52:51 +02:00
gitinfo GitInfo: Allow cache to be in the extension directory itself 2016-01-06 14:41:36 -08:00
import Remove traling double newlines from text files 2019-10-23 21:17:43 +02:00
less resourceloader: Add test case for ResourceLoader::getLessCompiler 2018-05-19 23:06:54 +00:00
localisationcache Don't fallback from uk to ru 2016-11-23 19:24:54 +02:00
media Fix XMP parser errors due to trailing nullchar 2019-09-11 22:34:33 +00:00
messages languages: Move default $wgNamespaceAliases to MessagesEn.php 2020-03-14 19:27:40 +00:00
MSCompoundFileReader Better detection for old MS Office files 2019-01-23 09:23:17 +11:00
parser ParserTests: Add a video file to parser test suite 2016-01-07 13:24:43 -08:00
registration tests: Add test file to test SPDX license expressions 2020-05-02 12:47:31 +01:00
resourceloader VueComponentParser: Use RemexHtml instead of PHP's HTML parser 2020-06-22 19:54:15 +00:00
rlfilepath Allow skins/extensions to define custom OOUI themes 2019-07-10 22:08:14 +02:00
templates TemplateParserTest: Add test case with syntax error 2020-01-29 23:15:53 +00:00
upload Relax HTML sniffing checks on image upload 2019-06-07 14:21:00 -07:00
zip