Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: LayoutTests/inspector/sources/debugger/script-formatter.html

Issue 479033002: DevTools: improve javascript formatter to support "return" properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address @vsevik comments Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/script-formatter-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/sources/debugger/script-formatter.html
diff --git a/LayoutTests/inspector/sources/debugger/script-formatter.html b/LayoutTests/inspector/sources/debugger/script-formatter.html
index c3e3ae2f60c7811e2a74f344c101770fbd3b3b66..e5c5cf19587af69bd1c0d3cf7d507e2bd51d1cf8 100644
--- a/LayoutTests/inspector/sources/debugger/script-formatter.html
+++ b/LayoutTests/inspector/sources/debugger/script-formatter.html
@@ -88,7 +88,7 @@ var test = function()
next();
};
- var content = "<html><body><script>function f(){}<" + "/script><script>function g(){var a;if (a) return;}<" + "/script></body></html>";
+ var content = "<html><body><script>function f(){}<" + "/script><script>function g(){var a;window.return = 10;if (a) return;}<" + "/script></body></html>";
worker.postMessage({ method: "format", params: { mimeType: "text/html", content: content, indentString: "**" } });
}
]);
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/script-formatter-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698