For questions related to JavaScript engine development. If you are simply referring to issues with JavaScript code, use the [javascript] tag instead.
Questions tagged [javascript-engine]
171 questions
1
vote
1 answer
A Windows application which uses Rhino JavaScript engine?
Is there a Windows application and a solution which is an IDE, and can execute the JavaScript sources, as if it is in Mozilla Firefox, meaning that it uses Rhino JavaScript Engine.
Except Mozilla Console, FireBug console, etc.
user1386320
1
vote
2 answers
Can spidermonkey be compiled without math support?
My libm does not have sin and cos functions.
Is there a configuration switch that enables me to compile spidermonkey without the Math.* function of JavaScript?
Regards

Stasik
- 2,568
- 1
- 25
- 44
1
vote
1 answer
Can ScriptEngineManager give me the name of the Javascript function it has just compiled in Java
How do I find out the name of a javascript function parsed in Java.
I allow a user to type in a Javascript function (in a JTextArea), then I use ScriptEngineManager to confirm it is valid syntax as follows:
public final boolean…

Paul Taylor
- 13,411
- 42
- 184
- 351
1
vote
3 answers
Javascript Processing in browser
Possible Duplicate:
How does a JavaScript parser work?
How do browsers compile Javascript scripts? What type of compiler it used?

The System Restart
- 2,873
- 19
- 28
0
votes
1 answer
Same origin policy implementation in Google Chrome
I would like to know how and in which code module the Same Origin Policy for JavaScript is implemented in Google Chrome (V8). In Mozilla Firefox, the JS Engine (SpiderMonkey) has the provision of registering callback functions that implement the…

Anton
- 153
- 2
- 12
0
votes
1 answer
Which JavaScript 2d engine for vertical scrolling game?
I need/want/have to write a simple game. It's basically about a person being dropped at great height, then falling and then he must avoid obstacles and shoot enemies.
I'm not yet quite sure whether the level will be designed with an end or endless…

nocksock
- 5,369
- 6
- 38
- 63
0
votes
0 answers
How the javascript engine interact with web api
I am trying to understand some details that happen behind the scene when the web page start loading
and there a point that i can not find a satisfying answer to it
When the web page start loading the browser will then create dom tree that…

just study
- 1
- 2
0
votes
1 answer
How to disable Javascript debugging in NetBeans when using ScriptEngine?
Development environment is netbeans, java application, which runs javascript thru ScriptEngine in GraalVM.
When using debug mode, it automatically force a debug session with Chrome when scriptengine starts.
console shows: Debugger listening on…

Kelvin Cambridge
- 53
- 1
- 4
0
votes
0 answers
ScriptEngineManager() from javax library returns NULL (eclipse)
When my piece of code below runs on Eclipse on both on Mac and Win8 (both are with Open JDK-17.0.2) below I get the java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.eval(String)" because "engine" is null, while on Visual…

Alex
- 1
0
votes
0 answers
How typed array stores numbers in javascript
If I understood correctly, every number in javascript is 64-bit (i64)?
Does that mean that new Uint8Array([num]) uses less memory than just num?

aleksymous
- 1
- 1
- 1
0
votes
1 answer
What's the relation between the renderer process and a JavaScript engine?
I'm learning about how a browser works and so far I've learned that browsers have a process called the renderer.
Part of the job of this process is to parse and run a JavaScript code when it finds one.
If that's the case, then where's the…

Od Chan
- 68
- 8
0
votes
1 answer
Does complexity depend on the size of numbers in JS engine?
Does it matter how big numbers to calculate in JavaScript Engine, especially V8 in NodeJS?
The applicable example: I'm calculating in loops time date variables in milliseconds and have some time variables in minutes. I have doubts should I convert…

kosiakMD
- 923
- 7
- 22
0
votes
0 answers
The javascript engine of htmlunit can't load the generated page with these settings
I am trying to get content of script-generated web page but unfortunately HtmlUnit doesn't seem to work properly. I think the problem is with the class trying to wrap the script.
Snippet of code:
…

gutey
- 56
- 6
0
votes
1 answer
Unity + ClearScript - Importing DLL
I'm trying to use ClearScript in Unity, but fail because Unity does not see the DLL.
To be sure, I cloned the project and had the DLLs built. I did this using the instructions from ClearScript.
The goal is to use the DLL on HoloLens, which in turn…

Perazim
- 1,501
- 3
- 19
- 42
0
votes
1 answer
Execution of Regular function and Arrow function
I am trying to build this 2d-breakout game https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript I tried to replace some function with arrow function.
document.addEventListener("keydown", keyDownHandler,…

gmous
- 13
- 2