| Index: LayoutTests/http/tests/security/xssAuditor/html5-import-safe.html
|
| diff --git a/LayoutTests/http/tests/security/xssAuditor/html5-import-safe.html b/LayoutTests/http/tests/security/xssAuditor/html5-import-safe.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d8d230ccfcc78ad3c0b3b7ac3409e8a9fa7b4a9e
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/xssAuditor/html5-import-safe.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.dumpChildFramesAsText();
|
| + testRunner.setXSSAuditorEnabled(true);
|
| +}
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<iframe src="http://localhost:8000/security/xssAuditor/resources/echo-intertag.pl?q=%3clink%20rel=%22import%22%20href=%22http://localhost:8000/security/xssAuditor/resources/safe-html.html%22%3e">
|
| +</iframe>
|
| +<p>This test passes if the "safe" HTML5 import occurs, because XSSAuditor gives a pass to resources from the same origin to cut down on the false positive rate.
|
| +</body>
|
| +</html>
|
|
|