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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/javascript-outline-dialog.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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
Index: third_party/WebKit/LayoutTests/inspector/sources/javascript-outline-dialog.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/javascript-outline-dialog.html b/third_party/WebKit/LayoutTests/inspector/sources/javascript-outline-dialog.html
index 34d0ee4358a6d37035b49aa235f7d6baf1aedce9..2da437e3b5eb0c842dd80a1658dfc05be4109649 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/javascript-outline-dialog.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/javascript-outline-dialog.html
@@ -12,8 +12,8 @@ function test()
InspectorTest.showScriptSource("javascript-outline-dialog.js", onSourceShown);
function onSourceShown(sourceFrame)
{
- InspectorTest.addSniffer(WebInspector.JavaScriptOutlineDialog.prototype, "refresh", onDialogFulfilled);
- WebInspector.panels.sources._sourcesView._showOutlineDialog();
+ InspectorTest.addSniffer(Sources.JavaScriptOutlineDialog.prototype, "refresh", onDialogFulfilled);
+ UI.panels.sources._sourcesView._showOutlineDialog();
}
function onDialogFulfilled()
@@ -28,7 +28,7 @@ function test()
function dumpScores(query)
{
InspectorTest.addResult(`Scores for query="${query}"`);
- var dialog = WebInspector.JavaScriptOutlineDialog._instanceForTests;
+ var dialog = Sources.JavaScriptOutlineDialog._instanceForTests;
var keys = [];
for (var i = 0; i < dialog.itemCount(); ++i) {
keys.push({

Powered by Google App Engine
This is Rietveld 408576698