| Index: LayoutTests/inspector/sources/pretty-print-javascript-6.html
|
| diff --git a/LayoutTests/inspector/sources/pretty-print-javascript-6.html b/LayoutTests/inspector/sources/pretty-print-javascript-6.html
|
| index a5b3b125d810097c86c5af9fbc5c2d7921fd96a6..29237ce7642c0d7b91293edfca8a2ff31f63bc3c 100644
|
| --- a/LayoutTests/inspector/sources/pretty-print-javascript-6.html
|
| +++ b/LayoutTests/inspector/sources/pretty-print-javascript-6.html
|
| @@ -40,6 +40,12 @@ function test()
|
| {
|
| var mappingQueries = ["for", "person", "name", "}"];
|
| testJSFormatter("for(var i=0;i<names.length;++i){let name=names[i];let person=persons[i];}", mappingQueries, next);
|
| + },
|
| +
|
| + function anonimousFunctionAsParameter(next)
|
| + {
|
| + var mappingQueries = ["setTimeout", "function", "alert", "2000"];
|
| + testJSFormatter("setTimeout(function(){alert(1);},2000);", mappingQueries, next);
|
| }
|
| ]);
|
| }
|
|
|