Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / js / Promise-native-create.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <div id="description"></div>
8 <div id="console"></div>
9 <script>
10 description('Test Promise constructor inside Blink.');
11
12 var resolve;
13 var promise = window.internals.createResolvedPromise(undefined);
14
15 debug('constructor = ' + promise.constructor);
16 debug('then = ' + promise.then);
17 debug('catch = ' + promise.catch);
18
19 </script>
20 </body>
21 </html>