OutputPage: Apply target and origin filter to exempt modules
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 16 Aug 2016 22:25:08 +0000 (15:25 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 16 Aug 2016 22:56:02 +0000 (15:56 -0700)
commit4ed96c1dde5ea1afa12355590de7d01ab23151e6
treeffbf6ec720f97ba0d583498e67f529b9e0b831dc
parent940c1e1089943649a8dad11cd6ef7aab65b02731
OutputPage: Apply target and origin filter to exempt modules

Follows-up 80e5b160e, which moved filter logic to getRlClient()
so that ResourceLoaderClientHtml doesn't have to deal with this.

While that worked fine for most modules (including 'site'),
it no longer applied the filter for exempt/hardcoded modules
(such as 'site.styles' and 'startup').

Bug: T143066
Change-Id: Iec924003873bc47484a0dc2f1a215f87aa4afdfb
includes/OutputPage.php
includes/resourceloader/ResourceLoaderClientHtml.php