Go to file
Gergő Tisza 7afbc5ce92 Use provider XHR information in performance metrics + several fixes
* more robust method of obtaining URL
* decouple performance logging from providers (mostly)
* ignore fake XHR object which jQuery returns for JSONP requests
* guard for CORS requests - apparently Chrome refuses to return
  certain information even with an Allow-Origin: * response header.
* Resource Timing is limited to 150 results, which causes fake
  misses in debug mode. There is an API to increase the limit
  but it is not implemented in Chrome. I am calling it nevertheless,
  maybe IE understands it (it is present in the MSDN docs at least).

This seems to work for AJAX, CORS, JSONP, image AJAX; CORS requests
return 0 for a lot of values, per spec a Timing-Allow-Origin: *
header might help that.

Change-Id: I8353858022f51a7e70774e65513d0fa2554a5064
2014-02-19 00:38:27 +00:00
docs Use provider XHR information in performance metrics + several fixes 2014-02-19 00:38:27 +00:00
resources Use provider XHR information in performance metrics + several fixes 2014-02-19 00:38:27 +00:00
tests Use provider XHR information in performance metrics + several fixes 2014-02-19 00:38:27 +00:00
.gitignore Adding first pass at jsduck docs 2014-01-21 11:44:58 -08:00
.gitreview Add .gitreview 2013-08-08 11:11:01 +02:00
.jshintignore Switch to core's version of moment.js 2014-02-18 08:37:44 +00:00
.jshintrc Get rid of lightboxHooks 2014-02-13 17:47:30 -08:00
AUTHORS Big credits patch 2014-02-13 13:38:19 -08:00
COPYING Initial commit - working demo 2013-09-03 16:52:28 -07:00
importml.sh Make importml.sh less Linux-centric, more UNIX-agnostic 2013-12-05 00:19:02 +00:00
MultimediaViewer.i18n.php Localisation updates from https://translatewiki.net. 2014-02-17 20:47:02 +00:00
MultimediaViewer.php Use provider XHR information in performance metrics + several fixes 2014-02-19 00:38:27 +00:00
MultimediaViewerHooks.php Lazy-load mmv 2014-02-18 15:55:15 -08:00
viewer-ltr.svg Fix images and related CSS for RTL wikis 2013-11-26 00:54:18 +02:00
viewer-rtl.svg Fix images and related CSS for RTL wikis 2013-11-26 00:54:18 +02:00