blob: e95bf1f89a40ad1f84c288997d3bd10624ecd358 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
// Note this must be consistent with the one defined in fake_gaia.cc.
var AUTH_CODE = 'fake-auth-code';
function onMessage(e) {
var targetWindow = e.source;
targetWindow.postMessage({
'type': 'authorizationCode',
'authorizationCode': AUTH_CODE
}, e.origin);
}
window.addEventListener('message', onMessage);
</script>
<body>
</body>
</html>