소스 검색

Adding missing message property on ErrorPrototype

Sebastien Ros 11 년 전
부모
커밋
abe706ee71
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 };
             obj.FastAddProperty("constructor", errorConstructor, true, false, true);
+            obj.FastAddProperty("message", "", true, false, true);
 
             if (name != "Error")
             {