Index: LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html |
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html b/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html |
index 7391fe5083e399ad2aa743e1049829884808aedd..55ab3bc685a9ec625aeb557ae4d166e262bb3ec9 100644 |
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html |
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html |
@@ -57,6 +57,7 @@ function xhr_send(url_base, method, data, with_credentials) { |
function string_test() { |
return xhr_send(host_info['HTTP_ORIGIN'], 'POST', 'test string', false) |
.then(function(response) { |
+ assert_equals(response.context, 'xmlhttprequest'); |
assert_equals(response.method, 'POST'); |
assert_equals(response.body, 'test string'); |
}); |
@@ -66,6 +67,7 @@ function blob_test() { |
return xhr_send(host_info['HTTP_ORIGIN'], 'POST', new Blob(['test blob']), |
false) |
.then(function(response) { |
+ assert_equals(response.context, 'xmlhttprequest'); |
assert_equals(response.method, 'POST'); |
assert_equals(response.body, 'test blob'); |
}); |