wiki.techinc.nl/tests/phpunit/includes/resourceloader
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
..
templates resourceloader: Add support for delivering templates 2014-10-29 19:31:16 +00:00
DerivativeResourceLoaderContextTest.php resourceloader: Let derivative context inherit getUserObj() object 2020-04-14 03:59:52 +01:00
MessageBlobStoreTest.php Fix tests/ PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 04:30:21 +01:00
ResourceLoaderClientHtmlTest.php resourceloader: Remove internal 'sync' option from ClientHtml 2020-04-23 20:48:04 +00:00
ResourceLoaderContextTest.php resourceloader: Export ResourceModuleSkinStyles as extension attribute 2020-03-30 16:08:00 -07:00
ResourceLoaderFileModuleTest.php VueComponentParser: Use RemexHtml instead of PHP's HTML parser 2020-06-22 19:54:15 +00:00
ResourceLoaderImageModuleTest.php resourceloader: Convert ImageModule test to stricter unit test 2019-09-24 23:17:31 +00:00
ResourceLoaderLessVarFileModuleTest.php Add missing empty lines between methods 2019-01-15 19:14:35 +00:00
ResourceLoaderModuleTest.php resourceloader: Mention ECMAScript version in JS parse error 2020-06-01 23:37:57 +00:00
ResourceLoaderOOUIImageModuleTest.php Support the creation of Skins with services injected 2020-03-16 23:25:42 +00:00
ResourceLoaderSkinModuleTest.php Fix stylesheet path of i18n-all-list-margins feature 2020-06-10 16:59:09 +02:00
ResourceLoaderStartUpModuleTest.php Fix a plethora of class and function call case mismatches 2020-05-26 14:14:46 +01:00
ResourceLoaderTest.php Replace all new stdClass() with identical (object)[] 2020-03-04 21:18:30 +00:00
ResourceLoaderWikiModuleTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
VueComponentParserTest.php VueComponentParser: Use RemexHtml instead of PHP's HTML parser 2020-06-22 19:54:15 +00:00