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: "**" } }); |
} |
]); |