d50b583945
The HeapProfiler.startSampling method accepts a samplingInterval parameter, which is assumed to be a positive (non-zero) number, but doesn't validate the input (the renderer process just crashes hard on a CHECK instead). Fixed: chromium:1197392 Change-Id: Ib8e34f4b9881cd195214791ca0a3892e7b49bf55 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2891573 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Kim-Anh Tran <kimanh@chromium.org> Reviewed-by: Kim-Anh Tran <kimanh@chromium.org> Cr-Commit-Position: refs/heads/master@{#74523}
11 lines
192 B
Plaintext
11 lines
192 B
Plaintext
Regression test for crbug.com/1197392
|
|
|
|
Running test: testInvalidSamplingInterval
|
|
{
|
|
error : {
|
|
code : -32000
|
|
message : Invalid sampling interval
|
|
}
|
|
id : <messageId>
|
|
}
|