Firefox 4b7 "can't instantiate JS Player"

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
hvjunk
Posts: 11
Joined: Mon Feb 08, 2010 7:25 am

Firefox 4b7 "can't instantiate JS Player"

Post by hvjunk » Thu Nov 11, 2010 7:00 pm

Anybody else having this problem?

MacOSX 10.6.4 (About to got th 10.6.5 upgrade)
FF 4.0b7
iMacros 7.0.2.2

-------------------------------
:arrow: Update: Scroll down to last posts on second page for workaround
jbwocky
Posts: 24
Joined: Fri Aug 28, 2009 7:36 am

Re: Firefox 4b7 "can't instantiate JS Player"

Post by jbwocky » Thu Nov 11, 2010 8:50 pm

Hi,

I'm having the same problem. Must be a compatibility issue with the new javascript engine. Looking forward to a fix!
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Tech Support » Fri Nov 12, 2010 10:09 am

We confirmed this issue. I will update this thread once a fix is available. We need to debug first to see how tricky or easy a solution is.

Please note that normal macro replay is not affected, "only" the use of the Javascript scripting interface.
ed2010
Posts: 5
Joined: Fri Dec 03, 2010 1:25 pm

Re: Firefox 4b7 "can't instantiate JS Player"

Post by ed2010 » Fri Dec 03, 2010 1:33 pm

Issue still exists using iMacros 7.0.3.0, for both:
- Firefox 4.0 beta 7
- Latest Minefield [Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101202 Firefox/4.0b8pre]

In case it helps, I've tracked down the regression ranges for this issue, using both the mozilla-central branch and the tracemonkey branch.

By cross-referencing between the two, it should be fairly easy to find the common changeset, which hopefully may speed up the diagnosis.

Mozilla-central:
- Last good nightly: 2010-10-31
- First bad nightly: 2010-11-01
- Pushlog: http://hg.mozilla.org/mozilla-central/p ... ea6992e1c6

Tracemonkey:
- Last good nightly: 2010-10-30
- First bad nightly: 2010-10-31
- Pushlog: http://hg.mozilla.org/tracemonkey/pushl ... f6608b2871

Also, given that I was under the impression that the new Jaegermonkey JS engine was responsible for this breakage, I was surprised to find that setting:
javascript.options.methodjit.content = false
...ie: turning off the new Jaegermonkey JS features, didn't solve the problem.

So therefore the breakage is either due to other unrelated JS engine optimisations - or else an unintentional change to non method-jit code, when Jaegermonkey was merged.

Hope that helps - and looking forwards to a fix so I can finally use iMacros in Minefield/the latest Fx4.0 betas again.

Thanks,

Ed
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Tech Support » Fri Dec 03, 2010 1:47 pm

Thanks a lot for this information.

We are currently working hard to release the Scripting Interface update for Firefox, and once that is out we will take care of this issue. Hopefully we get both done next week.
ed2010
Posts: 5
Joined: Fri Dec 03, 2010 1:25 pm

Re: Firefox 4b7 "can't instantiate JS Player"

Post by ed2010 » Sat Dec 18, 2010 7:18 pm

Any news on this?

Thanks :-)
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Tech Support » Sat Dec 18, 2010 7:21 pm

Sorry, we are still busy putting the final touches on the new Firefox scripting interface. But we do our best to release a new iMacros for Firefox update this year.
Boost
Posts: 9
Joined: Thu Dec 30, 2010 12:51 pm

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Boost » Thu Dec 30, 2010 1:29 pm

Do you have an update on this issue ?
The year is about to come to an end :D
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Tech Support » Thu Dec 30, 2010 9:37 pm

We now target January 2011 for this. The Scripting Interface rewrite debugging it taken more time than planned, but we want the new release to be good and stable.

Are you (or anybody else reading this) a Javascript developer? iMacros for Firefox is open-source, and we welcome external contributions :D
Boost
Posts: 9
Joined: Thu Dec 30, 2010 12:51 pm

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Boost » Thu Jan 20, 2011 2:09 pm

I hope you are in good progress for the next version ?
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Tech Support » Thu Jan 20, 2011 8:10 pm

We investigated the issue further and it seems there are still problems with the Firefox 4 debug API. iMacros uses the debug API for the step-by-step Javascript execution.

As you can see, even the well-known Firebug extension is not available for Firefox 4 yet! We suspect that is for the same reason: Issues with the debug API. Thus we need to wait until Firebug is available for Firefox 4. Once that extension works, it will be much easier for us to adapt iMacros.
ed2010
Posts: 5
Joined: Fri Dec 03, 2010 1:25 pm

Re: Firefox 4b7 "can't instantiate JS Player"

Post by ed2010 » Thu Jan 20, 2011 8:39 pm

But Firebug is available for Firefox 4! (You have to use the 1.7 alpha range)
http://getfirebug.com/

Firefox 4 final is being to be released in 4-8 weeks - and if it is left until then to sort something out, it will be ages before there is a working iMacros plugin for it.

Just my opinion, given that iMacros is free and so I really don't have any right to demand anything - but I really think iMacros is missing an opportunity to at least get a beta out there to work out the issues...
User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Tech Support » Fri Jan 21, 2011 10:22 am

ed2010, thanks for pointing out the latest Firebug version. But even this version only works since about a week and only with the latest nightly build. Still, if they got it to work with the upcoming beta 10, that means that we should be able to get the Javascript scripting to work in Firefox 4 Beta 10 as well.

But just to clarify: The lastest iMacros for Firefox beta version supports Firefox 4 - the "only" item missing is the Javascript scripting interface.
Boost
Posts: 9
Joined: Thu Dec 30, 2010 12:51 pm

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Boost » Tue Feb 01, 2011 4:49 pm

Was really exited when I saw the new version announcement on email.
But only to find out this is not fixed :cry:

I will again wait for a new version, and hope you have it fixed soon.
However keep up the good work as I still use the normal automation :D
Boost
Posts: 9
Joined: Thu Dec 30, 2010 12:51 pm

Re: Firefox 4b7 "can't instantiate JS Player"

Post by Boost » Thu Feb 17, 2011 1:16 pm

This works fine now on my Windows 7 x64 PC with Firefox 4 beta 11, but on my Windows XP PC, I still get "can't instantiate JS Player"
Any way, Im happy now, because its the Win7 machine I use most :D
Post Reply