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

Unified Diff: LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html
diff --git a/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html b/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html
index 02743ad50bda16febc0e114eda641f79ef3ad97a..cf9b50b3d339112737271be432ffe6d1c04b964e 100644
--- a/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html
+++ b/LayoutTests/http/tests/inspector/elements/styles/edit-css-with-source-url.html
@@ -53,13 +53,13 @@ function test()
{
dumpUISourceCodeContents();
InspectorTest.addResult("Loading stylesheet with sourceURL:");
- WebInspector.cssModel.addEventListener(WebInspector.CSSStyleModel.Events.StyleSheetAdded, stylesheetLoaded);
+ InspectorTest.cssModel.addEventListener(WebInspector.CSSStyleModel.Events.StyleSheetAdded, stylesheetLoaded);
InspectorTest.evaluateInPage("loadStylesheet()");
}
function stylesheetLoaded()
{
- WebInspector.cssModel.removeEventListener(WebInspector.CSSStyleModel.Events.StyleSheetAdded, stylesheetLoaded);
+ InspectorTest.cssModel.removeEventListener(WebInspector.CSSStyleModel.Events.StyleSheetAdded, stylesheetLoaded);
InspectorTest.addResult("Stylesheet loaded.");
InspectorTest.selectNodeAndWaitForStyles("inspected", nodeSelected);
}

Powered by Google App Engine
This is Rietveld 408576698