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

Unified Diff: test/inspector/debugger/asm-js-breakpoint-before-exec.js

Issue 2612013002: [asm.js] [inspector-test] Avoid breakpoint on "use asm" statement (Closed)
Patch Set: Created 3 years, 11 months 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 | « no previous file | test/inspector/debugger/asm-js-breakpoint-before-exec-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/asm-js-breakpoint-before-exec.js
diff --git a/test/inspector/debugger/asm-js-breakpoint-before-exec.js b/test/inspector/debugger/asm-js-breakpoint-before-exec.js
index 5c0dbaaefb5b92bf0c6824f6cc5ecfae86d535da..78a7b8e57ed9e547b145f3f4ea1cc9d0f799340a 100644
--- a/test/inspector/debugger/asm-js-breakpoint-before-exec.js
+++ b/test/inspector/debugger/asm-js-breakpoint-before-exec.js
@@ -103,12 +103,12 @@ function handleScriptParsed(messageObject)
InspectorTest.log('Script nr ' + numScripts + ' parsed!');
if (numScripts > 1) return;
- var startLine = messageObject.params.startLine;
+ var startLine = messageObject.params.startLine + 3;
var endLine = messageObject.params.endLine;
InspectorTest.log('First script; assuming testFunction.');
InspectorTest.log(
- 'Flooding script with breakpoints for all lines (' + startLine + ' - ' +
- endLine + ')...');
+ 'Flooding script with breakpoints for the lines ' + startLine + ' to ' +
+ endLine + '...');
var currentLine = startLine;
function setNextBreakpoint(message) {
if (message) InspectorTest.logMessage('error: ' + message.error);
« no previous file with comments | « no previous file | test/inspector/debugger/asm-js-breakpoint-before-exec-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698