OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <title>Credential Manager: get() basics.</title> | 2 <title>Credential Manager: get() basics.</title> |
3 <script src="../resources/testharness.js"></script> | 3 <script src="../resources/testharness.js"></script> |
4 <script src="../resources/testharnessreport.js"></script> | 4 <script src="../resources/testharnessreport.js"></script> |
5 <script> | 5 <script> |
6 add_completion_callback(() => { | 6 add_completion_callback(() => { |
7 if (window.testRunner) | 7 if (window.testRunner) |
8 window.testRunner.clearMockCredentialManagerResponse(); | 8 window.testRunner.clearMockCredentialManagerResponse(); |
9 }); | 9 }); |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 if (frame_tests == 3) | 22 if (frame_tests == 3) |
23 t.done(); | 23 t.done(); |
24 } | 24 } |
25 })); | 25 })); |
26 document.body.appendChild(iframe); | 26 document.body.appendChild(iframe); |
27 }); | 27 }); |
28 }; | 28 }; |
29 } | 29 } |
30 | 30 |
31 async_test(create_iframe_test("http://127.0.0.1:8000"), "Same-origin IFrame thro
ws."); | 31 async_test(create_iframe_test("http://127.0.0.1:8000"), "Same-origin IFrame thro
ws."); |
32 async_test(create_iframe_test("http://example.test:8000"), "Cross-origin IFrame
throws."); | 32 async_test(create_iframe_test("https://example.test:8443"), "Cross-origin IFrame
throws."); |
33 </script> | 33 </script> |
OLD | NEW |