Index: third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-5-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-5-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-5-expected.txt |
index 974b74156b1089569ce365ef633d15c968ed1aca..032976e2790f5e4b6c64a62a4f3f95b9fb76b20e 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-5-expected.txt |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-5-expected.txt |
@@ -31,17 +31,13 @@ Correct mapping for <hasNew> |
Running: complexScriptFormatting |
====== 8< ------ |
-function formatted1() |
-{ |
+function formatted1() { |
var variable1 = 0; |
} |
- |
-function withComments() |
-{ |
+function withComments() { |
// comment |
return "functionWithComments"; |
} |
- |
try { |
onmessage = function(event) { |
var source = event.data; |
@@ -55,8 +51,7 @@ try { |
; |
function beautify(source) { |
var ast = parse.parse(source); |
- var beautifyOptions = |
- { |
+ var beautifyOptions = { |
indent_level: 4, |
indent_start: 0, |
quote_keys: false, |
@@ -71,8 +66,7 @@ try { |
}; |
var lastPosition = 0; |
var regexp = /(^|[^\\])\b((?=\D)[\$\.\w]+)\b/g; |
- while (true) |
- { |
+ while (true) { |
var match = regexp.exec(formattedSource); |
if (!match) |
break; |
@@ -95,9 +89,7 @@ try { |
importScripts("UglifyJS/process.js"); |
var process = exports; |
} catch (e) {} |
- |
-function formatted2() |
-{ |
+function formatted2() { |
var variable2 = 0; |
} |