| Index: third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter.html b/third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter.html
|
| index 4bc6d32f2efb3c02b6242f59debb1cc2cb707e6e..9760e6a59f4363d744658cb9012b06e8202e10ed 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-log-object-with-getter.html
|
| @@ -10,10 +10,19 @@ Object.defineProperty(obj, 'bar', {enumerable: false, set: function(x) { this.ba
|
| var arr = [];
|
| Object.defineProperty(arr, 0, {enumerable: true, get: function() { return 1; }});
|
| Object.defineProperty(arr, 1, {enumerable: false, set: function(x) { this.baz = x; }});
|
| +
|
| +var objWithGetterExceptions = {
|
| + get error() { throw new Error('myError') },
|
| + get string() { throw 'myString' },
|
| + get number() { throw 123 },
|
| + get function() { throw function() {} },
|
| +};
|
| +
|
| function logObject()
|
| {
|
| console.log(obj);
|
| console.log(arr);
|
| + console.log(objWithGetterExceptions);
|
| }
|
|
|
| function test()
|
| @@ -34,7 +43,7 @@ function test()
|
| }
|
| function step5()
|
| {
|
| - InspectorTest.dumpConsoleMessages();
|
| + InspectorTest.dumpConsoleMessages(false, true);
|
| InspectorTest.completeTest();
|
| }
|
| }
|
|
|