Forráskód Böngészése

[MERGE #3131 @dilijev] Fix #3120: Add -ExtendedErrorStackForTestHost- to test flags to ensure same output. (See #3130)

Merge pull request #3131 from dilijev:fix3120

Fixes #3120 by ensuring the output of tests which print exception stacks is normalized. The normalization to 3 space indents was chosen to preserve the majority of test baselines, but some still needed updating outside of the `inlining/*` tests that are mentioned in #3120.

See #3130
Fixes #3120
Doug Ilijev 8 éve
szülő
commit
bb5d3b7437

+ 8 - 8
test/Bugs/randombug.baseline

@@ -63,10 +63,10 @@ Test case 30
 Passed
 Test case 31
 Error
-	at func2 (randombug.js:285:9)
-	at testlinenumber (randombug.js:291:6)
-	at test31 (randombug.js:295:5)
-	at Global code (randombug.js:281:2)
+   at func2 (randombug.js:285:9)
+   at testlinenumber (randombug.js:291:6)
+   at test31 (randombug.js:295:5)
+   at Global code (randombug.js:281:2)
 Passed
 Test case 32
 arrObj0.length setter
@@ -92,10 +92,10 @@ Test case 38
 passed
 Test case 40
 ReferenceError: 'undefinedFunction' is not defined
-	at eval code (eval code:1:22)
-	at testRuntimeError (randombug.js:456:9)
-	at test31 (randombug.js:460:5)
-	at Global code (randombug.js:452:2)
+   at eval code (eval code:1:22)
+   at testRuntimeError (randombug.js:456:9)
+   at test31 (randombug.js:460:5)
+   at Global code (randombug.js:452:2)
 Passed
 Test case 41
 Passed

+ 18 - 18
test/Error/NativeErrors_v4.baseline

@@ -2,54 +2,54 @@ EvalError
 description    = (undefined)undefined
 number         = (undefined)undefined
 stack          = (string)  EvalError
-	at eval code (eval code:1:1)
-	at Test(string) (nativeerrors.js:49:5)
-	at Global code (nativeerrors.js:68:1)
+   at eval code (eval code:1:1)
+   at Test(string) (nativeerrors.js:49:5)
+   at Global code (nativeerrors.js:68:1)
 toString()     = EvalError
 
 RangeError('This is a range error')
 description    = (undefined)undefined
 number         = (undefined)undefined
 stack          = (string)  RangeError: This is a range error
-	at eval code (eval code:1:1)
-	at Test(string) (nativeerrors.js:49:5)
-	at Global code (nativeerrors.js:69:1)
+   at eval code (eval code:1:1)
+   at Test(string) (nativeerrors.js:49:5)
+   at Global code (nativeerrors.js:69:1)
 toString()     = RangeError: This is a range error
 
 ReferenceError
 description    = (undefined)undefined
 number         = (undefined)undefined
 stack          = (string)  ReferenceError
-	at eval code (eval code:1:1)
-	at Test(string) (nativeerrors.js:49:5)
-	at Global code (nativeerrors.js:70:1)
+   at eval code (eval code:1:1)
+   at Test(string) (nativeerrors.js:49:5)
+   at Global code (nativeerrors.js:70:1)
 toString()     = ReferenceError
 
 SyntaxError
 description    = (undefined)undefined
 number         = (undefined)undefined
 stack          = (string)  SyntaxError
-	at eval code (eval code:1:1)
-	at Test(string) (nativeerrors.js:49:5)
-	at Global code (nativeerrors.js:71:1)
+   at eval code (eval code:1:1)
+   at Test(string) (nativeerrors.js:49:5)
+   at Global code (nativeerrors.js:71:1)
 toString()     = SyntaxError
 
 TypeError('This is a type error')
 description    = (undefined)undefined
 number         = (undefined)undefined
 stack          = (string)  TypeError: This is a type error
-	at eval code (eval code:1:1)
-	at Test(string) (nativeerrors.js:49:5)
-	at Global code (nativeerrors.js:72:1)
+   at eval code (eval code:1:1)
+   at Test(string) (nativeerrors.js:49:5)
+   at Global code (nativeerrors.js:72:1)
 toString()     = TypeError: This is a type error
 
 URIError
 description    = (undefined)undefined
 number         = (undefined)undefined
 stack          = (string)  URIError
-	at eval code (eval code:1:1)
-	at Test(string) (nativeerrors.js:49:5)
-	at Global code (nativeerrors.js:73:1)
+   at eval code (eval code:1:1)
+   at Test(string) (nativeerrors.js:49:5)
+   at Global code (nativeerrors.js:73:1)
 toString()     = URIError
 
 RegExpError

+ 208 - 208
test/Error/errorCtor_v4.baseline

@@ -5,10 +5,10 @@ name         = Error       (string)
 description  =             (string)
 number       = 0           (number)
 stack        = Error
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:75:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:75:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(NaN, NaN)
 message      = NaN         (string)
@@ -16,10 +16,10 @@ name         = Error       (string)
 description  = NaN         (string)
 number       = NaN         (number)
 stack        = Error: NaN
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:78:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:78:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(1, 1)
 message      = 1           (string)
@@ -27,10 +27,10 @@ name         = Error       (string)
 description  = 1           (string)
 number       = 1           (number)
 stack        = Error: 1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:79:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:79:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(1.1, 1.1)
 message      = 1.1         (string)
@@ -38,10 +38,10 @@ name         = Error       (string)
 description  = 1.1         (string)
 number       = 1.1         (number)
 stack        = Error: 1.1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:80:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:80:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(undefined, undefined)
 message      =             (string)
@@ -49,10 +49,10 @@ name         = Error       (string)
 description  = undefined   (string)
 number       = NaN         (number)
 stack        = Error
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:81:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:81:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(null, null)
 message      = null        (string)
@@ -60,10 +60,10 @@ name         = Error       (string)
 description  = null        (string)
 number       = 0           (number)
 stack        = Error: null
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:82:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:82:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(true, true)
 message      = true        (string)
@@ -71,10 +71,10 @@ name         = Error       (string)
 description  = true        (string)
 number       = 1           (number)
 stack        = Error: true
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:83:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:83:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(false, false)
 message      = false       (string)
@@ -82,10 +82,10 @@ name         = Error       (string)
 description  = false       (string)
 number       = 0           (number)
 stack        = Error: false
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:84:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:84:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error('blah', 'blah')
 message      = blah        (string)
@@ -93,10 +93,10 @@ name         = Error       (string)
 description  = blah        (string)
 number       = NaN         (number)
 stack        = Error: blah
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:85:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:85:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(new Object(), new Object())
 message      = [object Object](string)
@@ -104,10 +104,10 @@ name         = Error       (string)
 description  = [object Object](string)
 number       = NaN         (number)
 stack        = Error: [object Object]
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:88:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:88:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(new String('blah'), new String('blah'))
 message      = blah        (string)
@@ -115,10 +115,10 @@ name         = Error       (string)
 description  = blah        (string)
 number       = NaN         (number)
 stack        = Error: blah
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:89:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:89:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(new Number(1.1), new Number(1.1))
 message      = 1.1         (string)
@@ -126,10 +126,10 @@ name         = Error       (string)
 description  = 1.1         (string)
 number       = 1.1         (number)
 stack        = Error: 1.1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:90:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:90:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(new Boolean(true), new Boolean(true))
 message      = true        (string)
@@ -137,10 +137,10 @@ name         = Error       (string)
 description  = true        (string)
 number       = 1           (number)
 stack        = Error: true
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:91:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:91:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(Test, Test)
 message      = function Test(typename, s)

@@ -166,10 +166,10 @@ stack        = Error: function Test(typename, s)
     var e = eval("new " + typename + "(" + s + ")");

     DumpObject(e);

 }
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:92:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:92:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(NaN)
 message      = NaN         (string)
