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

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

Issue 911993002: DevTools: [Console] render console stacktraces consistently (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline one more test Created 5 years, 10 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
Index: LayoutTests/http/tests/inspector/inspector-test.js
diff --git a/LayoutTests/http/tests/inspector/inspector-test.js b/LayoutTests/http/tests/inspector/inspector-test.js
index e254d22b454a52a5bf44d7cf22075de633710267..e665f9bc32c3ef1b13b2580875021e51bfb89130 100644
--- a/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/LayoutTests/http/tests/inspector/inspector-test.js
@@ -449,7 +449,7 @@ InspectorTest.textContentWithLineBreaks = function(node)
while (currentNode = currentNode.traverseNextNode(node)) {
if (currentNode.nodeType === Node.TEXT_NODE) {
buffer += currentNode.nodeValue;
- } else if (currentNode.nodeName === "LI") {
+ } else if (currentNode.nodeName === "LI" || currentNode.nodeName === "TR") {
buffer += "\n" + padding(currentNode);
} else if (currentNode.nodeName === "STYLE") {
currentNode = currentNode.traverseNextNode(node);

Powered by Google App Engine
This is Rietveld 408576698