Chromium Code Reviews| Index: chrome/test/data/fileurl_universalaccess.html |
| =================================================================== |
| --- chrome/test/data/fileurl_universalaccess.html (revision 0) |
| +++ chrome/test/data/fileurl_universalaccess.html (revision 0) |
| @@ -0,0 +1,19 @@ |
| +<html> |
| +<body onload="test();"> |
| +<script> |
| +function test() { |
| + var status; |
| + try { |
| + var d = frames[0].document.open(); |
| + status = "Allowed"; |
| + d.close(); |
| + } catch (e) { |
| + status = "Disallowed"; |
| + } |
| + document.cookie = "status=" + status; |
| +} |
| +</script> |
| +<div id=result></div> |
| +<iframe src="data:text/html,"></iframe> |
| +</body> |
| +</html> |