@@ -177,10 +177,10 @@ name         = Error       (string)
 description  = NaN         (string)
 number       = undefined   (undefined)
 stack        = Error: NaN
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:95:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:95:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(1)
 message      = 1           (string)
@@ -188,10 +188,10 @@ name         = Error       (string)
 description  = 1           (string)
 number       = undefined   (undefined)
 stack        = Error: 1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:96:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:96:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(undefined)
 message      =             (string)
@@ -199,10 +199,10 @@ name         = Error       (string)
 description  = undefined   (string)
 number       = undefined   (undefined)
 stack        = Error
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:97:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:97:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(null)
 message      = null        (string)
@@ -210,10 +210,10 @@ name         = Error       (string)
 description  = null        (string)
 number       = undefined   (undefined)
 stack        = Error: null
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:98:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:98:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(true)
 message      = true        (string)
@@ -221,10 +221,10 @@ name         = Error       (string)
 description  = true        (string)
 number       = undefined   (undefined)
 stack        = Error: true
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:99:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:99:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(false)
 message      = false       (string)
@@ -232,10 +232,10 @@ name         = Error       (string)
 description  = false       (string)
 number       = undefined   (undefined)
 stack        = Error: false
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:100:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:100:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error('blah')
 message      = blah        (string)
@@ -243,10 +243,10 @@ name         = Error       (string)
 description  = blah        (string)
 number       = undefined   (undefined)
 stack        = Error: blah
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:101:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:101:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(new Object())
 message      = [object Object](string)
@@ -254,10 +254,10 @@ name         = Error       (string)
 description  = [object Object](string)
 number       = undefined   (undefined)
 stack        = Error: [object Object]
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:104:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:104:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(new String('blah'))
 message      = blah        (string)
@@ -265,10 +265,10 @@ name         = Error       (string)
 description  = blah        (string)
 number       = undefined   (undefined)
 stack        = Error: blah
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:105:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:105:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(new Number(1.1))
 message      = 1.1         (string)
