Index: third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js |
index 8646486fd68403396158e97d3173ec687fadc970..19d0e1591033256fcf9c666eed4fbfab8b3ac64c 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/resources/thorough-util.js |
@@ -102,7 +102,8 @@ var checkJsonpResult = function(expected, url, data) { |
var checkJsonpHeader = function(name, value, url, data) { |
assert_equals(data.jsonpResult, |
'success', |
- url + ' jsonpResult must be success'); |
+ url + ' jsonpResult must be success (header check name:' + |
+ name + ')'); |
assert_equals(data.headers[name], |
value, |
'Request header check failed url:' + url + ' name:' + name); |
@@ -110,7 +111,7 @@ var checkJsonpHeader = function(name, value, url, data) { |
var checkJsonpMethod = function(method, url, data) { |
assert_equals(data.jsonpResult, |
'success', |
- url + ' jsonpResult must be success'); |
+ url + ' jsonpResult must be success (method:' + method + ')'); |
assert_equals(data.method, |
method, |
'Method must match url:' + url); |
@@ -118,7 +119,8 @@ var checkJsonpMethod = function(method, url, data) { |
var checkJsonpAuth = function(username, password, cookie, url, data) { |
assert_equals(data.jsonpResult, |
'success', |
- url + ' jsonpResult must be success'); |
+ url + ' jsonpResult must be success (username:' + username + |
+ ' password:' + password + ' cookie:' + cookie); |
assert_equals(data.username, |
username, |
'Username must match. url: ' + url); |