summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/files/file-reader-sandbox-iframe.html
blob: a814cd7132b003e6cd4afcdbd9e5e1d1a0efde5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<script>
if (window.testRunner) {
    testRunner.setAllowUniversalAccessFromFileURLs(false);
    testRunner.setAllowFileAccessFromFileURLs(false);
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}
</script>
</head>
<body>
<iframe src="resources/file-reader-real.html" sandbox="allow-scripts"></iframe>
<div id="results"></div>
Test that FileReader works under the sandboxed iframe.
</body>
</html>