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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/debugger/stepping-with-blackboxed-ranges.html

Issue 2647083002: [DevTools] disable frameworks tests for V8 roll (Closed)
Patch Set: addressed comments 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
4 <script type="text/javascript" src="resources/blackboxed.js"></script> 4 <script type="text/javascript" src="resources/blackboxed.js"></script>
5 <script type="text/javascript" src="resources/mixed.js"></script> 5 <script type="text/javascript" src="resources/mixed.js"></script>
6 <script> 6 <script>
7 function testFunction() 7 function testFunction()
8 { 8 {
9 notBlackboxedBoo(); // for setup ranges and stepOut 9 notBlackboxedBoo(); // for setup ranges and stepOut
10 notBlackboxedBoo(); // for stepIn 10 notBlackboxedBoo(); // for stepIn
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 scriptId: scriptId, 57 scriptId: scriptId,
58 positions: positions 58 positions: positions
59 }, setIncorrectRanges.bind(null, scriptId)); 59 }, setIncorrectRanges.bind(null, scriptId));
60 } 60 }
61 61
62 function setMixedSourceRanges(scriptId) 62 function setMixedSourceRanges(scriptId)
63 { 63 {
64 InspectorTest.eventHandler["Debugger.paused"] = runAction; 64 InspectorTest.eventHandler["Debugger.paused"] = runAction;
65 InspectorTest.sendCommandOrDie("Debugger.setBlackboxedRanges", { 65 InspectorTest.sendCommandOrDie("Debugger.setBlackboxedRanges", {
66 scriptId: scriptId, 66 scriptId: scriptId,
67 positions: [ { lineNumber: 8, columnNumber: 0 }, { lineNumber: 15, c olumnNumber: 0 } ] // blackbox ranges for mixed.js 67 positions: [ { lineNumber: 6, columnNumber: 0 }, { lineNumber: 14, c olumnNumber: 0 } ] // blackbox ranges for mixed.js
68 }, runAction); 68 }, runAction);
69 } 69 }
70 70
71 var actions = [ "stepOut", "print", "stepOut", "print", "stepOut", "print", 71 var actions = [ "stepOut", "print", "stepOut", "print", "stepOut", "print",
72 "stepInto", "print", "stepOver", "stepInto", "print", "stepOver", "stepI nto", "print", 72 "stepInto", "print", "stepOver", "stepInto", "print", "stepOver", "stepI nto", "print",
73 "stepOver", "stepInto", "print" ]; 73 "stepOver", "stepInto", "print" ];
74 74
75 function runAction(response) 75 function runAction(response)
76 { 76 {
77 var action = actions.shift(); 77 var action = actions.shift();
(...skipping 17 matching lines...) Expand all
95 for (var callFrame of callFrames) 95 for (var callFrame of callFrames)
96 InspectorTest.log(callFrame.functionName + ': ' + callFrame.location .lineNumber + ":" + callFrame.location.columnNumber); 96 InspectorTest.log(callFrame.functionName + ': ' + callFrame.location .lineNumber + ":" + callFrame.location.columnNumber);
97 InspectorTest.log(""); 97 InspectorTest.log("");
98 } 98 }
99 } 99 }
100 </script> 100 </script>
101 </head> 101 </head>
102 <body onload="runTest()"> 102 <body onload="runTest()">
103 </body> 103 </body>
104 </html> 104 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698