Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-frame-errors.html

Issue 2634923003: Use SecureContext attribute for IDL of Credential Mgmt API
Patch Set: Added comment Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698