Created
June 1, 2019 03:53
-
-
Save atroche/7380cd8f5da1f366d3f71696b62ee7a7 to your computer and use it in GitHub Desktop.
The 'Script Coverage's returned by Chrome after the initial load of our 'Basic Page' fixture
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"scriptId": "11", | |
"url": "http://127.0.0.1:42595/coverage_fixture1.js", | |
"functions": [ | |
{ | |
"functionName": "", | |
"ranges": [ | |
{ | |
"startOffset": 0, | |
"endOffset": 339, | |
"count": 1 | |
} | |
] | |
}, | |
{ | |
"functionName": "window.onload", | |
"ranges": [ | |
{ | |
"startOffset": 16, | |
"endOffset": 53, | |
"count": 1 | |
} | |
] | |
}, | |
{ | |
"functionName": "button.onclick", | |
"ranges": [ | |
{ | |
"startOffset": 125, | |
"endOffset": 163, | |
"count": 0 | |
} | |
] | |
}, | |
{ | |
"functionName": "blah", | |
"ranges": [ | |
{ | |
"startOffset": 166, | |
"endOffset": 329, | |
"count": 1 | |
}, | |
{ | |
"startOffset": 221, | |
"endOffset": 327, | |
"count": 0 | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"scriptId": "12", | |
"url": "http://127.0.0.1:42595/coverage_fixture2.js", | |
"functions": [ | |
{ | |
"functionName": "", | |
"ranges": [ | |
{ | |
"startOffset": 0, | |
"endOffset": 37, | |
"count": 1 | |
} | |
] | |
}, | |
{ | |
"functionName": "thisIsNeverExecuted", | |
"ranges": [ | |
{ | |
"startOffset": 0, | |
"endOffset": 35, | |
"count": 0 | |
} | |
] | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment