Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navigating to an invalid URL breaks the repl #1231

Open
shawwn opened this issue Jun 26, 2019 · 0 comments
Open

navigating to an invalid URL breaks the repl #1231

shawwn opened this issue Jun 26, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@shawwn
Copy link
Contributor

shawwn commented Jun 26, 2019

$ node .
[x] window.location.href = 'https://fnkwejralkjfdnklsjrelwkejrkj.com'
Thrown:
{ Error: cancel request: window destroyed
    at WorkerVm.window.destroy.destroy (/Users/emily/exokit-june/src/WindowVm.js:208:19)
    at WorkerVm.window.on (/Users/emily/exokit-june/src/WindowVm.js:183:12)
    at WorkerVm.emit (events.js:193:13)
    at WorkerVm.EventEmitter.emit (domain.js:481:20)
    at Worker._message (/Users/emily/exokit-june/src/WindowVm.js:39:16)
    at Worker.emit (events.js:193:13)
    at Worker.EventEmitter.emit (domain.js:481:20)
    at MessagePort.Worker.(anonymous function).on (internal/worker.js:114:55)
    at MessagePort.emit (events.js:193:13)
    at MessagePort.EventEmitter.emit (domain.js:481:20) code: 'ECANCEL' }
[x] FetchError: request to https://fnkwejralkjfdnklsjrelwkejrkj.com/ failed, reason: getaddrinfo ENOTFOUND fnkwejralkjfdnklsjrelwkejrkj.com fnkwejralkjfdnklsjrelwkejrkj.com:443
    at ClientRequest.<anonymous> (/Users/emily/exokit-june/node_modules/window-fetch/lib/index.js:1292:16)
    at ClientRequest.emit (events.js:193:13)
    at ClientRequest.EventEmitter.emit (domain.js:481:20)
    at TLSSocket.socketErrorListener (_http_client.js:397:9)
    at TLSSocket.emit (events.js:193:13)
    at TLSSocket.EventEmitter.emit (domain.js:481:20)
    at emitErrorNT (internal/streams/destroy.js:91:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
    at processTicksAndRejections (internal/process/task_queues.js:81:17)
[x] 21
Thrown:
TypeError: Cannot read property 'runRepl' of null
    at REPLServer.replEval (/Users/emily/exokit-june/src/index.js:1550:31)
    at bound (domain.js:425:14)
    at REPLServer.runBound [as eval] (domain.js:438:12)
    at REPLServer.onLine (repl.js:650:10)
    at REPLServer.emit (events.js:193:13)
    at REPLServer.EventEmitter.emit (domain.js:481:20)
    at REPLServer.Interface._onLine (readline.js:308:10)
    at REPLServer.Interface._line (readline.js:675:8)
    at REPLServer.Interface._ttyWrite (readline.js:954:14)
    at REPLServer.self._ttyWrite (repl.js:727:7)
[x] 33
Thrown:
TypeError: Cannot read property 'runRepl' of null
    at REPLServer.replEval (/Users/emily/exokit-june/src/index.js:1550:31)
    at bound (domain.js:425:14)
    at REPLServer.runBound [as eval] (domain.js:438:12)
    at REPLServer.onLine (repl.js:650:10)
    at REPLServer.emit (events.js:193:13)
    at REPLServer.EventEmitter.emit (domain.js:481:20)
    at REPLServer.Interface._onLine (readline.js:308:10)
    at REPLServer.Interface._line (readline.js:675:8)
    at REPLServer.Interface._ttyWrite (readline.js:954:14)
    at REPLServer.self._ttyWrite (repl.js:727:7)
[x] 

@avaer avaer added the bug Something isn't working label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants