in reply to WWW::Mechanize::Firefox malformed JSON error?

There are some issues where I haven't tracked down the cause. It seems to be that mozrepl sends more output than expected in some situations. There is discussion on the bugtracker, and a likely approach will be to write what mozrepl calls a "custom interactor".
  • Comment on Re: WWW::Mechanize::Firefox malformed JSON error?

Replies are listed 'Best First'.
Re^2: WWW::Mechanize::Firefox malformed JSON error?
by trystwithperl (Initiate) on Nov 25, 2011 at 06:05 UTC
    Hi, Any updates on this? Will upgrading MozRepl or Mechanize::Firefox fix this issue? We're getting this for a lot more pages we're trying to process. Is there a way to work around this error that allows to go ahead and work with the partially loaded page? Regards

      You could try with a recent version of MozRepl::RemoteObject and a recent version of <c>mozrepl

      , as they are both more UTF-8-safe nowadays.

      Please note that unless you supply a test case it is highly unlikely that I will work on an issue. If I can't reproduce something, I cannot tell whether any change fixes it.