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

Side by Side Diff: chrome/test/data/login/saml_api_login_auth.html

Issue 138133006: Add credential passing API for Chrome OS SAML login (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript">
4 function send_and_submit() {
5 var form = document.forms[0];
6 var token = form.elements['RelayState'].value;
7 window.setTimeout(function() {
8 window.postMessage({
9 type: 'gaia_saml_api',
10 call: {method: 'confirm', token: token}}, '/');
11 form.submit();
12 }, 0);
13 }
14 </script>
15 </head>
16 <body onload="send_and_submit();">
17 <form method=post action="$Post">
18 <input type=hidden name=SAMLResponse value="fake_response"/>
19 <input type=hidden name=RelayState value="$RelayState">
20 </form>
21 </body>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698