diff --git a/package.json b/package.json index c33a84b508..db06aea35a 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,7 @@ "nodeunit": "~0.8.0", "optimist": "*", "urlmaster": ">=0.2.15", - "http-browserify": "git://github.com/kumavis/http-browserify.git#dc84f15eb15c58505c0dea29de7ee64ff56dfe4f", - "browserify": "~3.24.1", + "browserify": "^5.9.1", "q": "^1.0.1", "wd": "^0.2.21", "selenium-standalone": "^2.42.0-2.9.0", @@ -83,7 +82,6 @@ "canvas": false, "contextify": "./lib/jsdom/contextify-shim.js", "cssstyle": "./node_modules/cssstyle-browserify/lib/CSSStyleDeclaration.js", - "http": "./node_modules/http-browserify/index.js", "request": "./node_modules/browser-request/index.js" }, "scripts": { diff --git a/test/worker.js b/test/worker.js index a365315610..29c597fc8d 100644 --- a/test/worker.js +++ b/test/worker.js @@ -1,3 +1,5 @@ +global.window = global; + function postConsole(level) { var message = Array.prototype.slice.call(arguments, 1); postMessage({