blob: 3f8f7e8bf303cf27c2284adfb8c8871001906a10 [file] [log] [blame]
CONSOLE MESSAGE: [object Window]
CONSOLE MESSAGE: [object Console]
CONSOLE MESSAGE: string
CONSOLE MESSAGE: [object Window]
CONSOLE MESSAGE: [object Console]
CONSOLE MESSAGE: string
Checking whether console.log can be stepped into or not, depending on the value of WI.settings.pauseForInternalScripts.
== Running test suite: Debugger.setPauseForInternalScripts
-- Running test setup.
-- Running test case: Debugger.setPauseForInternalScripts.Disabled
EXPRESSION: setTimeout(entryConsoleLog)
STEPS: over, in, in, in, resume
PAUSED (debugger-statement)
PAUSE AT entryConsoleLog:8:5
4 <script src="resources/log-pause-location.js"></script>
5 <script>
6 function entryConsoleLog() {
-> 7 |debugger;
8 console.log(window);
9 console.log(console);
10 console.log("string");
ACTION: step-over
PAUSE AT entryConsoleLog:9:5
5 <script>
6 function entryConsoleLog() {
7 debugger;
-> 8 |console.log(window);
9 console.log(console);
10 console.log("string");
11 }
ACTION: step-in
PAUSE AT entryConsoleLog:10:5
6 function entryConsoleLog() {
7 debugger;
8 console.log(window);
-> 9 |console.log(console);
10 console.log("string");
11 }
12
ACTION: step-in
PAUSE AT entryConsoleLog:11:5
7 debugger;
8 console.log(window);
9 console.log(console);
-> 10 |console.log("string");
11 }
12
13 // ---------
ACTION: step-in
PAUSE AT entryConsoleLog:12:2
8 console.log(window);
9 console.log(console);
10 console.log("string");
-> 11 }|
12
13 // ---------
14
ACTION: resume
RESUMED
PASS: Should have used all steps.
-- Running test setup.
-- Running test case: Debugger.setPauseForInternalScripts.Enabled
EXPRESSION: setTimeout(entryConsoleLog)
STEPS: over, in, in, in, resume
PAUSED (debugger-statement)
PAUSE AT entryConsoleLog:8:5
4 <script src="resources/log-pause-location.js"></script>
5 <script>
6 function entryConsoleLog() {
-> 7 |debugger;
8 console.log(window);
9 console.log(console);
10 console.log("string");
ACTION: step-over
PAUSE AT entryConsoleLog:9:5
5 <script>
6 function entryConsoleLog() {
7 debugger;
-> 8 |console.log(window);
9 console.log(console);
10 console.log("string");
11 }
ACTION: step-in
PAUSE AT entryConsoleLog:9:16
5 <script>
6 function entryConsoleLog() {
7 debugger;
-> 8 console.log|(window);
9 console.log(console);
10 console.log("string");
11 }
ACTION: step-in
PAUSE AT entryConsoleLog:9:16
5 <script>
6 function entryConsoleLog() {
7 debugger;
-> 8 console.log|(window);
9 console.log(console);
10 console.log("string");
11 }
ACTION: step-in
PAUSE AT entryConsoleLog:9:16
5 <script>
6 function entryConsoleLog() {
7 debugger;
-> 8 console.log|(window);
9 console.log(console);
10 console.log("string");
11 }
ACTION: resume
RESUMED
PASS: Should have used all steps.
-- Running test teardown.