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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html

Issue 2300523002: DevTools: cleanup WI.CSSWorkspaceBindings (Closed)
Patch Set: address comments Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-sourcemap-header-deprecated.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html b/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html
index 8fe7b30fecd9c4c103de68338a66f44e7ad993ec..c4b68f1fd66cb8c5ac2dced75aa1e530f6a80d57 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-deprecated.html
@@ -21,11 +21,11 @@ function addStylesheet()
function test()
{
InspectorTest.evaluateInPage("addStylesheet()");
- InspectorTest.addSniffer(WebInspector.CSSWorkspaceBinding.prototype, "pushSourceMapping", sourceMappingSniffer, true);
+ InspectorTest.addSniffer(WebInspector.CSSWorkspaceBinding.prototype, "updateLocations", sourceMappingSniffer, true);
- function sourceMappingSniffer(header, sourceMapping)
+ function sourceMappingSniffer(header)
{
- if (sourceMapping instanceof WebInspector.SASSSourceMapping) {
+ if (header.resourceURL().includes("selector-line-deprecated.css")) {
InspectorTest.selectNodeAndWaitForStyles("inspected", step2);
}
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/elements/styles/selector-line-sourcemap-header-deprecated.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698