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

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

Issue 458213002: DevTools: add test to verify simple selector behavior. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebInspector.BlankStylePropertiesSection.makeNormal is private Created 6 years, 4 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 | LayoutTests/inspector/elements/styles/add-new-rule-inline-style-csp.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/elements-test.js
diff --git a/LayoutTests/http/tests/inspector/elements-test.js b/LayoutTests/http/tests/inspector/elements-test.js
index 009560abf71259717556d0df6c41a035c8a92d62..1a969179c196feead1957add3bca67a962b7eca9 100644
--- a/LayoutTests/http/tests/inspector/elements-test.js
+++ b/LayoutTests/http/tests/inspector/elements-test.js
@@ -732,7 +732,7 @@ InspectorTest.addNewRule = function(selector, callback)
if (typeof selector === "string")
section._selectorElement.textContent = selector;
section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent("Enter"));
- InspectorTest.addSniffer(WebInspector.BlankStylePropertiesSection.prototype, "makeNormal", callback);
+ InspectorTest.runAfterPendingDispatches(callback.bind(null, section));
}
InspectorTest.dumpInspectorHighlight = function(node, callback)
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles/add-new-rule-inline-style-csp.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698