v8/test/inspector/runtime
jarin a957b0f424 Make non-Module generators only context allocate parameters.
In particular, local variables should be allocated on stack (in bytecode register), and stored/loaded to the generator object on generator suspend/resume.

The CL is based on @adamk's change to scoping/parsers (https://chromium-review.googlesource.com/c/498538/), I only made the debugger cope with this change.

I should note that the CL changes the scope type of suspended generators from ScopeType.Closure to ScopeType.Local. In the future we might want to introduce ScopeType.SuspendedGenerator to make the distinction explicit.

Some of the changes in the tests have been made because the debugger functions do not return scopes of closed generators anymore. Generators should be allowed to throw away their internal state when they finish.

BUG=v8:6368

Review-Url: https://codereview.chromium.org/2898163002
Cr-Commit-Position: refs/heads/master@{#45515}
2017-05-24 13:54:57 +00:00
..
await-promise-expected.txt [inspector] async stacks for Promise.then calls... 2017-01-10 12:54:12 +00:00
await-promise.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
call-function-on-async-expected.txt [inspector] store creation stack in current V8StackTraceImpl 2017-04-12 19:02:58 +00:00
call-function-on-async.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
clear-of-command-line-api-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
clear-of-command-line-api.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
client-console-api-message-expected.txt [inspector] avoid cloning of async call chains 2017-04-18 15:53:08 +00:00
client-console-api-message.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
command-line-api-expected.txt [inspector] console get all information from inspector when needed 2017-03-29 21:40:07 +00:00
command-line-api.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
compile-script-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
compile-script.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-api-repeated-in-console-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-api-repeated-in-console.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-assert-expected.txt [inspector] make console.assert much faster 2016-11-23 17:09:50 +00:00
console-assert.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-deprecated-methods-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-deprecated-methods.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-line-and-column-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-line-and-column.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-log-doesnt-run-microtasks-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-log-doesnt-run-microtasks.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-memory-expected.txt [inspector] console get all information from inspector when needed 2017-03-29 21:40:07 +00:00
console-memory.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-messages-limits-expected.txt [inspector] introduced memory size limit for console message storage 2017-01-30 17:05:58 +00:00
console-messages-limits.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-methods-expected.txt [inspector] added missing test for console methods 2017-02-02 23:05:11 +00:00
console-methods.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-spec-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-spec.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-time-end-format-expected.txt [inspector] console.timeEnd formats ms in the same way as JS formats double 2017-01-17 20:21:38 +00:00
console-time-end-format.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-timestamp-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
console-timestamp.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
create-context-expected.txt [inspector] changed a way of preserving stepping between tasks 2017-03-22 16:20:54 +00:00
create-context.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
es6-module-expected.txt [inspector] store creation stack in current V8StackTraceImpl 2017-04-12 19:02:58 +00:00
es6-module.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-async-expected.txt [inspector] store creation stack in current V8StackTraceImpl 2017-04-12 19:02:58 +00:00
evaluate-async-with-wrap-error-expected.txt [inspector] Make InspectorTest.sendCommand* private 2016-10-03 23:33:07 +00:00
evaluate-async-with-wrap-error.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-async.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-empty-stack-expected.txt [debug] remove JSON debug protocol related tests. 2016-11-24 10:43:22 +00:00
evaluate-empty-stack.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-with-context-id-equal-zero-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-with-context-id-equal-zero.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
evaluate-with-generate-preview-expected.txt [inspector] better isArrayLike for injected-script-source.js 2017-03-24 17:38:20 +00:00
evaluate-with-generate-preview.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
exception-thrown-expected.txt [inspector] store creation stack in current V8StackTraceImpl 2017-04-12 19:02:58 +00:00
exception-thrown.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties-expected.txt [inspector] run more tests with InspectorTest.setupInjectedScriptEnvironment 2017-03-24 18:43:22 +00:00
get-properties-on-proxy-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties-on-proxy.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties-preview-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties-preview.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
get-properties.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
internal-properties-entries-expected.txt [inspector] introduced v8::debug::EntriesPreview for inspector 2017-02-07 07:46:21 +00:00
internal-properties-entries.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
internal-properties-expected.txt Make non-Module generators only context allocate parameters. 2017-05-24 13:54:57 +00:00
internal-properties.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
length-or-size-description-expected.txt [inspector] description for weak collections should not contain size 2017-03-22 21:35:14 +00:00
length-or-size-description.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
property-on-console-proto-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
property-on-console-proto.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
protocol-works-with-different-locale-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
protocol-works-with-different-locale.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
run-script-async-expected.txt [inspector] store creation stack in current V8StackTraceImpl 2017-04-12 19:02:58 +00:00
run-script-async.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
runtime-evaluate-with-dirty-context-expected.txt [inspector] Increased chances of successful InjectedScriptSource compilation 2017-03-24 01:33:12 +00:00
runtime-evaluate-with-dirty-context.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
runtime-restore-expected.txt [inspector] added reconnect method for tests 2017-02-28 20:22:24 +00:00
runtime-restore.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
set-or-map-entries-expected.txt Re-land of Use parenthesis in descriptions for array/map/set lengths/sizes 2016-12-02 01:26:45 +00:00
set-or-map-entries.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00