2017-05-19 00:35:45 +00:00
|
|
|
Tests side-effect-free evaluation
|
2021-02-18 04:52:02 +00:00
|
|
|
|
|
|
|
Running test: basicTest
|
|
|
|
Paused on "debugger;"
|
2017-02-10 17:06:22 +00:00
|
|
|
f() returns 1
|
|
|
|
g() returns 2
|
|
|
|
f() returns 1
|
|
|
|
g() throws EvalError
|
2021-02-18 04:52:02 +00:00
|
|
|
|
2021-10-01 06:17:11 +00:00
|
|
|
Running test: testAsyncFunctions
|
|
|
|
testAsyncFunction("resolve") : ok
|
|
|
|
testAsyncFunction("reject") : throws
|
|
|
|
|
2021-02-18 04:52:02 +00:00
|
|
|
Running test: testDate
|
|
|
|
someGlobalDate.setDate(10) : throws
|
|
|
|
new Date().setDate(10) : ok
|
|
|
|
someGlobalDate.setFullYear(1991) : throws
|
|
|
|
new Date().setFullYear(1991) : ok
|
|
|
|
someGlobalDate.setHours(0) : throws
|
|
|
|
new Date().setHours(0) : ok
|
|
|
|
someGlobalDate.getDate() : ok
|
|
|
|
new Date().getDate() : ok
|
|
|
|
someGlobalDate.getFullYear() : ok
|
|
|
|
new Date().getFullYear() : ok
|
|
|
|
someGlobalDate.getHours() : ok
|
|
|
|
new Date().getHours() : ok
|
2021-10-01 06:17:11 +00:00
|
|
|
|
|
|
|
Running test: testPromiseReject
|
|
|
|
Promise.reject() : throws
|