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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/show-function-definition.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/debugger-ui/show-function-definition.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/show-function-definition.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/show-function-definition.html
index 38fdb71b4a1c1227d20951b1f9fbdb32c21d15bf..9a24ec58e2262a8218f77169cd859791e78254dc 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/show-function-definition.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/show-function-definition.html
@@ -12,13 +12,13 @@ function jumpToMe()
function test()
{
- var panel = WebInspector.panels.sources;
+ var panel = UI.panels.sources;
InspectorTest.runTestSuite([
function testRevealFunctionDefinition(next)
{
InspectorTest.addSniffer(panel, "showUISourceCode", showUISourceCodeHook);
- WebInspector.context.flavor(WebInspector.ExecutionContext).evaluate("jumpToMe", "", false, true, false, false, false, didGetFunction);
+ UI.context.flavor(SDK.ExecutionContext).evaluate("jumpToMe", "", false, true, false, false, false, didGetFunction);
function didGetFunction(funcObject, exceptionDetails)
{
@@ -39,15 +39,15 @@ function test()
function testDumpFunctionDefinition(next)
{
- InspectorTest.addSniffer(WebInspector.ObjectPropertiesSection, "formatObjectAsFunction", onConsoleMessagesReceived);
- WebInspector.ConsoleModel.evaluateCommandInConsole(WebInspector.context.flavor(WebInspector.ExecutionContext), "jumpToMe");
+ InspectorTest.addSniffer(Components.ObjectPropertiesSection, "formatObjectAsFunction", onConsoleMessagesReceived);
+ SDK.ConsoleModel.evaluateCommandInConsole(UI.context.flavor(SDK.ExecutionContext), "jumpToMe");
function onConsoleMessagesReceived()
{
InspectorTest.deprecatedRunAfterPendingDispatches(function() {
var messages = [];
InspectorTest.disableConsoleViewport();
- var viewMessages = WebInspector.ConsoleView.instance()._visibleViewMessages;
+ var viewMessages = Console.ConsoleView.instance()._visibleViewMessages;
for (var i = 0; i < viewMessages.length; ++i) {
var uiMessage = viewMessages[i];
var element = uiMessage.contentElement();

Powered by Google App Engine
This is Rietveld 408576698