Timothy Gu

Results 227 comments of Timothy Gu

Without looking at existing engine code, the algorithm I’ve been following is that of Aubrey Jaffer’s (https://arxiv.org/abs/1310.8121), which does rely on BigInt.

A better workaround is to let the event loop take a breather after a while. This works: ```js const util = require('util'); const { JSDOM } = require('jsdom'); const waitImmediate...

@kyle-belle Running the garbage collector won't fix the problem, because this is not a memory leak. As people have pointed out before, this is due to the JSDOM constructor deferring...

One easy way we could make `process.nextTick` not retain the Window object is to wrap `window` in a WeakRef: https://github.com/jsdom/jsdom/blob/158ada2b212a39bfc28b78202d06cf138f93a5a3/lib/jsdom/browser/Window.js#L904 The only catch is that WeakRef is only available in...

Documentation update in #82.

I’d be happy to receive comments in any way, including GitHub issues on the repository itself as well as this thread. Please let me know!

@littledan I would much prefer if we could move it into a repository on its own. This is due to two reasons: 1. Right now, the documentation has a lot...

I can confirm this as well. Typing "q" instead of "space" results in the same error.

What's the behavior on Unix-like OSes? Do they use C locales to decide what encoding/code page to use? Considering dlfcn-win32 is intended to be a emulation layer between Win32 and...

This is the same issue as #18.