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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js

Issue 1521323002: Show custom properties in the computed style pane of the inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/inspector/elements/styles-3/styles-variables.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-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
index 02d4a8acad7660f28af9a08dcd6711b8a0ac2fe6..dea9b971ca019ec3f17ab1ca9c11711347675022 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js
@@ -282,9 +282,9 @@ InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callbac
callback = InspectorTest.safeWrap(callback);
InspectorTest.selectNodeAndWaitForStyles(idValue, onSidebarRendered);
- function onSidebarRendered()
+ function onSidebarRendered(node)
{
- InspectorTest.computedStyleWidget().doUpdate().then(callback);
+ InspectorTest.computedStyleWidget().doUpdate().then(callback.bind(null, node));
}
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/elements/styles-3/styles-variables.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698