DOM for use with SpiderMonkey?

I am trying to use the GoogleMaps JavaScript library from inside SpiderMonkey using the python shell, but I cannot due to lack of DOM.

Is there any way to integrate the DOM into this so that I can get this to work?

+3
source share
1 answer

env.js implements the DOM. I know that it works, at least in SpiderMonkey and Rhino, but SpiderMonkey can have problems with things like XMLHttpRequest.

+4
source

Source: https://habr.com/ru/post/1726279/


All Articles