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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js

Issue 2149833005: DevTools: rename SourceFrame.onTextEditorContentLoaded into onTextEditorContentSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network/preview-searchable.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 function scheduleTestFunction() 1 function scheduleTestFunction()
2 { 2 {
3 setTimeout(testFunction, 0); 3 setTimeout(testFunction, 0);
4 } 4 }
5 5
6 var initialize_DebuggerTest = function() { 6 var initialize_DebuggerTest = function() {
7 7
8 InspectorTest.preloadPanel("sources"); 8 InspectorTest.preloadPanel("sources");
9 9
10 InspectorTest.startDebuggerTest = function(callback, quiet) 10 InspectorTest.startDebuggerTest = function(callback, quiet)
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 }; 356 };
357 357
358 InspectorTest.showUISourceCode = function(uiSourceCode, callback) 358 InspectorTest.showUISourceCode = function(uiSourceCode, callback)
359 { 359 {
360 var panel = WebInspector.panels.sources; 360 var panel = WebInspector.panels.sources;
361 panel.showUISourceCode(uiSourceCode); 361 panel.showUISourceCode(uiSourceCode);
362 var sourceFrame = panel.visibleView; 362 var sourceFrame = panel.visibleView;
363 if (sourceFrame.loaded) 363 if (sourceFrame.loaded)
364 callback(sourceFrame); 364 callback(sourceFrame);
365 else 365 else
366 InspectorTest.addSniffer(sourceFrame, "onTextEditorContentLoaded", callb ack && callback.bind(null, sourceFrame)); 366 InspectorTest.addSniffer(sourceFrame, "onTextEditorContentSet", callback && callback.bind(null, sourceFrame));
367 }; 367 };
368 368
369 InspectorTest.showScriptSource = function(scriptName, callback) 369 InspectorTest.showScriptSource = function(scriptName, callback)
370 { 370 {
371 InspectorTest.waitForScriptSource(scriptName, onScriptSource); 371 InspectorTest.waitForScriptSource(scriptName, onScriptSource);
372 372
373 function onScriptSource(uiSourceCode) 373 function onScriptSource(uiSourceCode)
374 { 374 {
375 InspectorTest.showUISourceCode(uiSourceCode, callback); 375 InspectorTest.showUISourceCode(uiSourceCode, callback);
376 } 376 }
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 var listItem = threadsPane._debuggerModelToListItems.get(WebInspector.Debugg erModel.fromTarget(target)); 574 var listItem = threadsPane._debuggerModelToListItems.get(WebInspector.Debugg erModel.fromTarget(target));
575 threadsPane._onListItemClick(listItem); 575 threadsPane._onListItemClick(listItem);
576 } 576 }
577 577
578 InspectorTest.evaluateOnCurrentCallFrame = function(code) 578 InspectorTest.evaluateOnCurrentCallFrame = function(code)
579 { 579 {
580 return new Promise(succ => InspectorTest.debuggerModel.evaluateOnSelectedCal lFrame(code, "console", false, true, false, false, InspectorTest.safeWrap(succ)) ); 580 return new Promise(succ => InspectorTest.debuggerModel.evaluateOnSelectedCal lFrame(code, "console", false, true, false, false, InspectorTest.safeWrap(succ)) );
581 } 581 }
582 582
583 }; 583 };
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network/preview-searchable.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698