tenfourfox/browser/base/content/test/general/browser_fxa_oauth.html
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

29 lines
528 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>fxa_oauth_test</title>
</head>
<body>
<script>
window.onload = function(){
var event = new window.CustomEvent("WebChannelMessageToChrome", {
detail: {
id: "oauth_client_id",
message: {
command: "oauth_complete",
data: {
state: "state",
code: "code1",
closeWindow: "signin",
},
},
},
});
window.dispatchEvent(event);
};
</script>
</body>
</html>