Browse Source

Adding missing message property on ErrorPrototype

Sebastien Ros 11 years ago
parent
commit
abe706ee71
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Jint/Native/Error/ErrorPrototype.cs

+ 1 - 0
Jint/Native/Error/ErrorPrototype.cs

@@ -18,6 +18,7 @@ namespace Jint.Native.Error
         {
         {
             var obj = new ErrorPrototype(engine, name) { Extensible = true };
             var obj = new ErrorPrototype(engine, name) { Extensible = true };
             obj.FastAddProperty("constructor", errorConstructor, true, false, true);
             obj.FastAddProperty("constructor", errorConstructor, true, false, true);
+            obj.FastAddProperty("message", "", true, false, true);
 
 
             if (name != "Error")
             if (name != "Error")
             {
             {