Index: LayoutTests/inspector/sources/debugger/script-extract-outline.html |
diff --git a/LayoutTests/inspector/sources/debugger/script-extract-outline.html b/LayoutTests/inspector/sources/debugger/script-extract-outline.html |
index 420b90374bd4a65b08572f9801cd2087f23c3b8c..b62c83d33bfdcbce0e765162b8a1bfb087b75a94 100644 |
--- a/LayoutTests/inspector/sources/debugger/script-extract-outline.html |
+++ b/LayoutTests/inspector/sources/debugger/script-extract-outline.html |
@@ -7,7 +7,7 @@ |
var test = function() |
{ |
- var worker = Runtime.startWorker("script_formatter_worker"); |
+ var worker = new Worker("script_formatter_worker/ScriptFormatterWorker.js"); |
var parsedScript = "function first(x,y) { }\n var second = function(y \n , \nz) { }\n Object = function(arg) {\n}\n Object.prototype.functionOnPrototype = function ( a, b , \n c, d , \n e , f ) { function innerFunction1() {\n var innerFunction2 = function(arg1,arg2) {} } }"; |
worker.onmessage = InspectorTest.safeWrap(function(event) |