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

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

Issue 2563883002: DevTools: sort non-enumerable and underscore properties lower in logged object (Closed)
Patch Set: rebase again Created 4 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/console/console-format-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/console/console-format.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-format.html b/third_party/WebKit/LayoutTests/inspector/console/console-format.html
index c1f397996cc8466d9e9e7e294bde8066ecbdffb2..323a9e456870f01b126e059a74c16bd7a6a4315b 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-format.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-format.html
@@ -55,9 +55,13 @@ function onload()
var existingAttribute = document.getElementById("x").attributes[0];
var throwingLengthGetter = {get length() { throw "Length called"; }};
var objectWithNonEnumerables = Object.create({ foo: 1 }, {
+ __underscoreNonEnumerableProp: { value: 2, enumerable: false },
+ abc: { value: 3, enumerable: false },
getFoo: { value: function() { return this.foo; } },
bar: { get: function() { return this.bar; }, set: function(x) { this.bar = x; } }
});
+ objectWithNonEnumerables.enumerableProp = 4;
+ objectWithNonEnumerables.__underscoreEnumerableProp__ = 5;
var negZero = 1 / Number.NEGATIVE_INFINITY;
var textNode = document.getElementById("x").nextSibling;
var arrayLikeFunction = function( /**/ foo/**/, /*/**/bar,
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-format-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698