@@ -276,10 +276,10 @@ name         = Error       (string)
 description  = 1.1         (string)
 number       = undefined   (undefined)
 stack        = Error: 1.1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:106:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:106:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(new Boolean(1.1))
 message      = true        (string)
@@ -287,10 +287,10 @@ name         = Error       (string)
 description  = true        (string)
 number       = undefined   (undefined)
 stack        = Error: true
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:107:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:107:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 Error(Test)
 message      = function Test(typename, s)

@@ -316,10 +316,10 @@ stack        = Error: function Test(typename, s)
     var e = eval("new " + typename + "(" + s + ")");

     DumpObject(e);

 }
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:108:5)
-	at Global code (errorctor.js:111:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:108:5)
+   at Global code (errorctor.js:111:1)(string)
 -----------------------------------------
 TypeError()
 message      =             (string)
@@ -327,10 +327,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:75:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:75:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(NaN, NaN)
 message      = NaN         (string)
@@ -338,10 +338,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: NaN
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:78:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:78:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(1, 1)
 message      = 1           (string)
@@ -349,10 +349,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: 1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:79:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:79:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(1.1, 1.1)
 message      = 1.1         (string)
@@ -360,10 +360,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: 1.1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:80:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:80:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(undefined, undefined)
 message      =             (string)
@@ -371,10 +371,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:81:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:81:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(null, null)
 message      = null        (string)
@@ -382,10 +382,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: null
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:82:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:82:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(true, true)
 message      = true        (string)
@@ -393,10 +393,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: true
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:83:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:83:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(false, false)
 message      = false       (string)
@@ -404,10 +404,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: false
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:84:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:84:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError('blah', 'blah')
 message      = blah        (string)
@@ -415,10 +415,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: blah
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:85:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:85:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(new Object(), new Object())
 message      = [object Object](string)
@@ -426,10 +426,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: [object Object]
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:88:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:88:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(new String('blah'), new String('blah'))
 message      = blah        (string)
@@ -437,10 +437,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: blah
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:89:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:89:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(new Number(1.1), new Number(1.1))
 message      = 1.1         (string)
@@ -448,10 +448,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: 1.1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:90:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:90:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(new Boolean(true), new Boolean(true))
 message      = true        (string)
@@ -459,10 +459,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: true
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:91:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:91:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(Test, Test)
 message      = function Test(typename, s)

@@ -482,10 +482,10 @@ stack        = TypeError: function Test(typename, s)
     var e = eval("new " + typename + "(" + s + ")");

     DumpObject(e);

 }
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:92:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:92:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(NaN)
 message      = NaN         (string)
@@ -493,10 +493,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: NaN
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:95:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:95:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(1)
 message      = 1           (string)
@@ -504,10 +504,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: 1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:96:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:96:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(undefined)
 message      =             (string)
@@ -515,10 +515,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:97:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:97:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(null)
 message      = null        (string)
@@ -526,10 +526,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: null
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:98:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:98:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(true)
 message      = true        (string)
@@ -537,10 +537,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: true
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:99:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:99:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(false)
 message      = false       (string)
@@ -548,10 +548,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: false
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:100:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:100:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError('blah')
 message      = blah        (string)
@@ -559,10 +559,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: blah
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:101:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:101:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(new Object())
 message      = [object Object](string)
@@ -570,10 +570,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: [object Object]
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:104:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:104:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(new String('blah'))
 message      = blah        (string)
@@ -581,10 +581,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: blah
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:105:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:105:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(new Number(1.1))
 message      = 1.1         (string)
@@ -592,10 +592,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: 1.1
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:106:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:106:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(new Boolean(1.1))
 message      = true        (string)
@@ -603,10 +603,10 @@ name         = TypeError   (string)
 description  = undefined   (undefined)
 number       = undefined   (undefined)
 stack        = TypeError: true
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:107:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:107:5)
+   at Global code (errorctor.js:112:1)(string)
 -----------------------------------------
 TypeError(Test)
 message      = function Test(typename, s)

@@ -626,7 +626,7 @@ stack        = TypeError: function Test(typename, s)
     var e = eval("new " + typename + "(" + s + ")");

     DumpObject(e);

 }
-	at eval code (eval code:1:1)
-	at Test(string, string) (errorctor.js:68:5)
-	at TestCtor(string) (errorctor.js:108:5)
-	at Global code (errorctor.js:112:1)(string)
+   at eval code (eval code:1:1)
+   at Test(string, string) (errorctor.js:68:5)
+   at TestCtor(string) (errorctor.js:108:5)
+   at Global code (errorctor.js:112:1)(string)

+ 2 - 2
test/Intl/rlexe.xml

@@ -90,7 +90,7 @@
 
   <test>
     <default>
