| Index: chrome/test/data/login/saml_api_login_auth.html
|
| diff --git a/chrome/test/data/login/saml_api_login_auth.html b/chrome/test/data/login/saml_api_login_auth.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f037a1902d574d8440372d04389d3c610c942e57
|
| --- /dev/null
|
| +++ b/chrome/test/data/login/saml_api_login_auth.html
|
| @@ -0,0 +1,22 @@
|
| +<html>
|
| + <head>
|
| + <script type="text/javascript">
|
| + function send_and_submit() {
|
| + var form = document.forms[0];
|
| + var token = form.elements['RelayState'].value;
|
| + window.setTimeout(function() {
|
| + window.postMessage({
|
| + type: 'gaia_saml_api',
|
| + call: {method: 'confirm', token: token}}, '/');
|
| + form.submit();
|
| + }, 0);
|
| + }
|
| + </script>
|
| + </head>
|
| + <body onload="send_and_submit();">
|
| + <form method=post action="$Post">
|
| + <input type=hidden name=SAMLResponse value="fake_response"/>
|
| + <input type=hidden name=RelayState value="$RelayState">
|
| + </form>
|
| + </body>
|
| +</html>
|
|
|