Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html |
index 609ac6e433a88b35191f40879e3eddad4a4fc429..dda6288e5250ee061aba162a8d6e1ec75e491d11 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-xhr-iframe.html |
@@ -69,7 +69,7 @@ function get_header_test() { |
.then(function(response) { |
assert_array_equals( |
get_sorted_header_name_list(response.headers), |
- ["accept", "user-agent"], |
+ ["accept"], |
'event.request has the expected headers for same-origin GET.'); |
}); |
} |
@@ -81,7 +81,7 @@ function post_header_test() { |
.then(function(response) { |
assert_array_equals( |
get_sorted_header_name_list(response.headers), |
- ["accept", "content-type", "origin", "user-agent"], |
+ ["accept", "content-type", "origin"], |
'event.request has the expected headers for same-origin POST.'); |
}); |
} |
@@ -91,7 +91,7 @@ function cross_origin_get_header_test() { |
.then(function(response) { |
assert_array_equals( |
get_sorted_header_name_list(response.headers), |
- ["accept", "user-agent"], |
+ ["accept"], |
'event.request has the expected headers for cross-origin GET.'); |
}); |
} |
@@ -103,7 +103,7 @@ function cross_origin_post_header_test() { |
.then(function(response) { |
assert_array_equals( |
get_sorted_header_name_list(response.headers), |
- ["accept", "content-type", "origin", "user-agent"], |
+ ["accept", "content-type", "origin"], |
'event.request has the expected headers for cross-origin POST.'); |
}); |
} |