wiki.techinc.nl/tests/phpunit/includes
Brad Jorsch 9ec1ef7308 API: Add "standard" header and hook for lacksSameOriginSecurity()
The header is intended for use with XMLHttpRequest when the request
might be part of an XSS. The hook is for extensions that might need to
add additional checks of some sort.

Bug: T98313
Change-Id: I0e5f2d3b29a79a12461dc33c90c812a56810f536

Signed-off-by: Chad Horohoe <chadh@wikimedia.org>
2016-05-20 09:25:14 -07:00
..
actions Revert "Make an empty "?action=" parameter default to "view"" 2016-05-18 18:54:50 +00:00
api API: Add "standard" header and hook for lacksSameOriginSecurity() 2016-05-20 09:25:14 -07:00
auth Use AuthManager on special pages 2016-05-16 15:12:13 +00:00
cache Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
changes Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-05-07 07:24:04 +00:00
composer Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
config Allow resources to be salvaged across service resets. 2016-05-19 12:38:07 +02:00
content Merge "Remove support for $wgWellFormedXml=false" 2016-05-13 21:52:23 +00:00
context Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
db Support custom query in pt-heartbeat lag detection 2016-04-01 23:41:14 +00:00
debug Fix-up for I52c511be04: call parent setup / teardown methods 2016-05-18 12:18:34 -07:00
deferred Convert SearchEngine to service containers 2016-04-25 16:25:17 -07:00
diff Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
exception Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
externalstore Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
filebackend Many more function case mismatches 2016-03-19 00:20:58 +00:00
filerepo Many more function case mismatches 2016-03-19 00:20:58 +00:00
GlobalFunctions Support hash fragments in wfAppendQuery() 2016-05-02 19:18:24 -07:00
htmlform Enforce calling HTMLForm::prepareForm before displayForm 2016-04-27 20:00:06 +01:00
import Swap the rest of array() -> [] 2016-03-30 22:04:58 +00:00
installer Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
interwiki Factor InterwikiLookup out of Interwiki class. 2016-05-18 11:57:32 +02:00
jobqueue Merge "CatWatch don't show the number of pages transcluded" 2016-04-14 14:10:12 +00:00
json Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
libs Decouple Xhprof profiling from profiling data processing 2016-05-12 22:23:05 +00:00
logging Changed 'expiry' to American English 'expiration' in en.json 2016-02-18 20:07:27 +01:00
mail Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
media Fix and standardize Doxygen tags 2016-04-30 12:10:17 +02:00
objectcache Follow-up cdc93a62bf: add serialize/unserialize tests for RedisBagOStuff 2016-05-12 22:41:16 +00:00
page Update mediawiki/mediawiki-codesniffer to 0.7.1 2016-05-07 07:24:04 +00:00
parser Remove support for $wgWellFormedXml=false 2016-05-12 17:40:01 -04:00
password Swap the rest of array() -> [] 2016-03-30 22:04:58 +00:00
phpunit Include phpunit license for backported classes 2015-09-25 11:18:20 -07:00
poolcounter Include type in hashKeyIntoSlots() 2016-05-09 16:54:51 -07:00
registration registration: Allow string value for Hooks 2016-05-03 13:23:07 -07:00
resourceloader resourceloader: Implement modern module loading (2/2) 2016-04-13 15:43:41 +00:00
search PrefixSearchTest, SearchEnginePrefixTest: ignore ext. special pages 2016-04-29 15:53:37 -04:00
Services Allow resources to be salvaged across service resets. 2016-05-19 12:38:07 +02:00
session Merge "Speed up password-handling in the unit tests" 2016-05-18 12:46:28 +00:00
site Introduce top level service locator. 2016-04-02 18:07:28 +03:00
skins Fix trivial PHPCS violations in */skins/* directories 2016-03-02 21:02:15 +01:00
specialpage Don't construct SpecialPages twice 2016-04-02 17:45:20 +02:00
specials Convert SearchEngine to service containers 2016-04-25 16:25:17 -07:00
title TitleFormatter: Match Title behavior for non-existent namespaces 2016-05-12 11:36:30 -07:00
upload Swap the rest of array() -> [] 2016-03-30 22:04:58 +00:00
user Merge "Speed up password-handling in the unit tests" 2016-05-18 12:46:28 +00:00
utils Fix UID test and make debugging easier 2016-04-05 18:52:14 -04:00
BlockTest.php Many more function case mismatches 2016-03-19 00:20:58 +00:00
CollationTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
DiffHistoryBlobTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
EditPageTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ExportTest.php phpunit: Abstract user-lang override in MediaWikiTestCase 2016-03-09 16:55:50 +00:00
ExtraParserTest.php phpunit: Abstract user-lang override in MediaWikiTestCase 2016-03-09 16:55:50 +00:00
FauxRequestTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
FauxResponseTest.php Fix numerous class/function casing 2016-03-18 23:14:49 +00:00
FormOptionsInitializationTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
FormOptionsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
GitInfoTest.php GitInfo: Allow cache to be in the extension directory itself 2016-01-06 14:41:36 -08:00
HooksTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
HtmlTest.php tests: Remove duplicate unit tests in HtmlTest.php 2016-05-18 20:54:49 +01:00
HttpTest.php Merge "Http::getProxy() method to get proxy configuration" 2016-03-25 15:38:18 +00:00
LicensesTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
LinkerTest.php LinkerTest: Fix passing test description to $this->assertEquals() 2016-05-17 20:30:02 +00:00
LinkFilterTest.php LinkFilterTests: Uncomment test cases that should pass on PHP 5.5 2016-02-17 19:35:20 +00:00
MediaWikiServicesTest.php Merge "Allow resources to be salvaged across service resets." 2016-05-19 12:45:16 +00:00
MediaWikiTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MediaWikiVersionFetcherTest.php
MergeHistoryTest.php Fix and standardize Doxygen tags 2016-04-30 12:10:17 +02:00
MessageTest.php Unify HTMLForm message handling 2016-05-02 19:48:28 +00:00
MimeMagicTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MovePageTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MWNamespaceTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
MWTimestampTest.php phpunit: Abstract user-lang override in MediaWikiTestCase 2016-03-09 16:55:50 +00:00
OutputPageTest.php Remove support for $wgWellFormedXml=false 2016-05-12 17:40:01 -04:00
PagePropsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
PathRouterTest.php Swap the rest of array() -> [] 2016-03-30 22:04:58 +00:00
PreferencesTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
PrefixSearchTest.php PrefixSearchTest, SearchEnginePrefixTest: ignore ext. special pages 2016-04-29 15:53:37 -04:00
RevisionStorageTest.php Remove Revision::getRawText() 2016-04-01 19:57:35 +01:00
RevisionStorageTestContentHandlerUseDB.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
RevisionTest.php Remove Revision::getRawText() 2016-04-01 19:57:35 +01:00
SampleTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
SanitizerTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
SanitizerValidateEmailTest.php
SiteConfigurationTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
StatusTest.php Allow passing a language into Status::getWikiText() etc. 2016-03-09 22:35:19 +00:00
TemplateCategoriesTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TemplateParserTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TestingAccessWrapper.php Handle static access in TestingAccessWrapper 2016-01-24 22:24:10 -06:00
TestingAccessWrapperTest.php Handle static access in TestingAccessWrapper 2016-01-24 22:24:10 -06:00
TestLogger.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TestUser.php Don't use deprecated User::checkPassword() in TestUser 2016-05-18 12:57:05 -04:00
TimeAdjustTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitleArrayFromResultTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitleMethodsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
TitlePermissionTest.php Revert "Split editcascadeprotected permission from protect permission" 2016-05-12 21:43:06 +00:00
TitleTest.php Add tests for Title::getPrefixedText() 2016-05-12 11:36:30 -07:00
WatchedItemIntegrationTest.php Add wfDeprecated calls to WatchedItem 2016-05-10 11:44:56 +00:00
WatchedItemStoreIntegrationTest.php add setNotificationTimestampsForUser to WatchedItemStore 2016-05-18 08:50:46 +00:00
WatchedItemStoreUnitTest.php add setNotificationTimestampsForUser to WatchedItemStore 2016-05-18 08:50:46 +00:00
WatchedItemUnitTest.php Make WatchedItemStore use MediaWikiServices 2016-05-06 08:47:29 +00:00
WebRequestTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
WikiMapTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
WikiReferenceTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
XmlJsTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
XmlSelectTest.php Remove support for $wgWellFormedXml=false 2016-05-12 17:40:01 -04:00
XmlTest.php Remove support for $wgWellFormedXml=false 2016-05-12 17:40:01 -04:00