[WebGPU] Add WebGPU to the "All Source" scheme in WebKit.xcworkspace
[WebKit-https.git] / LayoutTests / security / cannot-read-self-from-file.html
1 <!DOCTYPE html><!-- webkit-test-runner [ AllowUniversalAccessFromFileURLs=false AllowFileAccessFromFileURLs=false ] -->
2 <html>
3 <head>
4 <script src="../resources/testharness.js"></script>
5 <script src="../resources/testharnessreport.js"></script>
6 <script>
7 var t = async_test('file: should be a unique-origin protocol for XHR purposes');
8 window.addEventListener('message', t.step_func(function(evt) {
9     assert_equals(evt.data, 'SUCCESS');
10     t.done();
11 }));
12 </script>
13 </head>
14 <body>
15 <iframe src="resources/cannot-read-self-from-file.html"></iframe>
16 Documents loaded from file: shouldn't be able to access themselves via XHR.
17 </body>
18 </html>