<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../resources/js-test.js"></script> | |
</head> | |
<body> | |
<div id="description"></div> | |
<div id="console"></div> | |
<script> | |
description('Test Promise constructor inside Blink.'); | |
var resolve; | |
var promise = internals.createResolvedPromise(undefined); | |
debug('constructor = ' + promise.constructor); | |
debug('then = ' + promise.then); | |
debug('catch = ' + promise.catch); | |
</script> | |
</body> | |
</html> |