Waterfox can't execute javascript as expected

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
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
Post Reply
rapieragnay
Posts: 11
Joined: Sun Jan 24, 2021 11:06 am

Waterfox can't execute javascript as expected

Post by rapieragnay » Tue Feb 02, 2021 1:45 am

Hi all,

As adviced by thecoder2012, I installed Waterfox.
So here is my configuration :
OS X 10.11
Waterfox Classic 2021.01.1 (64-bit)
iMacros 8.9.7 :P

I have script that worked fine with my FF 52, but when I tried to launch one of them into Waterfox, I got errors :

Code: Select all

var window          = wm.getMostRecentWindow("navigator:browser");
src_html = window.document.querySelector("body").innerHTML;  
Error: unsafe CPOW usage forbidden, line 55
This one was fixed by :
about:config
dom.ipc.cpows.forbid-unsafe-from-browser -> set to false


But this one is blocking :

Code: Select all

alert('hello world');
Error: cross-process JS call failed, line 65 (Error code: -991)
Strangely, I got the same error with a pure .iim macro :

Code: Select all

TAG POS=1 TYPE=BUTTON FORM=ID:Profile ATTR=TXT:Submit
The fact is Waterfox executes the code, and throws an error just after.

Any ideas please ?
User avatar
thecoder2012
Posts: 427
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: Waterfox can't execute javascript as expected

Post by thecoder2012 » Tue Feb 02, 2021 9:46 am

rapieragnay wrote:
Tue Feb 02, 2021 1:45 am
As adviced by thecoder2012, I installed Waterfox.
So here is my configuration :
OS X 10.11
Waterfox Classic 2021.01.1 (64-bit)
iMacros 8.9.7 :P
I have never tested it under Mac.
rapieragnay wrote:
Tue Feb 02, 2021 1:45 am
But this one is blocking :

Code: Select all

alert('hello world');
Error: cross-process JS call failed, line 65 (Error code: -991)
No error under Windows 8.1 (64-Bit) with Waterfox Classic 2021.01.1 (64-bit) and iMacros 8.9.7
rapieragnay wrote:
Tue Feb 02, 2021 1:45 am
Strangely, I got the same error with a pure .iim macro :

Code: Select all

TAG POS=1 TYPE=BUTTON FORM=ID:Profile ATTR=TXT:Submit
Not testable as one line.
rapieragnay wrote:
Tue Feb 02, 2021 1:45 am
Any ideas please ?
Set browser.tabs.remote.autostart to false under about:config
And set MOZ_FORCE_DISABLE_E10S to 1 as environment variable in your system (or browser start file)
But I'm unsure without a better test script.
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
rapieragnay
Posts: 11
Joined: Sun Jan 24, 2021 11:06 am

Re: Waterfox can't execute javascript as expected

Post by rapieragnay » Fri Feb 05, 2021 2:36 am

Thank you thecoder2012 :)

After restart, it works like a charm. :wink:
Post Reply