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

window.location.href = 'some-valid-url' works, but then window.location.href = 'other-valid-url' breaks exokit's REPL #1233

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

Comments

@shawwn
Copy link
Contributor

shawwn commented Jun 26, 2019

To Reproduce
Steps or commands ran to reproduce the behavior:

$ node .
[x] window.location.href = 'https://ga-nksuawgghv.now.sh/'
... snip ...
[x] window.location.href = 'https://ga-ixedatnjya.now.sh/'
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] 44
55
66
77
the repl seems to be broken now
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant