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

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

Issue 2605693003: DevTools: introduce object previews experiment (Closed)
Patch Set: rebase Created 3 years, 11 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: 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 e29edf2e34e541f4c91f5037c4935aeccfc79367..d02f2c85b0c2fab3a6004dc1e212e6513d9fd5e5 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-format.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-format.html
@@ -18,6 +18,7 @@ function onload()
var foo = { foo: "foo"};
var bar = { bar: "bar" };
bar.__proto__ = foo;
+ var singleArray = ["test"];
var array = ["test", "test2"]; array.length = 10;
array.foo = {};
array[4] = "test4";
@@ -67,6 +68,7 @@ function onload()
var arrayLikeFunction = function( /**/ foo/**/, /*/**/bar,
/**/baz) {};
arrayLikeFunction.splice = function() {};
+ var tinyTypedArray = new Uint8Array([3]);
var smallTypedArray = new Uint8Array(new ArrayBuffer(400));
smallTypedArray["foo"] = "bar";
var bigTypedArray = new Uint8Array(new ArrayBuffer(400 * 1000 * 1000));
@@ -85,7 +87,7 @@ function onload()
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]), textNode, domException(),
- smallTypedArray, bigTypedArray, instanceWithLongClassName, bigArray
+ tinyTypedArray, smallTypedArray, bigTypedArray, instanceWithLongClassName, bigArray, singleArray
];
runTest();

Powered by Google App Engine
This is Rietveld 408576698