0

Previously I used to load opal.js, opal-parser.js, opal-jquery.js(version 0.3x). Now I added gem opal and opal-rails(version 0.6.2) instead of js files.

Previously my whole test suit(capybara + rspec) used to passed but after update capybara specs start failing. Sometime it behave wired(i.e passed in firefox but fail in chrome).

One of the example error is

unknown error: Runtime.evaluate threw exception: RangeError: Maximum call stack size exceeded

It is said that there is compatibility issue with opal and rspec.

I will be grateful if someone help me fixing this issue.

cmthakur
  • 2,266
  • 4
  • 18
  • 23
  • This might be helpful: http://stackoverflow.com/questions/6095530/maximum-call-stack-size-exceeded-error Did you accidentally import the same JS file twice? – userden Oct 07 '14 at 10:24
  • Sorry, but there are no duplicate import – cmthakur Oct 07 '14 at 10:28

1 Answers1

0

I thinks its a known bug in the chrome webdriver:

https://code.google.com/p/chromedriver/issues/detail?id=683

Elia Schito
  • 989
  • 7
  • 18