linkedom
linkedom copied to clipboard
RangeError: Maximum call stack size exceeded
I am consistently encountering a RangeError: Maximum call stack size exceeded error when parsing HTML that includes canvas tags, and it seems to be related specifically to these tags.
version: 0.1.34
env: browser
test code:
(new DOMParser).parseFromString(`
<!doctype html>
<html lang="en">
<head>
<title>fake dom</title>
</head>
<body>
<canvas></canvas>
</body>
</html>
`, 'text/html');
we are at 0.18.4 ... you are a tad behind ...