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

Unified Diff: LayoutTests/inspector/console/console-format.html

Issue 654753003: DevTools: text node rendering in the console regressed when migrated to promises. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/inspector/console/console-format.html
diff --git a/LayoutTests/inspector/console/console-format.html b/LayoutTests/inspector/console/console-format.html
index 82264b6a11bcd9590df8dc9d377497436b10eae1..df518b3bec5cc6da57292321eb119797f8251510 100644
--- a/LayoutTests/inspector/console/console-format.html
+++ b/LayoutTests/inspector/console/console-format.html
@@ -58,7 +58,7 @@ function onload()
bar: { get: function() { return this.bar; }, set: function(x) { this.bar = x; } }
});
var negZero = 1 / Number.NEGATIVE_INFINITY;
-
+ var textNode = document.getElementById("x").nextSibling;
var arrayLikeFunction = function() {};
arrayLikeFunction.splice = function() {};
@@ -67,7 +67,7 @@ function onload()
null, undefined, valuelessAttribute, valuedAttribute, existingAttribute, throwingLengthGetter,
NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY, array, {}, [function() {}], bar, svg,
objectWithNonEnumerables, negZero, Object.create(null), Object, Object.prototype, arrayLikeFunction,
- new Number(42), new String("abc"), new Uint16Array([1, 2, 3])
+ new Number(42), new String("abc"), new Uint16Array([1, 2, 3]), textNode
];
runTest();
@@ -91,7 +91,7 @@ function test()
function onRemoteObjectsLoaded()
{
- InspectorTest.expandConsoleMessages(finish);
+ InspectorTest.expandConsoleMessages(finish, undefined, function(section) { return section.titleElement.textContent !== "#text"; });
}
function finish()
« no previous file with comments | « LayoutTests/http/tests/inspector/console-test.js ('k') | LayoutTests/inspector/console/console-format-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698