Преглед изворни кода

[MERGE #2903 @dilijev] Improve error message for not defined identifier; update baselines. Fixes #2901.

Merge pull request #2903 from dilijev:not-def

Fixes #2901
Ref #2658
Doug Ilijev пре 8 година
родитељ
комит
ebf6bb0c18
46 измењених фајлова са 758 додато и 758 уклоњено
  1. 1 1
      lib/Parser/rterrors.h
  2. 1 1
      test/Basics/IdsWithEscapes.baseline
  3. 1 1
      test/Basics/With.baseline
  4. 1 1
      test/Bugs/randombug.baseline
  5. 4 4
      test/DebuggerCommon/blockScopeFunctionDeclarationGlobalShadowingTest.bug308191.js.dbg.baseline
  6. 14 14
      test/Error/CallNonFunction_3.baseline
  7. 2 2
      test/Error/ErrorCtorProps_v3.baseline
  8. 2 2
      test/Error/NativeErrors_v4.baseline
  9. 3 3
      test/Error/errorNum.baseline
  10. 6 6
      test/Error/errorProps_v4.baseline
  11. 12 12
      test/Error/validate_line_column.baseline
  12. 3 3
      test/Function/defernested.baseline
  13. 26 26
      test/Function/funcExpr5.baseline
  14. 7 7
      test/LetConst/eval1.baseline
  15. 1 1
      test/LetConst/r.baseline
  16. 60 60
      test/Miscellaneous/HasOnlyWritableDataPropertiesCache.baseline
  17. 1 1
      test/Object/forIn.error.baseline
  18. 2 2
      test/Object/var.baseline
  19. 1 1
      test/Operators/new.baseline
  20. 1 1
      test/Optimizer/directglofield_dictionarytypehandler.baseline
  21. 1 1
      test/Optimizer/test133.baseline
  22. 3 3
      test/Optimizer/trycatch_functional.baseline
  23. 2 2
      test/Regex/blue_102584_1.baseline
  24. 2 2
      test/StackTrace/PropertyValidation.nostrict.baseline
  25. 2 2
      test/StackTrace/SimpleThrow.js.baseline
  26. 6 6
      test/StackTrace/x64StackWalk.baseline
  27. 16 16
      test/StackTrace/x64StackWalkLoopBody.baseline
  28. 1 1
      test/bailout/bug10.baseline
  29. 10 10
      test/es5/exceptions3.baseline
  30. 4 4
      test/es6/ES6Iterators-forof.js
  31. 7 7
      test/es6/blockscope-functionbinding.baseline
  32. 1 1
      test/es6/blue_641922.baseline
  33. 532 532
      test/es6/default-splitscope.js
  34. 5 5
      test/es6/default.js
  35. 3 3
      test/es7/asyncawait-syntax.js
  36. 1 1
      test/fieldopts/fieldhoist6.baseline
  37. 1 1
      test/fieldopts/fieldhoist6b.baseline
  38. 1 1
      test/fieldopts/fieldhoist7.baseline
  39. 1 1
      test/fieldopts/fieldhoist_negzero.baseline
  40. 2 2
      test/fieldopts/fieldhoist_stripbailouts.baseline
  41. 1 1
      test/fieldopts/fieldhoist_undefined_global.baseline
  42. 1 1
      test/fieldopts/fieldhoist_unreachable.baseline
  43. 1 1
      test/inlining/bug1469518.baseline
  44. 1 1
      test/inlining/stackTrace.baseline
  45. 3 3
      test/stackfunc/box_jitloopbody.baseline
  46. 1 1
      test/strict/10.eval_sm.baseline

+ 1 - 1
lib/Parser/rterrors.h

@@ -112,7 +112,7 @@ RT_ERROR_MSG(JSERR_NeedString, 5005, "'%s' is not a string", "String expected",
 RT_ERROR_MSG(JSERR_NeedDate, 5006, "'%s' is not a date object", "Date object expected", kjstTypeError, 0)
 RT_ERROR_MSG(JSERR_NeedObject, 5007, "'%s' is null or not an object", "Object expected", kjstTypeError, 0)
 RT_ERROR_MSG(JSERR_CantAssignTo, 5008, "", "Invalid left-hand side in assignment", kjstReferenceError, 0)
-RT_ERROR_MSG(JSERR_UndefVariable, 5009, "'%s' is undefined", "Undefined identifier", kjstTypeError, 0)
+RT_ERROR_MSG(JSERR_UndefVariable, 5009, "'%s' is not defined", "Undefined identifier", kjstTypeError, 0)
 RT_ERROR_MSG(JSERR_NeedBoolean, 5010, "'%s' is not a boolean", "Boolean expected", kjstTypeError, 0)
 
 // This is the legacy error code for JScript.

+ 1 - 1
test/Basics/IdsWithEscapes.baseline

@@ -2,7 +2,7 @@
 10
 20
 20
-ReferenceError: 'hello2' is undefined
+ReferenceError: 'hello2' is not defined
 SyntaxError: Syntax error
 SyntaxError: Syntax error
 SyntaxError: Syntax error

+ 1 - 1
test/Basics/With.baseline

@@ -17,7 +17,7 @@ null
 x.foo
 local.i
 5
-ReferenceError: 'f' is undefined
+ReferenceError: 'f' is not defined
 abcd
 O.evalinwith
 local evalinwith

+ 1 - 1
test/Bugs/randombug.baseline

@@ -91,7 +91,7 @@ passed
 Test case 38
 passed
 Test case 40
-ReferenceError: 'undefinedFunction' is undefined
+ReferenceError: 'undefinedFunction' is not defined
 	at eval code (eval code:1:22)
 	at testRuntimeError (randombug.js:458:9)
 	at test31 (randombug.js:462:5)

+ 4 - 4
test/DebuggerCommon/blockScopeFunctionDeclarationGlobalShadowingTest.bug308191.js.dbg.baseline

@@ -1,12 +1,12 @@
 [
   {
     "evaluate": {
-      "f": "Error 'f' is undefined"
+      "f": "Error 'f' is not defined"
     }
   },
   {
     "evaluate": {
-      "e": "Error 'f' is undefined"
+      "e": "Error 'f' is not defined"
     }
   },
   {
@@ -16,12 +16,12 @@
   },
   {
     "evaluate": {
-      "f": "Error 'f' is undefined"
+      "f": "Error 'f' is not defined"
     }
   },
   {
     "evaluate": {
-      "e": "Error 'f' is undefined"
+      "e": "Error 'f' is not defined"
     }
   }
 ]

+ 14 - 14
test/Error/CallNonFunction_3.baseline

@@ -22,7 +22,7 @@ TypeError (-2146823281): Object expected
 --- Test case: implicit global, do delete: false ---
 
 safeCall(function(){g0();});
-ReferenceError (-2146823279): 'g0' is undefined
+ReferenceError (-2146823279): 'g0' is not defined
 
 safeCall(function(){g1=undefined;g1();});
 TypeError (-2146823281): Object expected
@@ -40,58 +40,58 @@ TypeError (-2146823286): Function expected
 --- Test case: implicit global, do delete: true ---
 
 safeCall(function(){g6=undefined;delete g6;g6();});
-ReferenceError (-2146823279): 'g6' is undefined
+ReferenceError (-2146823279): 'g6' is not defined
 
 safeCall(function(){g7=null;delete g7;g7();});
-ReferenceError (-2146823279): 'g7' is undefined
+ReferenceError (-2146823279): 'g7' is not defined
 
 safeCall(function(){g8=1;delete g8;g8();});
-ReferenceError (-2146823279): 'g8' is undefined
+ReferenceError (-2146823279): 'g8' is not defined
 
 safeCall(function(){g9={};delete g9;g9();});
-ReferenceError (-2146823279): 'g9' is undefined
+ReferenceError (-2146823279): 'g9' is not defined
 
 
 --- Test case: global using window, do delete: false ---
 
 Only valid in IE:
 safeCall(function(){window.g10();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 Only valid in IE:
 safeCall(function(){window.g11=undefined;window.g11();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 Only valid in IE:
 safeCall(function(){window.g12=null;window.g12();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 Only valid in IE:
 safeCall(function(){window.g13=1;window.g13();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 Only valid in IE:
 safeCall(function(){window.g14={};window.g14();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 
 --- Test case: global using window, do delete: true ---
 
 Only valid in IE:
 safeCall(function(){window.g16=undefined;delete window.g16;window.g16();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 Only valid in IE:
 safeCall(function(){window.g17=null;delete window.g17;window.g17();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 Only valid in IE:
 safeCall(function(){window.g18=1;delete window.g18;window.g18();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 Only valid in IE:
 safeCall(function(){window.g19={};delete window.g19;window.g19();});
-ReferenceError (-2146823279): 'window' is undefined
+ReferenceError (-2146823279): 'window' is not defined
 
 
 --- Test case: global using this, do delete: false ---

+ 2 - 2
test/Error/ErrorCtorProps_v3.baseline

@@ -1,5 +1,5 @@
-ReferenceError: 'RegExpError' is undefined
-ReferenceError: 'ConversionError' is undefined
+ReferenceError: 'RegExpError' is not defined
+ReferenceError: 'ConversionError' is not defined
 ---------------------------------
 toString(): function Error() { [native code] }
 Property: 'message'

+ 2 - 2
test/Error/NativeErrors_v4.baseline

@@ -53,6 +53,6 @@ stack          = (string)  URIError
 toString()     = URIError
 
 RegExpError
-ReferenceError: 'RegExpError' is undefined
+ReferenceError: 'RegExpError' is not defined
 ConversionError
-ReferenceError: 'ConversionError' is undefined
+ReferenceError: 'ConversionError' is not defined

+ 3 - 3
test/Error/errorNum.baseline

@@ -1,6 +1,6 @@
--2146823279 'random' is undefined
--2146823279 'throwException' is undefined
--2146823279 'AString' is undefined
+-2146823279 'random' is not defined
+-2146823279 'throwException' is not defined
+-2146823279 'AString' is not defined
 -2146827283 Expected '('
 -2146823264 The URI to be encoded contains an invalid character
 -2146823263 The URI to be decoded is not a valid encoding

+ 6 - 6
test/Error/errorProps_v4.baseline

@@ -15,7 +15,7 @@ RangeError.prototype
     number	  isOwn = false	 value = undefined
     description	  isOwn = false	 value = undefined
 ConversionError.prototype
-ReferenceError: 'ConversionError' is undefined
+ReferenceError: 'ConversionError' is not defined
 
 Error
   ToString = function Error() { [native code] }
@@ -97,7 +97,7 @@ new ReferenceError("I'm a reference error")
 	at Global code (errorprops.js:80:1)
     number	  isOwn = false	 value = undefined
     description	  isOwn = false	 value = undefined
-ReferenceError: 'RegExpError' is undefined
+ReferenceError: 'RegExpError' is not defined
 
 new TypeError()
   ToString = TypeError
@@ -141,11 +141,11 @@ new TypeError("With a undef name")
     name	  isOwn = true	 value = undefined
 
 Runtime TypeError()
-  ToString = ReferenceError: 'boo' is undefined
+  ToString = ReferenceError: 'boo' is not defined
   Properties = 
     name	  isOwn = false	 value = ReferenceError
-    message	  isOwn = true	 value = 'boo' is undefined
-    stack	  isOwn = true	 value = ReferenceError: 'boo' is undefined
+    message	  isOwn = true	 value = 'boo' is not defined
+    stack	  isOwn = true	 value = ReferenceError: 'boo' is not defined
 	at Global code (errorprops.js:111:5)
     number	  isOwn = true	 value = -2146823279
-    description	  isOwn = true	 value = 'boo' is undefined
+    description	  isOwn = true	 value = 'boo' is not defined

+ 12 - 12
test/Error/validate_line_column.baseline

@@ -1,8 +1,8 @@
-ReferenceError: 'z1' is undefined
+ReferenceError: 'z1' is not defined
 	at Anonymous function (validate_line_column.js:17:6)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:16:1)
-ReferenceError: 'z1' is undefined
+ReferenceError: 'z1' is not defined
 	at Anonymous function (validate_line_column.js:21:6)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:20:1)
@@ -10,43 +10,43 @@ TypeError: Function is not a constructor
 	at Anonymous function (validate_line_column.js:26:24)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:24:1)
-ReferenceError: 'a' is undefined
+ReferenceError: 'a' is not defined
 	at Anonymous function (validate_line_column.js:30:6)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:29:1)
-ReferenceError: 'a' is undefined
+ReferenceError: 'a' is not defined
 	at Anonymous function (validate_line_column.js:35:5)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:33:1)
-ReferenceError: 'a' is undefined
+ReferenceError: 'a' is not defined
 	at Anonymous function (validate_line_column.js:40:5)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:38:1)
-ReferenceError: 'a' is undefined
+ReferenceError: 'a' is not defined
 	at Anonymous function (validate_line_column.js:45:6)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:43:1)
-ReferenceError: 'a' is undefined
+ReferenceError: 'a' is not defined
 	at Anonymous function (validate_line_column.js:50:6)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:48:1)
-ReferenceError: 'a' is undefined
+ReferenceError: 'a' is not defined
 	at Anonymous function (validate_line_column.js:55:6)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:53:1)
-ReferenceError: 'a' is undefined
+ReferenceError: 'a' is not defined
 	at Anonymous function (validate_line_column.js:60:5)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:58:1)
-ReferenceError: 'unresolved' is undefined
+ReferenceError: 'unresolved' is not defined
 	at Anonymous function (validate_line_column.js:65:11)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:63:1)
-ReferenceError: 'unresolved' is undefined
+ReferenceError: 'unresolved' is not defined
 	at Anonymous function (validate_line_column.js:72:11)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:70:1)
-ReferenceError: 'unresolved' is undefined
+ReferenceError: 'unresolved' is not defined
 	at Anonymous function (validate_line_column.js:79:11)
 	at foo (validate_line_column.js:10:9)
 	at Global code (validate_line_column.js:77:1)

+ 3 - 3
test/Function/defernested.baseline

@@ -58,11 +58,11 @@ call self from with
 foo 0
 
 parent is catch scope
-ReferenceError: 'no_such_var' is undefined
+ReferenceError: 'no_such_var' is not defined
 parent func contains catch scope
-ReferenceError: 'no_such_var' is undefined
+ReferenceError: 'no_such_var' is not defined
 parent func contains catch scope and eval
-ReferenceError: 'no_such_var' is undefined
+ReferenceError: 'no_such_var' is not defined
 
 Win8 540999: arguments identifier used as parameter
 TypeError: Unable to get property 'length' of undefined or null reference

+ 26 - 26
test/Function/funcExpr5.baseline

@@ -1,6 +1,6 @@
 check1: Test0(); #undefined
 check2: Test0('hello'); #undefined
-check3: F_Test0(); @'F_Test0' is undefined
+check3: F_Test0(); @'F_Test0' is not defined
 function F_Test1()

 {

     write(F_Test1);

@@ -11,7 +11,7 @@ function F_Test1()
     write(F_Test1);

 }
 check5: Test1('hello'); #undefined
-check6: F_Test1(); @'F_Test1' is undefined
+check6: F_Test1(); @'F_Test1' is not defined
 function F_Test2()

 {

     write(F_Test2);

@@ -38,40 +38,40 @@ function F_Test2()
     write(F_Test2);

 }
 check8: Test2('hello'); #undefined
-check9: F_Test2(); @'F_Test2' is undefined
+check9: F_Test2(); @'F_Test2' is not defined
 Test3: undefined
 Test3: undefined
 check10: Test3(); #undefined
 Test3: undefined
 Test3: undefined
 check11: Test3('hello'); #undefined
-check12: F_Test3(); @'F_Test3' is undefined
+check12: F_Test3(); @'F_Test3' is not defined
 Test4: undefined
 Test4: 100
 check13: Test4(); #undefined
 Test4: undefined
 Test4: 100
 check14: Test4('hello'); #undefined
-check15: F_Test4(); @'F_Test4' is undefined
+check15: F_Test4(); @'F_Test4' is not defined
 Test5: undefined
 Test5: 100
 check16: Test5(); #undefined
 Test5: undefined
 Test5: 100
 check17: Test5('hello'); #undefined
-check18: F_Test5(); @'F_Test5' is undefined
+check18: F_Test5(); @'F_Test5' is not defined
 Test6: undefined
 check19: Test6(); #undefined
 Test6: hello
 check20: Test6('hello'); #undefined
-check21: F_Test6(); @'F_Test6' is undefined
+check21: F_Test6(); @'F_Test6' is not defined
 Test7: undefined
 Test7: 100
 check22: Test7(); #undefined
 Test7: hello
 Test7: 100
 check23: Test7('hello'); #undefined
-check24: F_Test7(); @'F_Test7' is undefined
+check24: F_Test7(); @'F_Test7' is not defined
 Test8: undefined
 Test8: 100
 Test8: undefined
@@ -80,7 +80,7 @@ Test8: hello
 Test8: 100
 Test8: 100
 check26: Test8('hello'); #undefined
-check27: F_Test8(); @'F_Test8' is undefined
+check27: F_Test8(); @'F_Test8' is not defined
 Test9: undefined
 Test9: undefined
 Test9: 100
@@ -89,10 +89,10 @@ Test9: hello
 Test9: 100
 Test9: 100
 check29: Test9('hello'); #undefined
-check30: F_Test9(); @'F_Test9' is undefined
+check30: F_Test9(); @'F_Test9' is not defined
 check31: Test10(); #undefined
 check32: Test10('hello'); #undefined
-check33: F_Test10(); @'F_Test10' is undefined
+check33: F_Test10(); @'F_Test10' is not defined
 Test11: function F_Test11()

 {

     eval('write("Test11: " + F_Test11)');

@@ -103,12 +103,12 @@ Test11: function F_Test11()
     eval('write("Test11: " + F_Test11)');

 }
 check35: Test11('hello'); #undefined
-check36: F_Test11(); @'F_Test11' is undefined
+check36: F_Test11(); @'F_Test11' is not defined
 Test12: function F_Test12(){eval('write("Test12: " + F_Test12)');}
 check37: Test12(); #undefined
 Test12: function F_Test12(){eval('write("Test12: " + F_Test12)');}
 check38: Test12('hello'); #undefined
-check39: F_Test12(); @'F_Test12' is undefined
+check39: F_Test12(); @'F_Test12' is not defined
 Test13: function F_Test13()

 {

     write("Test13: " + F_Test13);

@@ -135,7 +135,7 @@ Test13: function F_Test13()
     write("Test13: " + F_Test13);

 }
 check41: Test13('hello'); #undefined
-check42: F_Test13(); @'F_Test13' is undefined
+check42: F_Test13(); @'F_Test13' is not defined
 Test14: function F_Test14()

 {

     write("Test14: " + F_Test14);

@@ -152,7 +152,7 @@ Test14: function F_Test14()
 }
 Test14: 100
 check44: Test14('hello'); #undefined
-check45: F_Test14(); @'F_Test14' is undefined
+check45: F_Test14(); @'F_Test14' is not defined
 Test15: function F_Test15()

 {

     write("Test15: " + F_Test15);

@@ -175,19 +175,19 @@ Test15: function F_Test15()
 Test15: undefined
 Test15: 100
 check47: Test15('hello'); #undefined
-check48: F_Test15(); @'F_Test15' is undefined
+check48: F_Test15(); @'F_Test15' is not defined
 undefined
 check49: Test16(); #undefined
 hello
 check50: Test16('hello'); #undefined
-check51: F_Test16(); @'F_Test16' is undefined
+check51: F_Test16(); @'F_Test16' is not defined
 Test17: undefined
 Test17: 100
 check52: Test17(); #undefined
 Test17: hello
 Test17: 100
 check53: Test17('hello'); #undefined
-check54: F_Test17(); @'F_Test17' is undefined
+check54: F_Test17(); @'F_Test17' is not defined
 Test18: undefined
 Test18: 100
 Test18: undefined
@@ -196,7 +196,7 @@ Test18: hello
 Test18: 100
 Test18: 100
 check56: Test18('hello'); #undefined
-check57: F_Test18(); @'F_Test18' is undefined
+check57: F_Test18(); @'F_Test18' is not defined
 Test19: undefined
 Test19: undefined
 Test19: 100
@@ -205,7 +205,7 @@ Test19: hello
 Test19: 100
 Test19: 100
 check59: Test19('hello'); #undefined
-check60: F_Test19(); @'F_Test19' is undefined
+check60: F_Test19(); @'F_Test19' is not defined
 10
 function F_Test20()

 {

@@ -232,7 +232,7 @@ function F_Test20()
   return 0;

 }
 check62: Test20('hello'); #0
-check63: F_Test20(); @'F_Test20' is undefined
+check63: F_Test20(); @'F_Test20' is not defined
 function y() {

             var a = function b() {

                 eval("WScript.Echo(y)");

@@ -267,10 +267,10 @@ function y() {
             a();

         }
 check65: Test21('hello'); #undefined
-check66: F_Test21(); @'F_Test21' is undefined
-check67: Test22(); @'e' is undefined
-check68: Test22('hello'); @'e' is undefined
-check69: F_Test22(); @'F_Test22' is undefined
+check66: F_Test21(); @'F_Test21' is not defined
+check67: Test22(); @'e' is not defined
+check68: Test22('hello'); @'e' is not defined
+check69: F_Test22(); @'F_Test22' is not defined
 typeof g === function
 typeof F_Test23 === function
 typeof x === number
@@ -279,4 +279,4 @@ typeof g === function
 typeof F_Test23 === function
 typeof x === number
 check71: Test23('hello'); #undefined
-check72: F_Test23(); @'F_Test23' is undefined
+check72: F_Test23(); @'F_Test23' is not defined

+ 7 - 7
test/LetConst/eval1.baseline

@@ -1,21 +1,21 @@
 global z
-ReferenceError: 'x' is undefined
-ReferenceError: 'y' is undefined
+ReferenceError: 'x' is not defined
+ReferenceError: 'y' is not defined
 ReferenceError: Let/Const redeclaration
 ReferenceError: Let/Const redeclaration
 global block z
-ReferenceError: 'x' is undefined
-ReferenceError: 'y' is undefined
+ReferenceError: 'x' is not defined
+ReferenceError: 'y' is not defined
 ReferenceError: Let/Const redeclaration
 outer w
 outer z
-ReferenceError: 'x' is undefined
-ReferenceError: 'y' is undefined
+ReferenceError: 'x' is not defined
+ReferenceError: 'y' is not defined
 outer var y
 ReferenceError: Let/Const redeclaration
 inner w
 inner z
-ReferenceError: 'x' is undefined
+ReferenceError: 'x' is not defined
 outer var y
 ba
 ba

+ 1 - 1
test/LetConst/r.baseline

@@ -1,2 +1,2 @@
-ReferenceError: 'x' is undefined
+ReferenceError: 'x' is not defined
 SyntaxError: Expected ';'

+ 60 - 60
test/Miscellaneous/HasOnlyWritableDataPropertiesCache.baseline

@@ -2,134 +2,134 @@ var proto = {};var Construct = function(){};Construct.prototype = proto;var o =
 proto:  {}
 o:      {}
 var proto = {};proto[p0] = 0;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {writable: false});o[p0] = 0;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {writable: false});o[p0] = 0;o[p1] = 1;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {writable: false});o[p0] = 0;o[p1] = 1;o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
 proto:  {}
 o:      {}
 var proto = {};proto[p0] = 0;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {get: function(){return 0;}});o[p0] = 0;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {get: function(){return 0;}});o[p0] = 0;o[p1] = 1;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {get: function(){return 0;}});o[p0] = 0;o[p1] = 1;o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
 proto:  {}
 o:      {}
 var proto = {};proto[p0] = 0;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {get: function(){return 0;},set: function(v){}});o[p0] = 0;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {get: function(){return 0;},set: function(v){}});o[p0] = 0;o[p1] = 1;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "p0", {get: function(){return 0;},set: function(v){}});o[p0] = 0;o[p1] = 1;o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};var Construct = function(){};Construct.prototype = proto;var o = new Construct;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
 proto:  {}
 o:      {}
 var proto = {};proto[p0] = 0;var Construct = function(){};Construct.prototype = proto;var o = new Construct;CollectGarbage();o[p0] = 0;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;CollectGarbage();o[p0] = 0;o[p1] = 1;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;CollectGarbage();o[p0] = 0;o[p1] = 1;o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {writable: false});o[p1] = 1;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {writable: false});o[p1] = 1;o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {get: function(){return 0;}});o[p1] = 1;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {get: function(){return 0;}});o[p1] = 1;o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {get: function(){return 0;},set: function(v){}});o[p1] = 1;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;Object.defineProperty(proto, "p1", {get: function(){return 0;},set: function(v){}});o[p1] = 1;o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;CollectGarbage();o[p1] = 1;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;CollectGarbage();o[p1] = 1;o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {writable: false});o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {get: function(){return 0;}});o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;Object.defineProperty(proto, "p2", {get: function(){return 0;},set: function(v){}});o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;CollectGarbage();o[p2] = 2;echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;proto[p5] = 5;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;proto[p5] = 5;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {get: function(){return 0;}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;proto[p5] = 5;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;Object.defineProperty(proto, "p3", {get: function(){return 0;},set: function(v){}});echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};proto[p0] = 0;proto[p1] = 1;proto[p2] = 2;proto[p3] = 3;proto[p4] = 4;proto[p5] = 5;var Construct = function(){};Construct.prototype = proto;var o = new Construct;o[p0] = 0;o[p1] = 1;o[p2] = 2;CollectGarbage();echo("proto:  ", proto);echo("o:      ", o);
-ReferenceError: 'p0' is undefined
+ReferenceError: 'p0' is not defined
 var proto = {};var Construct = function(){};Construct.prototype = proto;var o = new Construct;Object.defineProperty(proto, "0", {writable: false});echo("proto:  ", proto);echo("o:      ", o);
 proto:  {}
 o:      {}

+ 1 - 1
test/Object/forIn.error.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'c' is undefined
+ReferenceError: 'c' is not defined
 	at foo (forin.error.js:10:5)
 	at Global code (forin.error.js:18:3)

+ 2 - 2
test/Object/var.baseline

@@ -1,9 +1,9 @@
 10
-'undefvar' is undefined
+'undefvar' is not defined
 10
 undefined
 10
-'undefvar' is undefined
+'undefvar' is not defined
 10
 undefined
 10

+ 1 - 1
test/Operators/new.baseline

@@ -3,7 +3,7 @@ test2: Test passed, expected TypeError-Object expected
 test3: Test passed, expected TypeError-Object doesn't support this action
 test4: Test passed, expected no exception thrown
 test5: Test passed, expected TypeError-Object doesn't support this action
-test6: Test passed, expected ReferenceError-'Blah' is undefined
+test6: Test passed, expected ReferenceError-'Blah' is not defined
 test7: Test passed, expected TypeError-Object doesn't support this action
 test8: Test passed, expected no exception thrown
 test9: Test passed, expected no exception thrown

