Index: src/promise.js |
diff --git a/src/promise.js b/src/promise.js |
index e402a18532647b96b6b07268858f95c4aa627064..443a3b8c01a15d2d8cd4de98e4dfb10219fcb511 100644 |
--- a/src/promise.js |
+++ b/src/promise.js |
@@ -365,6 +365,8 @@ var lastMicrotaskId = 0; |
%CheckIsBootstrapping(); |
%AddNamedProperty(global, 'Promise', $Promise, DONT_ENUM); |
+ %AddNamedProperty( |
+ $Promise.prototype, symbolToStringTag, "Promise", DONT_ENUM | READ_ONLY); |
InstallFunctions($Promise, DONT_ENUM, [ |
"defer", PromiseDeferred, |
"accept", PromiseResolved, |