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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.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/http/tests/inspector/elements/styles/edit-css-with-source-url.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html b/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html
index 145442f957e891638ebdc810e0c2cee64dab2280..0316f0478089ab7f1e6643329e1ca61266a78a39 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html
@@ -41,8 +41,8 @@ function test()
function fileSystemCreated()
{
- var fileSystemProjectId = WebInspector.FileSystemWorkspaceBinding.projectId(fileSystemPath);
- uiSourceCode = WebInspector.workspace.uiSourceCode(fileSystemProjectId, "file:///var/www/foo.css");
+ var fileSystemProjectId = Bindings.FileSystemWorkspaceBinding.projectId(fileSystemPath);
+ uiSourceCode = Workspace.workspace.uiSourceCode(fileSystemProjectId, "file:///var/www/foo.css");
InspectorTest.showUISourceCode(uiSourceCode, didShowScriptSource);
}
@@ -50,7 +50,7 @@ function test()
{
dumpUISourceCodeContents();
InspectorTest.addResult("Loading stylesheet with sourceURL:");
- InspectorTest.cssModel.addEventListener(WebInspector.CSSModel.Events.StyleSheetAdded, stylesheetLoaded);
+ InspectorTest.cssModel.addEventListener(SDK.CSSModel.Events.StyleSheetAdded, stylesheetLoaded);
InspectorTest.evaluateInPage("loadStylesheet()");
}
@@ -58,7 +58,7 @@ function test()
{
if (!event.data.sourceURL.includes("foo.css"))
return;
- InspectorTest.cssModel.removeEventListener(WebInspector.CSSModel.Events.StyleSheetAdded, stylesheetLoaded);
+ InspectorTest.cssModel.removeEventListener(SDK.CSSModel.Events.StyleSheetAdded, stylesheetLoaded);
InspectorTest.addResult("Stylesheet loaded.");
InspectorTest.selectNodeAndWaitForStyles("inspected", nodeSelected);
}
@@ -77,7 +77,7 @@ function test()
treeElement.valueElement.textContent = "green";
treeElement.valueElement.firstChild.select();
treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
- uiSourceCode.addEventListener(WebInspector.UISourceCode.Events.WorkingCopyCommitted, stylesEdited, this);
+ uiSourceCode.addEventListener(Workspace.UISourceCode.Events.WorkingCopyCommitted, stylesEdited, this);
}
function stylesEdited()

Powered by Google App Engine
This is Rietveld 408576698