<head>
<script src="resources/profiler-test-JS-resources.js"></script>
<script>
-if (window.layoutTestController) {
+if (window.layoutTestController)
layoutTestController.dumpAsText();
- layoutTestController.setJavaScriptProfilingEnabled(true);
-}
+if (window.internals)
+ internals.settings.setJavaScriptProfilingEnabled(true);
function startTest()
{