| Index: third_party/WebKit/LayoutTests/http/tests/subresource_filter/resource-disallowed-on-redirect.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/subresource_filter/resource-disallowed-on-redirect.html b/third_party/WebKit/LayoutTests/http/tests/subresource_filter/resource-disallowed-on-redirect.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1dbdcaffb80c5add852dcc740275024900189502
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/subresource_filter/resource-disallowed-on-redirect.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.setDisallowedSubresourcePathSuffixes(["abe.png"]);
|
| +}
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<img src="http://localhost:8000/resources/redirect.php?url=../subresource_filter/resources/abe.png&code=302" onload="alert('FAIL: Load should have been disallowed.')" onerror="alert('PASS.')">
|
| +</body>
|
| +</html>
|
|
|