| Index: third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-classes.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-classes.html b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-classes.html
|
| index fa9104b0cc9ea8551e306d758fafbbc2ffe07a80..d0e01f90587aca06885899384bed5e24808e2a38 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-classes.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-classes.html
|
| @@ -46,7 +46,13 @@ function test()
|
| {
|
| var mappingQueries = ["Employer", "static", "1", "return"];
|
| testJSFormatter("class Employer{static count(){this._counter = (this._counter || 0) + 1; return this._counter;}}", mappingQueries, next);
|
| - }
|
| + },
|
| +
|
| + function classExpression(next)
|
| + {
|
| + var mappingQueries = ["new", "class", "constructor", "debugger"];
|
| + testJSFormatter("new(class{constructor(){debugger}})", mappingQueries, next);
|
| + },
|
| ]);
|
| }
|
|
|
|
|