mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-09-07 06:54:33 +00:00
29 lines
528 B
HTML
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>
|