| Index: third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-7-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-7-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-7-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..761105b57b7100a429325253b4aa539780de4d4c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-7-expected.txt
|
| @@ -0,0 +1,46 @@
|
| +Verifies JavaScript pretty-printing functionality.
|
| +
|
| +
|
| +Running: semicolonAfterFunctionExpression
|
| +====== 8< ------
|
| +var onClick = function() {
|
| + console.log('click!');
|
| +};
|
| +console.log('done');
|
| +
|
| +------ >8 ======
|
| +Correct mapping for <onClick>
|
| +Correct mapping for <function>
|
| +Correct mapping for <console>
|
| +Correct mapping for <log>
|
| +Correct mapping for <click!>
|
| +Correct mapping for <done>
|
| +
|
| +Running: semicolonAfterMultipleFunctionExpressions
|
| +====== 8< ------
|
| +var onStart = function() {
|
| + a();
|
| +}
|
| + , onFinish = function() {
|
| + b();
|
| +};
|
| +
|
| +------ >8 ======
|
| +Correct mapping for <onStart>
|
| +Correct mapping for <onFinish>
|
| +Correct mapping for <a()>
|
| +Correct mapping for <b()>
|
| +
|
| +Running: semicolonAfterEmptyFunctionExpressions
|
| +====== 8< ------
|
| +var onStart = function() {}
|
| + , delay = 1000
|
| + , belay = document.activeElement;
|
| +
|
| +------ >8 ======
|
| +Correct mapping for <onStart>
|
| +Correct mapping for <delay>
|
| +Correct mapping for <1000>
|
| +Correct mapping for <belay>
|
| +Correct mapping for <activeElement>
|
| +
|
|
|