368f55bb63
New tests added for: * Runtime.getProperties while debugger is paused * Runtime.exceptionThrown * Runtime.releaseObject/releaseObjectGroup Change-Id: I72b3455e9fb3269c097bf9a383187c119158a722 Reviewed-on: https://chromium-review.googlesource.com/c/1490172 Commit-Queue: Jeff Fisher <jeffish@microsoft.com> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#59984}
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
Tests that Runtime throws exceptions after enabling domain on scripts with errors.
|
|
Enabling Runtime Domain.
|
|
{
|
|
method : Runtime.exceptionThrown
|
|
params : {
|
|
exceptionDetails : {
|
|
columnNumber : 12
|
|
exception : {
|
|
className : SyntaxError
|
|
description : SyntaxError: Unexpected token ;
|
|
objectId : <objectId>
|
|
subtype : error
|
|
type : object
|
|
}
|
|
exceptionId : <exceptionId>
|
|
executionContextId : <executionContextId>
|
|
lineNumber : 1
|
|
scriptId : <scriptId>
|
|
text : Uncaught SyntaxError: Unexpected token ;
|
|
url : syntaxError.js
|
|
}
|
|
timestamp : <timestamp>
|
|
}
|
|
}
|
|
{
|
|
method : Runtime.exceptionThrown
|
|
params : {
|
|
exceptionDetails : {
|
|
columnNumber : 12
|
|
exception : {
|
|
className : ReferenceError
|
|
description : ReferenceError: y is not defined at referenceError.js:2:13
|
|
objectId : <objectId>
|
|
subtype : error
|
|
type : object
|
|
}
|
|
exceptionId : <exceptionId>
|
|
executionContextId : <executionContextId>
|
|
lineNumber : 1
|
|
scriptId : <scriptId>
|
|
text : Uncaught ReferenceError: y is not defined
|
|
url : referenceError.js
|
|
}
|
|
timestamp : <timestamp>
|
|
}
|
|
}
|