mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-10 13:23:42 +00:00
25 lines
511 B
HTML
25 lines
511 B
HTML
|
<!-- Any copyright is dedicated to the Public Domain.
|
||
|
http://creativecommons.org/publicdomain/zero/1.0/ -->
|
||
|
<!DOCTYPE html>
|
||
|
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8"/>
|
||
|
<title>Promise test page</title>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<script type="text/javascript">
|
||
|
function makePromises() {
|
||
|
var p = new Promise(() => {});
|
||
|
p.name = "p";
|
||
|
var q = p.then();
|
||
|
q.name = "q";
|
||
|
var r = p.then(null, () => {});
|
||
|
r.name = "r";
|
||
|
}
|
||
|
</script>
|
||
|
</body>
|
||
|
|
||
|
</html>
|