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

Unified Diff: third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.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/elements/styles-2/property-ui-location.html
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html
index 85265711b610688509214c546bb2dfdf063baaff..1ae75e277febf30e98bad3eb31d3b1302296e71c 100644
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-2/property-ui-location.html
@@ -35,15 +35,15 @@ function test()
{
var styles = matchedResult.nodeStyles();
for (var style of styles) {
- if (style.type !== WebInspector.CSSStyleDeclaration.Type.Regular)
+ if (style.type !== SDK.CSSStyleDeclaration.Type.Regular)
continue;
var properties = style.allProperties;
for (var property of properties) {
if (!property.range)
continue;
- var uiLocation = WebInspector.cssWorkspaceBinding.propertyUILocation(property, true);
+ var uiLocation = Bindings.cssWorkspaceBinding.propertyUILocation(property, true);
InspectorTest.addResult(String.sprintf("%s -> %s:%d:%d", property.name, uiLocation.uiSourceCode.name(), uiLocation.lineNumber, uiLocation.columnNumber));
- var uiLocation = WebInspector.cssWorkspaceBinding.propertyUILocation(property, false);
+ var uiLocation = Bindings.cssWorkspaceBinding.propertyUILocation(property, false);
InspectorTest.addResult(String.sprintf("%s -> %s:%d:%d", property.value, uiLocation.uiSourceCode.name(), uiLocation.lineNumber, uiLocation.columnNumber));
}
}
@@ -53,7 +53,7 @@ function test()
</script>
</head>
<body onload="runTest()">
-<p>Verifies WebInspector.cssWorkspaceBinding.propertyUILocation functionality</p>
+<p>Verifies Bindings.cssWorkspaceBinding.propertyUILocation functionality</p>
<div id="inspected"></div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698