diff --git a/test/Debugger/JsDiagBreakpoints.js b/test/Debugger/JsDiagBreakpoints.js index 0f813e942f4..5aca2c8e513 100644 --- a/test/Debugger/JsDiagBreakpoints.js +++ b/test/Debugger/JsDiagBreakpoints.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + function foo() { var x = "bp A"; x; /**bp(A):evaluate('x');enableBp('B');deleteBp('D');**/ diff --git a/test/Debugger/JsDiagEvaluate.js b/test/Debugger/JsDiagEvaluate.js index fe289538e93..d95ae2d831b 100644 --- a/test/Debugger/JsDiagEvaluate.js +++ b/test/Debugger/JsDiagEvaluate.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + globalVar = { a : "Hello World", b : /regex/ig diff --git a/test/Debugger/JsDiagGetFunctionPosition.js b/test/Debugger/JsDiagGetFunctionPosition.js index 60b7c89e557..b103d940df5 100644 --- a/test/Debugger/JsDiagGetFunctionPosition.js +++ b/test/Debugger/JsDiagGetFunctionPosition.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + // Global function var x = 1; function foo() { diff --git a/test/Debugger/JsDiagGetFunctionPosition.js.dbg.baseline b/test/Debugger/JsDiagGetFunctionPosition.js.dbg.baseline index 817eb780312..01d779d1f25 100644 --- a/test/Debugger/JsDiagGetFunctionPosition.js.dbg.baseline +++ b/test/Debugger/JsDiagGetFunctionPosition.js.dbg.baseline @@ -3,9 +3,9 @@ "functionInfo": { "scriptId": 2, "fileName": "jsdiaggetfunctionposition.js", - "line": 3, + "line": 8, "column": 1, - "firstStatementLine": 3, + "firstStatementLine": 8, "firstStatementColumn": 2 } }, @@ -13,9 +13,9 @@ "functionInfo": { "scriptId": 2, "fileName": "jsdiaggetfunctionposition.js", - "line": 10, + "line": 15, "column": 10, - "firstStatementLine": 10, + "firstStatementLine": 15, "firstStatementColumn": 4 } }, @@ -45,9 +45,9 @@ "functionInfo": { "scriptId": 2, "fileName": "jsdiaggetfunctionposition.js", - "line": 22, + "line": 27, "column": 34, - "firstStatementLine": 23, + "firstStatementLine": 28, "firstStatementColumn": 2 } }, diff --git a/test/Debugger/JsDiagGetScripts.js b/test/Debugger/JsDiagGetScripts.js index 1075c69d426..d58abfff243 100644 --- a/test/Debugger/JsDiagGetScripts.js +++ b/test/Debugger/JsDiagGetScripts.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + var global = WScript.LoadScript("", "samethread", "dummyFileName.js"); eval('var x = "code in eval"'); eval('eval(\'var y = "Eval inside eval"\');'); diff --git a/test/Debugger/JsDiagGetScripts.js.dbg.baseline b/test/Debugger/JsDiagGetScripts.js.dbg.baseline index 38bbea2d959..2a4b34867f7 100644 --- a/test/Debugger/JsDiagGetScripts.js.dbg.baseline +++ b/test/Debugger/JsDiagGetScripts.js.dbg.baseline @@ -10,8 +10,8 @@ { "scriptId": 2, "fileName": "jsdiaggetscripts.js", - "lineCount": 7, - "sourceLength": 267 + "lineCount": 12, + "sourceLength": 640 }, { "scriptId": 4, diff --git a/test/Debugger/JsDiagGetStackProperties.js b/test/Debugger/JsDiagGetStackProperties.js index 8c12ddc422b..90a9b1e29cd 100644 --- a/test/Debugger/JsDiagGetStackProperties.js +++ b/test/Debugger/JsDiagGetStackProperties.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + /**exception(all):locals();**/ // Tests getting "exception" from JsDiagGetStackProperties diff --git a/test/Debugger/JsDiagGetStackTrace.js b/test/Debugger/JsDiagGetStackTrace.js index 21f2468f389..511f1ad90b8 100644 --- a/test/Debugger/JsDiagGetStackTrace.js +++ b/test/Debugger/JsDiagGetStackTrace.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + /**exception(all):stack();**/ function fromEval() { diff --git a/test/Debugger/JsDiagGetStackTrace.js.dbg.baseline b/test/Debugger/JsDiagGetStackTrace.js.dbg.baseline index 671b2818c9b..48ae6c90ae5 100644 --- a/test/Debugger/JsDiagGetStackTrace.js.dbg.baseline +++ b/test/Debugger/JsDiagGetStackTrace.js.dbg.baseline @@ -2,7 +2,7 @@ { "callStack": [ { - "line": 4, + "line": 9, "column": 4, "sourceText": "throw new Error('Caught Error')", "function": "fromEval" @@ -14,13 +14,13 @@ "function": "eval code" }, { - "line": 9, + "line": 14, "column": 2, "sourceText": "eval(\"fromEval();\")", "function": "foo" }, { - "line": 11, + "line": 16, "column": 0, "sourceText": "foo()", "function": "Global code" @@ -30,25 +30,25 @@ { "callStack": [ { - "line": 16, + "line": 21, "column": 4, "sourceText": "var level3Var = level2Var", "function": "FuncLevel3" }, { - "line": 18, + "line": 23, "column": 2, "sourceText": "FuncLevel3()", "function": "FuncLevel2" }, { - "line": 25, + "line": 30, "column": 2, "sourceText": "FuncLevel2()", "function": "FuncLevel1" }, { - "line": 27, + "line": 32, "column": 0, "sourceText": "FuncLevel1(1)", "function": "Global code" diff --git a/test/Debugger/JsDiagRequestAsyncBreak.js b/test/Debugger/JsDiagRequestAsyncBreak.js index 8b400bafe13..55b1d84b8a2 100644 --- a/test/Debugger/JsDiagRequestAsyncBreak.js +++ b/test/Debugger/JsDiagRequestAsyncBreak.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + /**onasyncbreak:evaluate('count');enableBp('A');**/ var count = 0; diff --git a/test/Debugger/JsDiagRequestAsyncBreak.js.dbg.baseline b/test/Debugger/JsDiagRequestAsyncBreak.js.dbg.baseline index 03bc45f44b2..5e8ce4a78ab 100644 --- a/test/Debugger/JsDiagRequestAsyncBreak.js.dbg.baseline +++ b/test/Debugger/JsDiagRequestAsyncBreak.js.dbg.baseline @@ -7,13 +7,13 @@ { "callStack": [ { - "line": 11, + "line": 16, "column": 2, "sourceText": "x = 2", "function": "foo" }, { - "line": 13, + "line": 18, "column": 0, "sourceText": "foo()", "function": "Global code" diff --git a/test/Debugger/JsrtDebugUtilsAddPropertyType.js b/test/Debugger/JsrtDebugUtilsAddPropertyType.js index e74f12fc033..ce919cac617 100644 --- a/test/Debugger/JsrtDebugUtilsAddPropertyType.js +++ b/test/Debugger/JsrtDebugUtilsAddPropertyType.js @@ -1,3 +1,8 @@ +//------------------------------------------------------------------------------------------------------- +// Copyright (C) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. +//------------------------------------------------------------------------------------------------------- + var obj = { a1 : undefined, a2 : null,