What steps will reproduce the problem?
1. Create application with have page with include java script file with syntax
error
2. Enter the page
3. I can see similar error in Debug Console
Error in event handler for 'undefined': Unexpected token: name (aaaaaaaa)
TypeError: object is not a function
at new JS_Parse_Error (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:235:21)
at js_error (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:246:15)
at croak (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:652:17)
at token_error (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:659:17)
at unexpected (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:665:17)
at Object.semicolon (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:685:51)
at prog1 (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:1202:29)
at simple_statement (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:816:35)
at $statement (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:726:35)
at block_ (chrome-extension://hbbbdijkdplhoejlcodidgcgbnnfcadf/third_party/lib/parse-js.js:900:32) event_bindings:346
4. the 'script cover' don't collect data.
What is the expected output? What do you see instead?
1. I want to collect code cover data.
2. If I Have syntax error I would like to know in which file and in with line I
have error
What version of the product are you using? On what operating system?
1.0.0.2
Please provide any additional information below.
Exmple html page:
<html>
<head>
<script id="scriptWithError" src="myErrorScript.js"></script>
<script type="text/javascript">
function onClickTest() {
syntaxError();
}
</script>
</head>
<body>
<button id="test" onclick="onClickTest()">test</button>
</body>
</html>
Example js file:
function syntaxError()
{
alert("fg sdgfs");
aaaaaaa aaaaaaaa
}
Original issue reported on code.google.com by Radullus...@gmail.com on 26 Jun 2013 at 1:49
Original issue reported on code.google.com by
Radullus...@gmail.comon 26 Jun 2013 at 1:49