+ 1 - 1
test/Optimizer/directglofield_dictionarytypehandler.baseline

@@ -1,4 +1,4 @@
 1
-ReferenceError: 'w' is undefined
+ReferenceError: 'w' is not defined
 	at test() (directglofield_dictionarytypehandler.js:32:9)
 	at Global code (directglofield_dictionarytypehandler.js:50:1)

+ 1 - 1
test/Optimizer/test133.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'o' is undefined
+ReferenceError: 'o' is not defined
 	at test0(number) (test133.js:8:9)
 	at Global code (test133.js:12:1)

+ 3 - 3
test/Optimizer/trycatch_functional.baseline

@@ -1,3 +1,3 @@
-'func2' is undefined
-'func2' is undefined
-'func2' is undefined
+'func2' is not defined
+'func2' is not defined
+'func2' is not defined

+ 2 - 2
test/Regex/blue_102584_1.baseline

@@ -26,8 +26,8 @@ a
 a
 
 
-expected : 'o' is undefined
-expected : 'o' is undefined
+expected : 'o' is not defined
+expected : 'o' is not defined
 expected : Function.prototype.apply: argument is not an Object
 expected : Function.prototype.apply: argument is not an Object
 

+ 2 - 2
test/StackTrace/PropertyValidation.nostrict.baseline

