Index: LayoutTests/fast/js/Promise-concat.html |
diff --git a/LayoutTests/fast/js/Promise-concat.html b/LayoutTests/fast/js/Promise-concat.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7d6472e8462b74f193f6fc3e978730649df48ab1 |
--- /dev/null |
+++ b/LayoutTests/fast/js/Promise-concat.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script src="resources/js-test-pre.js"></script> |
+</head> |
+<body> |
+<div id="description"></div> |
+<div id="console"></div> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+Array.prototype.concat = function(a) { return a; } |
+description('Test Promise.'); |
+ |
+shouldBe('Promise.concat([1, 2, 3], [4, 5, 6])', '[1, 2, 3, 4, 5, 6]'); |
+ |
+</script> |
+<script src="resources/js-test-post.js"></script> |
+</body> |
+</html> |