Difference between revisions of "Mozilla.dev.tech.js-engine"

From CDOT Wiki
Jump to: navigation, search
m ([http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/e63503323499ba10 Can an embedded SpiderMonkey JS Engine use DOMParser extension of Mozilla])
(FAQ)
Line 24: Line 24:
 
=== [http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/9a2c9872a3e5c94e Can I call functions in Mozilla extensions from web page?] ===
 
=== [http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/9a2c9872a3e5c94e Can I call functions in Mozilla extensions from web page?] ===
 
No, accessing anything in the web page's script may lead to security problems.
 
No, accessing anything in the web page's script may lead to security problems.
 
=== Is there a specific issue with ActiveX and Instance Handling I am not aware of? What could I do to get it working, any ref material or hints? ===
 
 
A: No awnsers as of yet
 
 
=== Firefox does not ignore screenX (Y) parameters like IE does. By adding menuwd.moveTo(posX, posY); flicker is added to the screen. Is there any way to solve this? ===
 
 
A: No awnsers as of yet
 
  
 
=== [http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/c59a6b91bd072c1e Newly created threads in JS from MOZILLA_1_8_BRANCH causes to hang in Windows] ===
 
=== [http://groups.google.com/group/mozilla.dev.tech.js-engine/browse_frm/thread/c59a6b91bd072c1e Newly created threads in JS from MOZILLA_1_8_BRANCH causes to hang in Windows] ===

Revision as of 12:57, 8 October 2006

Newsgroup

JS-Engine on Google groups

JavaScript on MDC

Authors

  • Dejan Tolj
  • David Bertenshaw

Weekly Summaries

FAQ

How long are private pointers?

2-byte aligned check the JSVAL macros at the top of jsapi.h

Can I call functions in Mozilla extensions from web page?

No, accessing anything in the web page's script may lead to security problems.

Newly created threads in JS from MOZILLA_1_8_BRANCH causes to hang in Windows

This Patch should fix the problem.

After that, recompile JS and define JS_USE_ONLY_NSPR_LOCKS in the build.

How to determine Rhino version programatically?

You can call getImplementationVersion() on a Context instance and it gives you a string

eg. Rhino 1.6 release 2 2005 09 19

Can an embedded SpiderMonkey JS Engine use DOMParser extension of Mozilla?

DOMParser is not part of JS but part of Mozilla browser which makes it available to script in the browser using XPConnect. An alternative would be to use built-in E4X.