wiki.techinc.nl/tests/phpunit/includes/resourceloader
Timo Tijhof f22b3b81f9 resourceloader: Add internal RLPAGEMODULES constant
Expose this constant for internal use by Navigation Timing,
so that it can compute mwLoadEnd based on when these modules
finish loading.

The way mwLoadEnd is currently computed is by building a list
of all registered module names, and narrowing it down to the
ones in 'loading' state at the time that ext.navigationTiming.js
executes. The problem with doing that, is that it is includes
various lazy-loaded modules that aren't critical to the page and
aren't meant to be tracked by that metric. For example:

* Preloading of modules from various extensions (including VE,
  and Popups).
* Background chains for EventLogging schemas from mw.loader.using,
  including the one started by Navigation Timing itself.
  On my local install, the list of filtered down modules always
  includes 'schema.SaveTiming', '...rumSpeedIndex', etc.

Exporting the list passed to the initial load() call as constant
will enable Navigation Timing to instead only await only those
modules (and their dependneices).

Bug: T204426
Change-Id: Ida134b4dfee218db16c2d1f88d4f26e8d761e154
2018-09-18 01:10:01 +01:00
..
templates
DerivativeResourceLoaderContextTest.php Generalize ResourceLoader 'excludepage' functionality 2018-04-25 00:37:08 +00:00
MessageBlobStoreTest.php Fix flaky MessageBlobStoreTest assertion failures 2018-06-12 02:15:10 +00:00
ResourceLoaderClientHtmlTest.php resourceloader: Add internal RLPAGEMODULES constant 2018-09-18 01:10:01 +01:00
ResourceLoaderContextTest.php Generalize ResourceLoader 'excludepage' functionality 2018-04-25 00:37:08 +00:00
ResourceLoaderFileModuleTest.php resourceloader: Remove $wgResourceLoaderLESSVars support 2018-08-14 18:57:45 +00:00
ResourceLoaderImageModuleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ResourceLoaderImageTest.php Use fallback languages in ResourceLoaderImage 2018-04-01 20:41:01 +01:00
ResourceLoaderLessVarFileModuleTest.php Fix improper parameters to ReflectionMethod::invoke 2018-05-17 22:30:58 -07:00
ResourceLoaderModuleTest.php resourceloader: Remove selective build optimisation from getModuleContent() 2018-08-30 21:02:57 +00:00
ResourceLoaderOOUIImageModuleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
ResourceLoaderSkinModuleTest.php resourceloader: Remove unused static SkinModule::getLogo method 2018-08-28 23:50:50 +01:00
ResourceLoaderStartUpModuleTest.php resourceloader: Use 'enableModuleContentVersion' for startup module 2018-08-31 00:23:23 +00:00
ResourceLoaderTest.php resourceloader: Make ResourceLoader::makeLoaderRegisterScript() internal 2018-09-18 00:53:42 +01:00
ResourceLoaderWikiModuleTest.php build: Updating mediawiki/mediawiki-codesniffer to 22.0.0 2018-09-16 15:51:11 +00:00