Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upError at instanceof SVGElement in WebLayer3D #23012
Comments
|
This is caused by us not implementing the SVGElement DOM interface (since we have no SVG support), so any code using |
|
Right, thanks. I think this is something deep in the Not sure what to do about this. |
|
Ok, for fun, we added
to the app, which stopped these crashes, but now html2canvas is throwing errors because Related to issue #11681 |
|
@blairmacintyre That link no longer exists; is there a better one to use? |
|
https://www.aelatgt.org/three-web-layer/# Moved to more appropriate org |
|
@jdm wondered if this has an update. FWIW, the current version of servo (downloaded just now from nightly builds on the mac) gives both the SVGElement error and |
|
No update yet - there's a student just starting to work on some basic SVG support which may help eventually. |
|
Is the fillText related? We could remove SVGs from this example I think ... |
|
As far as I know, fillText just causes a warning to appear in the terminal but shouldn't interrupt JS execution. |
While trying to run the demo at https://argonjs.github.io/three-web-layer/ on servo for mac, I got a bunch of these errors:
ERROR 2019-03-10T19:42:56Z: script::dom::bindings::error: Error at https://argonjs.github.io/three-web-layer/app.c61986b1.js:5:4695 invalid 'instanceof' operand d(...).SVGElement
@asajeffrey suggested I post an issue.