Fix the CGDisplayListImageBufferBackend build
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / html / browsers / origin / relaxing-the-same-origin-restriction / document_domain_feature_policy.tentative.sub.html
1 <!DOCTYPE html>
2 <body>
3   <script src=/resources/testharness.js></script>
4   <script src=/resources/testharnessreport.js></script>
5   <script src=/feature-policy/resources/featurepolicy.js></script>
6   <script>
7   run_all_fp_tests_allow_all(
8       'http://{{hosts[alt][]}}:{{ports[http][0]}}',
9       'document-domain',
10       'SecurityError',
11       () => {
12         return new Promise((resolve, reject) => {
13           try {
14             document.domain = "{{domains[]}}";
15             resolve();
16           } catch(e) {
17             reject(e);
18           }
19        });
20       });
21   </script>
22 </body>