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

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

Issue 699873002: DevTools: [SSP] refactoring to remove styleRule.section property (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix syntax Created 6 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: 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 311592c9467f56b4fb05967a52817112de9a4180..a4ee3c9966d8b2e36fa0e0277aed8f3172714f7e 100644
--- a/LayoutTests/http/tests/inspector/elements-test.js
+++ b/LayoutTests/http/tests/inspector/elements-test.js
@@ -235,7 +235,7 @@ InspectorTest.dumpSelectedElementStyles = function(excludeComputed, excludeMatch
continue;
if (section.element.previousSibling && section.element.previousSibling.className === "sidebar-separator")
InspectorTest.addResult("======== " + section.element.previousSibling.textContent + " ========");
- InspectorTest.addResult((section.expanded ? "[expanded] " : "[collapsed] ") + (section.noAffect ? "[no-affect] " : ""));
+ InspectorTest.addResult((section.expanded ? "[expanded] " : "[collapsed] ") + (section.element.classList.contains("no-affect") ? "[no-affect] " : ""));
var chainEntries = section.titleElement.querySelectorAll(".media-list .media");
chainEntries = Array.prototype.slice.call(chainEntries);
if (section.titleElement.children[1])

Powered by Google App Engine
This is Rietveld 408576698