-      <!-- TODO (doilij) investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames -->
+      <!-- TODO investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames (Microsoft/ChakraCore#3130) -->
       <files>IntlInternalsHiddenFromExceptionStackTest.js</files>
       <baseline>IntlInternalsHiddenFromExceptionStackTest.baseline</baseline>
       <compile-flags>-ExtendedErrorStackForTestHost-</compile-flags>
@@ -99,7 +99,7 @@
   </test>
   <test>
     <default>
-      <!-- TODO (doilij) investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames -->
+      <!-- TODO investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames (Microsoft/ChakraCore#3130) -->
       <files>IntlInternalsHiddenFromFirstChanceExceptionStackTest.js</files>
       <baseline>IntlInternalsHiddenFromFirstChanceExceptionStackTest.baseline</baseline>
       <compile-flags>-ExtendedErrorStackForTestHost-</compile-flags>

+ 40 - 40
test/StackTrace/ErrorPrototype.baseline

@@ -1,66 +1,66 @@
 Prototype is new Error()
 Error: Prototype is new Error()
-	at testErrorStack (errorprototype.js:21:9)
-	at testErrorPrototype (errorprototype.js:34:5)
-	at testErrorPrototypeChain (errorprototype.js:41:5)
-	at runtest (errorprototype.js:46:5)
-	at Global code (errorprototype.js:62:1)
+   at testErrorStack (errorprototype.js:21:9)
+   at testErrorPrototype (errorprototype.js:34:5)
+   at testErrorPrototypeChain (errorprototype.js:41:5)
+   at runtest (errorprototype.js:46:5)
+   at Global code (errorprototype.js:62:1)
 
 Prototype has new Error()
 Error: Prototype has new Error()
-	at testErrorStack (errorprototype.js:21:9)
-	at testErrorPrototype (errorprototype.js:34:5)
-	at testErrorPrototypeChain (errorprototype.js:42:5)
-	at runtest (errorprototype.js:46:5)
-	at Global code (errorprototype.js:62:1)
+   at testErrorStack (errorprototype.js:21:9)
+   at testErrorPrototype (errorprototype.js:34:5)
+   at testErrorPrototypeChain (errorprototype.js:42:5)
+   at runtest (errorprototype.js:46:5)
+   at Global code (errorprototype.js:62:1)
 
 Prototype is Error.prototype
 Error: Prototype is Error.prototype
-	at testErrorStack (errorprototype.js:21:9)
-	at testErrorPrototype (errorprototype.js:34:5)
-	at testErrorPrototypeChain (errorprototype.js:41:5)
-	at runtest (errorprototype.js:47:5)
-	at Global code (errorprototype.js:62:1)
+   at testErrorStack (errorprototype.js:21:9)
+   at testErrorPrototype (errorprototype.js:34:5)
+   at testErrorPrototypeChain (errorprototype.js:41:5)
+   at runtest (errorprototype.js:47:5)
+   at Global code (errorprototype.js:62:1)
 
 Prototype has Error.prototype
 Error: Prototype has Error.prototype
-	at testErrorStack (errorprototype.js:21:9)
-	at testErrorPrototype (errorprototype.js:34:5)
-	at testErrorPrototypeChain (errorprototype.js:42:5)
-	at runtest (errorprototype.js:47:5)
-	at Global code (errorprototype.js:62:1)
+   at testErrorStack (errorprototype.js:21:9)
+   at testErrorPrototype (errorprototype.js:34:5)
+   at testErrorPrototypeChain (errorprototype.js:42:5)
+   at runtest (errorprototype.js:47:5)
+   at Global code (errorprototype.js:62:1)
 
 Prototype is new RangeError()
 RangeError: Prototype is new RangeError()
-	at testErrorStack (errorprototype.js:21:9)
-	at testErrorPrototype (errorprototype.js:34:5)
-	at testErrorPrototypeChain (errorprototype.js:41:5)
-	at runtest (errorprototype.js:48:5)
-	at Global code (errorprototype.js:62:1)
+   at testErrorStack (errorprototype.js:21:9)
+   at testErrorPrototype (errorprototype.js:34:5)
+   at testErrorPrototypeChain (errorprototype.js:41:5)
+   at runtest (errorprototype.js:48:5)
+   at Global code (errorprototype.js:62:1)
 
 Prototype has new RangeError()
 RangeError: Prototype has new RangeError()
-	at testErrorStack (errorprototype.js:21:9)
-	at testErrorPrototype (errorprototype.js:34:5)
-	at testErrorPrototypeChain (errorprototype.js:42:5)
-	at runtest (errorprototype.js:48:5)
-	at Global code (errorprototype.js:62:1)
+   at testErrorStack (errorprototype.js:21:9)
+   at testErrorPrototype (errorprototype.js:34:5)
+   at testErrorPrototypeChain (errorprototype.js:42:5)
+   at runtest (errorprototype.js:48:5)
+   at Global code (errorprototype.js:62:1)
 
 Prototype is RangeError.prototype
 RangeError: Prototype is RangeError.prototype
-	at testErrorStack (errorprototype.js:21:9)
-	at testErrorPrototype (errorprototype.js:34:5)
-	at testErrorPrototypeChain (errorprototype.js:41:5)
-	at runtest (errorprototype.js:49:5)
-	at Global code (errorprototype.js:62:1)
+   at testErrorStack (errorprototype.js:21:9)
+   at testErrorPrototype (errorprototype.js:34:5)
+   at testErrorPrototypeChain (errorprototype.js:41:5)
+   at runtest (errorprototype.js:49:5)
+   at Global code (errorprototype.js:62:1)
 
 Prototype has RangeError.prototype
 RangeError: Prototype has RangeError.prototype
-	at testErrorStack (errorprototype.js:21:9)
-	at testErrorPrototype (errorprototype.js:34:5)
-	at testErrorPrototypeChain (errorprototype.js:42:5)
-	at runtest (errorprototype.js:49:5)
-	at Global code (errorprototype.js:62:1)
+   at testErrorStack (errorprototype.js:21:9)
+   at testErrorPrototype (errorprototype.js:34:5)
+   at testErrorPrototypeChain (errorprototype.js:42:5)
+   at runtest (errorprototype.js:49:5)
+   at Global code (errorprototype.js:62:1)
 
 Prototype is 123
 undefined

+ 7 - 7
test/StackTrace/FunctionName.js.baseline

@@ -1,8 +1,8 @@
 Error: My Error!
-	at foo (functionname.js:24:9)
-	at func (functionname.js:28:9)
-	at Function code (Function code:1:4)
-	at eval code (eval code:1:1)
-	at Anonymous function (functionname.js:35:13)
-	at bar (functionname.js:34:10)
-	at Global code (functionname.js:39:5)
+   at foo (functionname.js:24:9)
+   at func (functionname.js:28:9)
+   at Function code (Function code:1:4)
+   at eval code (eval code:1:1)
+   at Anonymous function (functionname.js:35:13)
+   at bar (functionname.js:34:10)
+   at Global code (functionname.js:39:5)

+ 10 - 10
test/StackTrace/LongCallStackThrow.js.Args30.baseline

@@ -1,11 +1,11 @@
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)

+ 9 - 9
test/StackTrace/LongCallStackThrow.js.Args5.baseline

@@ -1,10 +1,10 @@
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at runtest (longcallstackthrow.js:56:5)
-	at Global code (longcallstackthrow.js:63:9)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at runtest (longcallstackthrow.js:56:5)
+   at Global code (longcallstackthrow.js:63:9)

+ 10 - 10
test/StackTrace/LongCallStackThrow.js.Args6.baseline

@@ -1,11 +1,11 @@
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at runtest (longcallstackthrow.js:56:5)
-	at Global code (longcallstackthrow.js:63:9)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at runtest (longcallstackthrow.js:56:5)
+   at Global code (longcallstackthrow.js:63:9)

+ 10 - 10
test/StackTrace/LongCallStackThrow.js.Args7.baseline

@@ -1,11 +1,11 @@
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at runtest (longcallstackthrow.js:56:5)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at runtest (longcallstackthrow.js:56:5)

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

@@ -2,10 +2,10 @@ Properties of e:
 
 e.number: -2146823279
 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)
