joe ertaba wrote:
I want to use *eval *to run JavaScript commands dynamically

It works fine but I cant figure out _error line number_ with it.

it seems that it is possible to improve error handling using @mozilla.org/js/jsd/debugger-service;1 <http://mozilla.org/js/jsd/debugger-service;1>

Can any body help how to use this to execute js dynamically also handling errors, an example would be appreciated

I don't have an answer to this: I just wanted to point out that no extension should run "eval" on user-entered code.

Matthew
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to