Index: chrome/test/data/extensions/api_test/webrequest/test_declarative.js |
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_declarative.js b/chrome/test/data/extensions/api_test/webrequest/test_declarative.js |
index 3759f7ba7bfbc3bf8dd78376121a7a256705b647..adbc139d6db2fe6cbd7c3fa37e5e69d3cf673310 100644 |
--- a/chrome/test/data/extensions/api_test/webrequest/test_declarative.js |
+++ b/chrome/test/data/extensions/api_test/webrequest/test_declarative.js |
@@ -105,7 +105,9 @@ runTests([ |
}, |
'resourceType': ["main_frame"], |
'contentType': ["text/plain"], |
- 'excludeContentType': ["image/png"]})], |
+ 'excludeContentType': ["image/png"], |
+ 'responseHeaders': [{ nameContains: ["content", "type"] } ], |
+ 'excludeResponseHeaders': [{ valueContains: "nonsense" }] })], |
'actions': [new CancelRequest()]} |
], |
function() {navigateAndWait(getURLHttpWithHeaders());} |