-	at Global code (propertyvalidation.js:93:1)
+   at throwException (propertyvalidation.js:65:9)
+   at bar (propertyvalidation.js:85:5)
+   at foo (propertyvalidation.js:90:5)
+   at Global code (propertyvalidation.js:93:1)
 
 
 Deleting e.stack ...
@@ -16,10 +16,10 @@ Properties of e:
 
 e.number: -2146823279
 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)
-	at Global code (propertyvalidation.js:93:1)
+   at throwException (propertyvalidation.js:74:9)
+   at bar (propertyvalidation.js:85:5)
+   at foo (propertyvalidation.js:90:5)
+   at Global code (propertyvalidation.js:93:1)
 
 
 Updating e.stack ...

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

@@ -1,21 +1,21 @@
 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)
+   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 not defined
-	at throwExceptionWithFinally (simplethrow.js:35:9)
-	at bar (simplethrow.js:70:5)
-	at foo (simplethrow.js:76:5)
-	at runtest (simplethrow.js:81:5)
-	at Global code (simplethrow.js:88:9)
+   at throwExceptionWithFinally (simplethrow.js:35:9)
+   at bar (simplethrow.js:70:5)
+   at foo (simplethrow.js:76:5)
+   at runtest (simplethrow.js:81:5)
+   at Global code (simplethrow.js:88:9)
 
 TypeError: Unable to set property 'nonExistentProperty' of undefined or null reference
-	at StricModeFunction (simplethrow.js:60:5)
-	at throwExceptionLineNumber (simplethrow.js:49:9)
-	at bar (simplethrow.js:71:5)
-	at foo (simplethrow.js:76:5)
-	at runtest (simplethrow.js:81:5)
-	at Global code (simplethrow.js:88:9)
+   at StricModeFunction (simplethrow.js:60:5)
+   at throwExceptionLineNumber (simplethrow.js:49:9)
+   at bar (simplethrow.js:71:5)
+   at foo (simplethrow.js:76:5)
+   at runtest (simplethrow.js:81:5)
+   at Global code (simplethrow.js:88:9)

