Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: RemoteObject.pm fails in open firefox8.0

by spazm (Monk)
on Oct 26, 2011 at 09:41 UTC ( [id://933840]=note: print w/replies, xml ) Need Help??


in reply to RemoteObject.pm fails in open firefox8.0

At a minimum, you're missing a dash between Firefox and >new. Let's assume that was introduced while typing into the perlmonk form. I don't have Firefox installed, so I can't help further.

$ffpath='C:\\Program Files\\Mozilla Firefox\\firefox.exe'; $mech = WWW::Mechanize::Firefox->new( tab =>'current', activate =>1, launch =>$ffpath ); $mech->get('about:blank');

The CHANGES file for MozRepl::RemoteObject lists Firefox 7 Beta 5 as the most recent browser tested.

    + The module is now tested with
        Firefox 3.0.9
        Firefox 3.5.x
        Firefox 4.0.1
        Firefox 5
        Firefox 6.0.1
        Firefox 7 Beta 5

Replies are listed 'Best First'.
Re^2: RemoteObject.pm fails in open firefox8.0
by seven_shen (Acolyte) on Oct 26, 2011 at 09:51 UTC

    Yes, the latest firefox 8.0 was not in test list. But how to fix this?

      1. view the source. Line 522. Do you see a likely path to fixing it? If so then move on to
      2. Check the Repository section of the documentation for a pointer to the best way to download the source.
      3. Check the repo to see if there are newer changes that haven't been pushed. (there aren't).
      4. clone the sources from github: http://github.com/Corion/mozrepl-remoteobject, patch and push back to author.
      git clone http://github.com/Corion/mozrepl-remoteobject cd mozrepl-remoteobject make test # make changes # ...
      apologies if I've gone in to too little or too much detail.

      It looks like the test uses MozRepl::Plugin::JSON2 and sends a unicode string through the pipeline to see if it comes out cleanly. It doesn't. So either the problem is in MozRepl::Plugin::JSON2, firefox 8 or MozRepl::RemoteObject.

      Edit: I almost forgot to suggest Write a bug report. Since the author doesn't mention his rt.cpan queue in the documentation, I'd suggest creating a new issue in the github issue tracker for the repository.

      The next option is to write a nice note to the author and inquire as to the status of Firefox8 support.

      Dear $authorname,

      I am a fan of your module $module. I use it to solve $my_use_case.

      I see in the Changes file that Firefox8 is not listed as a currently tested browser. Is FF8 on the roadmap? How can I help test and move this feature forward?

      Thank you again for your awesome module.

      sincerely,
      $yourname

      You could also disable that safety check and see if it runs otherwise and make sure to use all 7-bit clean ascii. If you go this route, you'll be uncharted territory and responsible if things Just Don't Work(tm).

      Have fun!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://933840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2024-04-24 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found