     if error
       browser.emit("error", error)
     else
-      if url
-        history.updateLocation(window, url)
       browser.emit("loaded", document)
 
   method = (method || "GET").toUpperCase()

          return

        window._response = response
        # JSDOM fires load event on document but not on window
        windowLoaded = (event)->
          document.removeEventListener("load", windowLoaded)

#
createDocument  = require("./document")
EventSource     = require("eventsource")
History         = require("./history")