+ 229 - 229
test/StackTrace/StackTraceLimit.baseline

@@ -6,210 +6,210 @@ configurable: true
 
 -- Error.stackTraceLimit: 10
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
 
 -- Error.stackTraceLimit: 4
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
 
 -- Error.stackTraceLimit: Infinity
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at runtest (longcallstackthrow.js:56:5)
-	at testLongCallStack (stacktracelimit.js:23:5)
-	at Global code (stacktracelimit.js:29:1)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at runtest (longcallstackthrow.js:56:5)
+   at testLongCallStack (stacktracelimit.js:23:5)
+   at Global code (stacktracelimit.js:29:1)
 
 -- Error.stackTraceLimit: 1
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
+   at throwException (longcallstackthrow.js:34:5)
 
 -- Error.stackTraceLimit: 20
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
 
 -- Error.stackTraceLimit: 5.1
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
 
 -- Error.stackTraceLimit: -1
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at runtest (longcallstackthrow.js:56:5)
-	at testLongCallStack (stacktracelimit.js:23:5)
-	at Global code (stacktracelimit.js:33:1)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at runtest (longcallstackthrow.js:56:5)
+   at testLongCallStack (stacktracelimit.js:23:5)
+   at Global code (stacktracelimit.js:33:1)
 
 -- Error.stackTraceLimit: -3.2
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at runtest (longcallstackthrow.js:56:5)
-	at testLongCallStack (stacktracelimit.js:23:5)
-	at Global code (stacktracelimit.js:34:1)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at runtest (longcallstackthrow.js:56:5)
+   at testLongCallStack (stacktracelimit.js:23:5)
+   at Global code (stacktracelimit.js:34:1)
 
 -- Error.stackTraceLimit: -Infinity
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at runtest (longcallstackthrow.js:56:5)
-	at testLongCallStack (stacktracelimit.js:23:5)
-	at Global code (stacktracelimit.js:35:1)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at runtest (longcallstackthrow.js:56:5)
+   at testLongCallStack (stacktracelimit.js:23:5)
+   at Global code (stacktracelimit.js:35:1)
 
 -- Error.stackTraceLimit: 0
 Error: this is my error
@@ -235,9 +235,9 @@ Error: this is my error
 ** Custom stackTraceLimit getter Called, return 3
 ** Custom stackTraceLimit getter Called, return 3
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
 
 --Delete it
 -- Error.stackTraceLimit: undefined
@@ -246,17 +246,17 @@ Error: this is my error
 --Available on prototype
 -- Error.stackTraceLimit: 2
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
 
 --Set to data property again
 -- Error.stackTraceLimit: 5
 Error: this is my error
