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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-minified-variables-evalution.html

Issue 2238003002: DevTools: migrate sources panel sidebar to views. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: followed up on the watch test. Created 4 years, 4 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 src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script src="resources/resolve-expressions-compressed.js"></script> 5 <script src="resources/resolve-expressions-compressed.js"></script>
6 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 Runtime.experiments.enableForTest("resolveVariableNames"); 9 Runtime.experiments.enableForTest("resolveVariableNames");
10 InspectorTest.startDebuggerTest(step1); 10 InspectorTest.startDebuggerTest(step1);
(...skipping 26 matching lines...) Expand all
37 function Position(line, startColumn, endColumn, originText) 37 function Position(line, startColumn, endColumn, originText)
38 { 38 {
39 this.line = line; 39 this.line = line;
40 this.startColumn = startColumn; 40 this.startColumn = startColumn;
41 this.endColumn = endColumn; 41 this.endColumn = endColumn;
42 this.originText = originText; 42 this.originText = originText;
43 } 43 }
44 44
45 function testAtPosition(uiSourceCode, position) 45 function testAtPosition(uiSourceCode, position)
46 { 46 {
47 return WebInspector.SourceMapNamesResolver.resolveExpression(InspectorTe st.debuggerModel.selectedCallFrame(), position.originText, uiSourceCode, positio n.line, position.startColumn, position.endColumn) 47 return WebInspector.SourceMapNamesResolver.resolveExpression(WebInspecto r.context.flavor(WebInspector.DebuggerModel.CallFrame), position.originText, uiS ourceCode, position.line, position.startColumn, position.endColumn)
48 .then(InspectorTest.evaluateOnCurrentCallFrame) 48 .then(InspectorTest.evaluateOnCurrentCallFrame)
49 .then(remoteObject => InspectorTest.addResult(remoteObject.descripti on)); 49 .then(remoteObject => InspectorTest.addResult(remoteObject.descripti on));
50 } 50 }
51 } 51 }
52 52
53 </script> 53 </script>
54 </head> 54 </head>
55 55
56 <body onload="runTest()"> 56 <body onload="runTest()">
57 <p> 57 <p>
58 Tests evaluation in minified scripts. 58 Tests evaluation in minified scripts.
59 </p> 59 </p>
60 </body> 60 </body>
61 </html> 61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698