Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / Promise-native-create.html
blob6462d25368136010e6a6d79bf6ac3ecf15e0970f
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.');
12 var resolve;
13 var promise = window.internals.createResolvedPromise(undefined);
15 debug('constructor = ' + promise.constructor);
16 debug('then = ' + promise.then);
17 debug('catch = ' + promise.catch);
19 </script>
20 </body>
21 </html>