Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: test/inspector/runtime/console-assert-expected.txt

Issue 2505493002: [inspector] make console.assert much faster (Closed)
Patch Set: do not run microtasks after internal function call Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/inspector/runtime/console-assert.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/console-assert-expected.txt
diff --git a/test/inspector/runtime/console-assert-expected.txt b/test/inspector/runtime/console-assert-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..bf5347435b69a8fd8948f8d3e6d27be51f2d1200
--- /dev/null
+++ b/test/inspector/runtime/console-assert-expected.txt
@@ -0,0 +1,147 @@
+Checks that console.assert works and points to correct call frame.
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ type : string
+ value : console.assert
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 10
+ functionName : testFunction
+ lineNumber : 4
+ scriptId : <scriptId>
+ url : test.js
+ }
+ [1] : {
+ columnNumber : 0
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url : evaluate.js
+ }
+ ]
+ }
+ timestamp : <timestamp>
+ type : assert
+ }
+}
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ description : 1
+ type : number
+ value : 1
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 10
+ functionName : testFunction
+ lineNumber : 5
+ scriptId : <scriptId>
+ url : test.js
+ }
+ [1] : {
+ columnNumber : 0
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url : evaluate.js
+ }
+ ]
+ }
+ timestamp : <timestamp>
+ type : assert
+ }
+}
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ description : 1
+ type : number
+ value : 1
+ }
+ [1] : {
+ description : 2
+ type : number
+ value : 2
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 10
+ functionName : testFunction
+ lineNumber : 6
+ scriptId : <scriptId>
+ url : test.js
+ }
+ [1] : {
+ columnNumber : 0
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url : evaluate.js
+ }
+ ]
+ }
+ timestamp : <timestamp>
+ type : assert
+ }
+}
+{
+ method : Runtime.consoleAPICalled
+ params : {
+ args : [
+ [0] : {
+ type : string
+ value : console.assert
+ }
+ ]
+ executionContextId : <executionContextId>
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 10
+ functionName : testFunction
+ lineNumber : 7
+ scriptId : <scriptId>
+ url : test.js
+ }
+ [1] : {
+ columnNumber : 0
+ functionName :
+ lineNumber : 0
+ scriptId : <scriptId>
+ url : evaluate.js
+ }
+ ]
+ }
+ timestamp : <timestamp>
+ type : assert
+ }
+}
+{
+ id : <messageId>
+ result : {
+ result : {
+ className : Function
+ description : function assert() { [native code] }
+ objectId : <objectId>
+ type : function
+ }
+ }
+}
« no previous file with comments | « test/inspector/runtime/console-assert.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698