@@ -1,7 +1,7 @@
 Properties of e:
 
 e.number: -2146823279
-e.stack: ReferenceError: 'BadType' is undefined
+e.stack: ReferenceError: 'BadType' is not defined
 	at throwException (propertyvalidation.js:65:9)
 	at bar (propertyvalidation.js:85:5)
 	at foo (propertyvalidation.js:90:5)
@@ -15,7 +15,7 @@ undefined
 Properties of e:
 
 e.number: -2146823279
-e.stack: ReferenceError: 'BadType' is undefined
+e.stack: ReferenceError: 'BadType' is not defined
 	at throwException (propertyvalidation.js:74:9)
 	at bar (propertyvalidation.js:85:5)
 	at foo (propertyvalidation.js:90:5)

+ 2 - 2
test/StackTrace/SimpleThrow.js.baseline

@@ -1,11 +1,11 @@
-ReferenceError: 'BadType' is undefined
+ReferenceError: 'BadType' is not defined
 	at throwException (simplethrow.js:22:9)
 	at bar (simplethrow.js:69:5)
 	at foo (simplethrow.js:76:5)
 	at runtest (simplethrow.js:81:5)
 	at Global code (simplethrow.js:88:9)
 
-ReferenceError: 'BadTypeWithFinally' is undefined
+ReferenceError: 'BadTypeWithFinally' is not defined
 	at throwExceptionWithFinally (simplethrow.js:35:9)
 	at bar (simplethrow.js:70:5)
 	at foo (simplethrow.js:76:5)

