blob: 23df84d42911321ddf8be7d26dd128758a6d6068 [file] [log] [blame]
Validates User-Agent header of XMLHttpRequest
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
* Synchronous XHR
PASS syncXHR.status is 200
PASS syncXHRUserAgent.includes('AppleWebKit/') is true
* Asynchronous XHR
PASS asyncXHR.status is 200
PASS asyncXHRUserAgent.includes('AppleWebKit/') is true
PASS syncXHRUserAgent === asyncXHRUserAgent is true
PASS successfullyParsed is true
TEST COMPLETE