-	at throwException (longcallstackthrow.js:34:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
+   at throwException (longcallstackthrow.js:34:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
 
 --Throw in getter
 ** Custom stackTraceLimit getter Called, throw
@@ -267,45 +267,45 @@ Error: Out of stack space
 
 --Throw new Error() in getter for a number of times
 Error: My error in custom stackTraceLimit getter
-	at stackTraceLimit.get (stacktracelimit.js:94:13)
-	at stackTraceLimit.get (stacktracelimit.js:94:13)
-	at stackTraceLimit.get (stacktracelimit.js:94:13)
-	at stackTraceLimit.get (stacktracelimit.js:94:13)
-	at throwException (longcallstackthrow.js:33:5)
-	at throwExceptionWithCatch (longcallstackthrow.js:22:9)
-	at Anonymous function (longcallstackthrow.js:45:17)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at Anonymous function (longcallstackthrow.js:47:13)
-	at runtest (longcallstackthrow.js:56:5)
-	at testLongCallStack (stacktracelimit.js:23:5)
-	at Global code (stacktracelimit.js:101:1)
+   at stackTraceLimit.get (stacktracelimit.js:94:13)
+   at stackTraceLimit.get (stacktracelimit.js:94:13)
+   at stackTraceLimit.get (stacktracelimit.js:94:13)
+   at stackTraceLimit.get (stacktracelimit.js:94:13)
+   at throwException (longcallstackthrow.js:33:5)
+   at throwExceptionWithCatch (longcallstackthrow.js:22:9)
+   at Anonymous function (longcallstackthrow.js:45:17)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at Anonymous function (longcallstackthrow.js:47:13)
+   at runtest (longcallstackthrow.js:56:5)
+   at testLongCallStack (stacktracelimit.js:23:5)
+   at Global code (stacktracelimit.js:101:1)
 
 -- Error.stackTraceLimit: null
 Error: this is my error

+ 19 - 19
test/StackTrace/StackTraceLimitOOS.baseline

@@ -1,23 +1,23 @@
 Error.stackTraceLimit: Infinity
 Error: Out of stack space
    ...
-	at bar (stacktracelimitoos.js:82:9)
-	at foo (stacktracelimitoos.js:79:9)
-	at bar (stacktracelimitoos.js:82:9)
-	at foo (stacktracelimitoos.js:79:9)
-	at bar (stacktracelimitoos.js:82:9)
-	at foo (stacktracelimitoos.js:79:9)
-	at bar (stacktracelimitoos.js:82:9)
-	at foo (stacktracelimitoos.js:79:9)
-	at bar (stacktracelimitoos.js:82:9)
-	at foo (stacktracelimitoos.js:79:9)
-	at bar (stacktracelimitoos.js:82:9)
-	at foo (stacktracelimitoos.js:79:9)
-	at bar (stacktracelimitoos.js:82:9)
-	at foo (stacktracelimitoos.js:79:9)
-	at throwException (stacktracelimitoos.js:84:5)
-	at throwExceptionWithCatch (stacktracelimitoos.js:68:9)
-	at runtest (stacktracelimitoos.js:89:5)
-	at capture (stacktracelimitoos.js:42:13)
-	at Global code (stacktracelimitoos.js:98:1)
+   at bar (stacktracelimitoos.js:82:9)
+   at foo (stacktracelimitoos.js:79:9)
+   at bar (stacktracelimitoos.js:82:9)
+   at foo (stacktracelimitoos.js:79:9)
+   at bar (stacktracelimitoos.js:82:9)
+   at foo (stacktracelimitoos.js:79:9)
+   at bar (stacktracelimitoos.js:82:9)
+   at foo (stacktracelimitoos.js:79:9)
+   at bar (stacktracelimitoos.js:82:9)
+   at foo (stacktracelimitoos.js:79:9)
+   at bar (stacktracelimitoos.js:82:9)
+   at foo (stacktracelimitoos.js:79:9)
+   at bar (stacktracelimitoos.js:82:9)
+   at foo (stacktracelimitoos.js:79:9)
+   at throwException (stacktracelimitoos.js:84:5)
+   at throwExceptionWithCatch (stacktracelimitoos.js:68:9)
+   at runtest (stacktracelimitoos.js:89:5)
+   at capture (stacktracelimitoos.js:42:13)
+   at Global code (stacktracelimitoos.js:98:1)
 

+ 5 - 5
test/StackTrace/dynamic.js.baseline

@@ -1,6 +1,6 @@
 Error: This is my error
-	at foo (Function code:1:20)
-	at Function code (Function code:1:59)
-	at Anonymous function (dynamic.js:27:13)
-	at runtest (dynamic.js:25:10)
-	at Global code (dynamic.js:38:1)
+   at foo (Function code:1:20)
+   at Function code (Function code:1:59)
+   at Anonymous function (dynamic.js:27:13)
+   at runtest (dynamic.js:25:10)
+   at Global code (dynamic.js:38:1)

+ 12 - 12
test/StackTrace/x64StackWalk.baseline

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

+ 32 - 32
test/StackTrace/x64StackWalkLoopBody.baseline

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

+ 6 - 1
test/UnitTestFramework/TrimStackTracePath.js

@@ -4,5 +4,10 @@
 //-------------------------------------------------------------------------------------------------------
 
 function TrimStackTracePath(line) {
-    return line && line.replace(/\(.+(\\test\\|\\unittest\\).[^\\/]*./ig, "(");
+    if (line) {
+        line = line.replace(/ \(.+([\\\/]test[\\\/]|[\\\/]unittest[\\\/]).[^\\\/]*./ig, " (");
+        // normalize output by replacing leading whitespace (\s+) of each stack line (starting with 'at ') with 3 spaces (to preserve current baselines)
+        line = line.replace(/^\s+at /gm, '   at ');
+    }
+    return line;
 }

+ 2 - 2
test/inlining/linenumber1.baseline

@@ -1,3 +1,3 @@
 ReferenceError: 'p0' is not defined
-	at main (linenumber1.js:15:9)
-	at Global code (linenumber1.js:21:1)
+   at main (linenumber1.js:15:9)
+   at Global code (linenumber1.js:21:1)

+ 2 - 2
test/inlining/linenumber2.baseline

@@ -1,3 +1,3 @@
 ReferenceError: 'd' is not defined
-	at Anonymous function (linenumber2.js:99:10)
-	at Global code (linenumber2.js:12:2)
+   at Anonymous function (linenumber2.js:99:10)
+   at Global code (linenumber2.js:12:2)

+ 2 - 2
test/inlining/linenumber3.baseline

@@ -1,3 +1,3 @@
 ReferenceError: 'ary' is not defined
-	at Anonymous function (linenumber3.js:28:6)
-	at Global code (linenumber3.js:12:2)
+   at Anonymous function (linenumber3.js:28:6)
+   at Global code (linenumber3.js:12:2)

+ 3 - 3
test/inlining/polyInliningFixedMethods.baseline

@@ -8,6 +8,6 @@ b1
 f
 f
 TypeError: Unable to get property 'method0' of undefined or null reference
-	at v15 (polyinliningfixedmethods.js:94:7)
-	at func3 (polyinliningfixedmethods.js:99:3)
-	at Global code (polyinliningfixedmethods.js:104:3)
+   at v15 (polyinliningfixedmethods.js:94:7)
+   at func3 (polyinliningfixedmethods.js:99:3)
+   at Global code (polyinliningfixedmethods.js:104:3)

+ 23 - 14
test/inlining/rlexe.xml

@@ -10,52 +10,61 @@
   <test>
     <default>
       <files>linenumber1.js</files>
-      <compile-flags>-force:inline</compile-flags>
+      <!-- TODO investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames (Microsoft/ChakraCore#3130) -->
+      <compile-flags>-force:inline -ExtendedErrorStackForTestHost-</compile-flags>
       <baseline>linenumber1.baseline</baseline>
-      <tags>exclude_arm,exclude_jshost</tags>
+      <tags>exclude_arm</tags>
     </default>
   </test>
   <test>
     <default>
       <files>linenumber1.js</files>
       <!-- Variant of test without -force:inline to ensure output is the same -->
-      <!-- <compile-flags>-force:inline</compile-flags> -->
+      <!-- TODO investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames (Microsoft/ChakraCore#3130) -->
+      <!-- <compile-flags>-force:inline -ExtendedErrorStackForTestHost-</compile-flags> -->
+      <compile-flags>-ExtendedErrorStackForTestHost-</compile-flags>
       <baseline>linenumber1.baseline</baseline>
-      <tags>exclude_arm,exclude_jshost</tags>
+      <tags>exclude_arm</tags>
     </default>
   </test>
   <test>
     <default>
       <files>linenumber2.js</files>
-      <compile-flags>-force:inline</compile-flags>
+      <!-- TODO investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames (Microsoft/ChakraCore#3130) -->
+      <compile-flags>-force:inline -ExtendedErrorStackForTestHost-</compile-flags>
       <baseline>linenumber2.baseline</baseline>
-      <tags>exclude_arm,exclude_jshost</tags>
+      <tags>exclude_arm</tags>
     </default>
   </test>
   <test>
     <default>
       <files>linenumber2.js</files>
       <!-- Variant of test without -force:inline to ensure output is the same -->
-      <!-- <compile-flags>-force:inline</compile-flags> -->
+      <!-- TODO investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames (Microsoft/ChakraCore#3130) -->
+      <!-- <compile-flags>-force:inline -ExtendedErrorStackForTestHost-</compile-flags> -->
+      <compile-flags>-ExtendedErrorStackForTestHost-</compile-flags>
       <baseline>linenumber2.baseline</baseline>
-      <tags>exclude_arm,exclude_jshost</tags>
+      <tags>exclude_arm</tags>
     </default>
   </test>
   <test>
     <default>
       <files>linenumber3.js</files>
-      <compile-flags>-force:inline</compile-flags>
+      <!-- TODO investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames (Microsoft/ChakraCore#3130) -->
+      <compile-flags>-force:inline -ExtendedErrorStackForTestHost-</compile-flags>
       <baseline>linenumber3.baseline</baseline>
-      <tags>exclude_arm,exclude_jshost</tags>
+      <tags>exclude_arm</tags>
     </default>
   </test>
   <test>
     <default>
       <files>linenumber3.js</files>
       <!-- Variant of test without -force:inline to ensure output is the same -->
-      <!-- <compile-flags>-force:inline</compile-flags> -->
+      <!-- TODO investigate why -ExtendedErrorStackForTestHost inserts tabs at the beginning of some frames (Microsoft/ChakraCore#3130) -->
+      <!-- <compile-flags>-force:inline -ExtendedErrorStackForTestHost-</compile-flags> -->
+      <compile-flags>-ExtendedErrorStackForTestHost-</compile-flags>
       <baseline>linenumber3.baseline</baseline>
-      <tags>exclude_arm,exclude_jshost</tags>
+      <tags>exclude_arm</tags>
     </default>
   </test>
   <test>
@@ -148,7 +157,7 @@
     <default>
       <files>polyInliningFixedMethods.js</files>
       <baseline>polyInliningFixedMethods.baseline</baseline>
-      <compile-flags>-maxInterpretCount:1 -maxSimpleJitRunCount:1 -extendederrorstackfortesthost</compile-flags>
+      <compile-flags>-maxInterpretCount:1 -maxSimpleJitRunCount:1 -ExtendedErrorStackForTestHost</compile-flags>
     </default>
   </test>
   <test>
@@ -250,7 +259,7 @@
   <test>
     <default>
       <files>stackTrace.js</files>
-      <compile-flags>-extendederrorstackfortesthost</compile-flags>
+      <compile-flags>-ExtendedErrorStackForTestHost</compile-flags>
       <baseline>stackTrace.baseline</baseline>
     </default>
   </test>

+ 4 - 4
test/inlining/stackTrace.baseline

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