reds...@gmail.com
unread,Jul 15, 2016, 4:20:29 AM7/15/16You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
I need to use the Spidermonkey as an embedded JS engine in a C++ project. However, I need some browser functionalities like supporting XHR, DOM and some HTML5 features such as websocket. As it says on the Spidermonkey's webpage, it doesn't support these matters and they are handled by other Firefox's components.
I have tested some simulation libraries like domjs and env.js, but, due to those are NodeJS libraries, aren't appropriate for such this project.
I was wondering if there is any other library, or manner to solve this problem and have browser environment in the Spidermonkey, or I have to write a library for this purpose?
Meantime, I need to manipulate some JS functionalities. For instance, capture all network communications, including XHR, Websockets , etc. and or hock all some especial functions call. Can I use different part of Mozilla for example DOM parser in my application?
Thanks in advance