+ 6 - 6
test/StackTrace/x64StackWalk.baseline

@@ -1,18 +1,18 @@
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at foo (x64stackwalk.js:13:9)
 	at Global code (x64stackwalk.js:23:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at foo (x64stackwalk.js:18:9)
 	at Global code (x64stackwalk.js:23:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at foo (x64stackwalk.js:13:9)
 	at Global code (x64stackwalk.js:24:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at foo (x64stackwalk.js:18:9)
 	at Global code (x64stackwalk.js:24:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at foo (x64stackwalk.js:13:9)
 	at Global code (x64stackwalk.js:25:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at foo (x64stackwalk.js:18:9)
 	at Global code (x64stackwalk.js:25:1)

+ 16 - 16
test/StackTrace/x64StackWalkLoopBody.baseline

@@ -1,48 +1,48 @@
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)
-ReferenceError: 'baz' is undefined
+ReferenceError: 'baz' is not defined
 	at bar (x64stackwalkloopbody.js:18:17)
 	at Global code (x64stackwalkloopbody.js:27:1)

+ 1 - 1
test/bailout/bug10.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'b' is undefined
+ReferenceError: 'b' is not defined
 	at Anonymous function() (bug10.js:21:7)
 	at Global code (bug10.js:7:2)

+ 10 - 10
test/es5/exceptions3.baseline

@@ -1,17 +1,17 @@
- Array.prototype.sort.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is undefined
- Array.prototype.slice.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is undefined
- Array.prototype.shift.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is undefined
- Array.prototype.reverse.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is undefined
- Array.prototype.push.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is undefined
- Array.prototype.pop.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is undefined
- Array.prototype.join.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is undefined
- Object.prototype.propertyIsEnumerable.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is undefined
+ Array.prototype.sort.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is not defined
+ Array.prototype.slice.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is not defined
+ Array.prototype.shift.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is not defined
+ Array.prototype.reverse.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is not defined
+ Array.prototype.push.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is not defined
+ Array.prototype.pop.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is not defined
+ Array.prototype.join.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is not defined
+ Object.prototype.propertyIsEnumerable.call(document);; throws;;   -expected: es3 TypeError ::: ReferenceError: 'document' is not defined
  delete this; ends without error; 
  var xnew = new Object(); var y = new xnew(); throws;;   -expected: es3, es5 TypeError ::: TypeError: Object doesn't support this action
  var x = new Object(); var y = x.ffm; ends without error; 
 var x = new Object(); x.ff() throws;;   -expected: es3, es5 TypeError ::: TypeError: Object doesn't support property or method 'ff'
-var x = function f(){return "inner";}();   -expected: es3, es5 R3eferenceError ::: ReferenceError: 'ff' is undefined
-call to undefined fg() throws;   -expected: es3 - TypeError, es5-ReferenceError ::: ReferenceError: 'fg' is undefined
+var x = function f(){return "inner";}();   -expected: es3, es5 R3eferenceError ::: ReferenceError: 'ff' is not defined
+call to undefined fg() throws;   -expected: es3 - TypeError, es5-ReferenceError ::: ReferenceError: 'fg' is not defined
  call to an non function object ooj();;;   -expected: es3, es5 TypeError ::: TypeError: Function expected
  o_undef();;;   -expected: es3, es5 TypeError ::: TypeError: Object expected
  o_null();;;   -expected: es3, es5 TypeError ::: TypeError: Object expected

+ 4 - 4
test/es6/ES6Iterators-forof.js

@@ -71,7 +71,7 @@ var tests = [
         body: function () {
             var i = 0;
             var a = [];
-            assert.throws(function () { eval('x'); }, ReferenceError, "x is not available before for-of loop", "'x' is undefined");
+            assert.throws(function () { eval('x'); }, ReferenceError, "x is not available before for-of loop", "'x' is not defined");
 
             for (let x of simpleIterator) {
                 a.push(x);
@@ -83,7 +83,7 @@ var tests = [
 
             assert.areEqual([0, 1, 2], a, "verify the correct number of iterations occurred");
 
-            assert.throws(function () { eval('x'); }, ReferenceError, "x is not available after for-of loop", "'x' is undefined");
+            assert.throws(function () { eval('x'); }, ReferenceError, "x is not available after for-of loop", "'x' is not defined");
         }
     },
     {
@@ -101,7 +101,7 @@ var tests = [
             /*
             var i = 0;
             var a = [];
-            assert.throws(function () { eval('x'); }, ReferenceError, "x is not available before for-of loop", "'x' is undefined");
+            assert.throws(function () { eval('x'); }, ReferenceError, "x is not available before for-of loop", "'x' is not defined");
 
             for (const x of simpleIterator) {
                 a.push(x);
@@ -112,7 +112,7 @@ var tests = [
 
             assert.areEqual([0, 1, 2], a, "verify the correct number of iterations occurred");
 
-            assert.throws(function () { eval('x'); }, ReferenceError, "x is not available after for-of loop", "'x' is undefined");
+            assert.throws(function () { eval('x'); }, ReferenceError, "x is not available after for-of loop", "'x' is not defined");
             */
        }
     },

+ 7 - 7
test/es6/blockscope-functionbinding.baseline

@@ -61,9 +61,9 @@ function f() { }
 
 Test 8: Function scope binding does not occur in strict mode
 
-ReferenceError: 'f' is undefined
+ReferenceError: 'f' is not defined
 function f() { }
-ReferenceError: 'f' is undefined
+ReferenceError: 'f' is not defined
 
 Test 9: Overwriting user declared var
 
@@ -99,13 +99,13 @@ let g
 Test 13: Eval does not leak let and const bindings
 
 var f
-ReferenceError: 'g' is undefined
+ReferenceError: 'g' is not defined
 eval var f
 function g() { }
-ReferenceError: 'h' is undefined
-ReferenceError: 'i' is undefined
+ReferenceError: 'h' is not defined
+ReferenceError: 'i' is not defined
 eval blockscoped var j
-ReferenceError: 'k' is undefined
+ReferenceError: 'k' is not defined
 
 Test 14: Eval leaks vars, and var declarations bind to block scoped bindings for rhs initialization
 
@@ -144,7 +144,7 @@ function f() { }
 function g() { }
 let g
 var f
-ReferenceError: 'g' is undefined
+ReferenceError: 'g' is not defined
 
 Test 19: function declaration var binding should be ignored when same named let/const variable is at function scope
 

+ 1 - 1
test/es6/blue_641922.baseline

@@ -1,4 +1,4 @@
-ReferenceError: 'v20' is undefined
+ReferenceError: 'v20' is not defined
 	at func4() (blue_641922.js:52:9)
 	at test0() (blue_641922.js:62:9)
 	at Global code (blue_641922.js:92:1)

Разлика између датотеке није приказан због своје велике величине
+ 532 - 532
test/es6/default-splitscope.js


+ 5 - 5
test/es6/default.js

@@ -148,31 +148,31 @@ var tests = [
       assert.throws(function() { foo1(); },
                     ReferenceError,
                     "Shadowed var in parameter scope is not affected by body initialization when setting the default value",
-                    "'x' is undefined");
+                    "'x' is not defined");
 
       function foo2(a = () => x) { var x = 1; return a(); }
       assert.throws(function () { foo2(); },
                     ReferenceError,
                     "Arrow function capturing var at parameter scope is not affected by body declaration",
-                    "'x' is undefined");
+                    "'x' is not defined");
 
       function foo3(a = () => x) { var x = 1; return a; } // a() undefined
       assert.throws(function () { foo3()(); },
                     ReferenceError,
                     "Attempted closure capture of body scoped var throws in an arrow function default expression",
-                    "'x' is undefined");
+                    "'x' is not defined");
 
       function foo4(a = function() { return x; }) { var x = 1; return a(); }
       assert.throws(function () { foo4(); },
                     ReferenceError,
                     "Attempted closure capture of body scoped var throws in an anonymous function default expression",
-                    "'x' is undefined");
+                    "'x' is not defined");
 
       function foo5(a = function bar() { return 1; }, b = bar()) { return [a(), b]; }
       assert.throws(function () { foo5(); },
                     ReferenceError,
                     "Named function expression does not leak name into subsequent default expressions",
-                    "'bar' is undefined");
+                    "'bar' is not defined");
       function foo6(a = b1) {
           {
               function b1() {

+ 3 - 3
test/es7/asyncawait-syntax.js

@@ -75,7 +75,7 @@ var tests = [
 
             assert.throws(function () { eval("var lambdaParenNoArg = await () => x < y;"); }, SyntaxError, "'await' keyword is not allowed with a non-async lambda expression", "Syntax error");
             assert.throws(function () { eval("var lambdaArgs = await async (a, b ,c) => a + b + c;"); }, SyntaxError, "There miss parenthises", "Expected ';'");
-            assert.throws(function () { eval("var lambdaArgs = await (async (a, b ,c) => a + b + c);"); }, ReferenceError, "The 'await' function doesn't exists in this scope", "'await' is undefined");
+            assert.throws(function () { eval("var lambdaArgs = await (async (a, b ,c) => a + b + c);"); }, ReferenceError, "The 'await' function doesn't exists in this scope", "'await' is not defined");
         }
     },
     {
@@ -144,7 +144,7 @@ var tests = [
     {
         name: "[no LineTerminator here] after `async` in grammar",
         body: function () {
-            assert.throws(function () { eval("async\nfunction af() { }"); }, ReferenceError, "AsyncFunctionDeclaration", "'async' is undefined");
+            assert.throws(function () { eval("async\nfunction af() { }"); }, ReferenceError, "AsyncFunctionDeclaration", "'async' is not defined");
             assert.throws(function () { eval("var af = async\nfunction () { }"); }, SyntaxError, "AsyncFunctionExpression", "Expected identifier");
             assert.throws(function () { eval("var o = { async\nam() { } };"); }, SyntaxError, "AsyncMethod in object literal", "Expected ':'");
             assert.throws(function () { eval("class C { async\nam() { } };"); }, SyntaxError, "AsyncMethod in class", "Expected '('");
@@ -201,7 +201,7 @@ var tests = [
             assert.throws(function () { eval("async function af() { var a = (x = await 0) => { }; }"); }, SyntaxError, "await expression is disallowed within arrow function default parameter expression (single formal)", "'await' expression not allowed in this context");
             assert.throws(function () { eval("async function af() { var a = (x, y = await 0, z = 0) => { }; }"); }, SyntaxError, "await expression is disallowed within arrow function default parameter expression (middle formal)", "'await' expression not allowed in this context");
             assert.throws(function () { eval("async function af() { var a = (x, y, z = await 0) => { }; }"); }, SyntaxError, "await expression is disallowed within arrow function default parameter expression (last formal)", "'await' expression not allowed in this context");
-            
+
             assert.throws(function () { eval("async (a, await) => { }"); }, SyntaxError, "await cannot appear as the formal name of a parathensized async arrow function", "The use of a keyword for an identifier is invalid");
             assert.throws(function () { eval("async await => { }"); }, SyntaxError, "await cannot appear as the formal name of a unparathensized async arrow function", "The use of a keyword for an identifier is invalid");
             assert.throws(function () { eval("function () { a = async await => { } }"); }, SyntaxError, "await cannot appear as the formal name of a unparathensized async arrow function expression", "Expected identifier");

+ 1 - 1
test/fieldopts/fieldhoist6.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'f' is undefined
+ReferenceError: 'f' is not defined
 	at Anonymous function() (fieldhoist6.js:13:5)
 	at Global code (fieldhoist6.js:7:2)

+ 1 - 1
test/fieldopts/fieldhoist6b.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'f' is undefined
+ReferenceError: 'f' is not defined
 	at Anonymous function() (fieldhoist6b.js:13:5)
 	at Global code (fieldhoist6b.js:7:2)

+ 1 - 1
test/fieldopts/fieldhoist7.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'obj3' is undefined
+ReferenceError: 'obj3' is not defined
 	at Anonymous function() (fieldhoist7.js:7:28)
 	at Global code (fieldhoist7.js:6:2)

+ 1 - 1
test/fieldopts/fieldhoist_negzero.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'obj0' is undefined
+ReferenceError: 'obj0' is not defined
 	at Anonymous function() (fieldhoist_negzero.js:9:28)
 	at Global code (fieldhoist_negzero.js:7:2)

+ 2 - 2
test/fieldopts/fieldhoist_stripbailouts.baseline

@@ -1,2 +1,2 @@
-'ui8_1' is undefined
-'ui8_2' is undefined
+'ui8_1' is not defined
+'ui8_2' is not defined

+ 1 - 1
test/fieldopts/fieldhoist_undefined_global.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'd' is undefined
+ReferenceError: 'd' is not defined
 	at Anonymous function() (fieldhoist_undefined_global.js:12:5)
 	at Global code (fieldhoist_undefined_global.js:7:2)

+ 1 - 1
test/fieldopts/fieldhoist_unreachable.baseline

@@ -1,3 +1,3 @@
-ReferenceError: 'obj9' is undefined
+ReferenceError: 'obj9' is not defined
 	at Anonymous function() (fieldhoist_unreachable.js:13:5)
 	at Global code (fieldhoist_unreachable.js:7:2)

+ 1 - 1
test/inlining/bug1469518.baseline

@@ -1 +1 @@
-'d' is undefined
+'d' is not defined

+ 1 - 1
test/inlining/stackTrace.baseline

@@ -1,4 +1,4 @@
-ReferenceError: 'argMath5' is undefined
+ReferenceError: 'argMath5' is not defined
 	at func0 (stacktrace.js:31:7)
 	at func4 (stacktrace.js:27:5)
 	at test0 (stacktrace.js:39:3)

+ 3 - 3
test/stackfunc/box_jitloopbody.baseline

@@ -1,4 +1,4 @@
-'litObj0' is undefined
-'litObj0' is undefined
-'litObj0' is undefined
+'litObj0' is not defined
+'litObj0' is not defined
+'litObj0' is not defined
 ary[0] = 2

+ 1 - 1
test/strict/10.eval_sm.baseline

@@ -5,4 +5,4 @@ Test2.local
 Test2.eval
 Test2.local
 Test3.para
-Exception : ReferenceError: 'Test4_Inner' is undefined
+Exception : ReferenceError: 'Test4_Inner' is not defined

Неке датотеке нису приказане због велике количине промена