www-mechanize-firefox icon indicating copy to clipboard operation
www-mechanize-firefox copied to clipboard

get with content_file hangs forever in master

Open cgaspar opened this issue 9 years ago • 2 comments

Firefox 40.0.3, MacOS 10.10.5, MozRepl-0.06 perl module, MozRepl::RemoteObject 0.39, MozRepl 1.1.2.1-signed plugin

use WWW::Mechanize::Firefox;

my $ua = WWW::Mechanize::Firefox->new( repl => '127.0.0.1:42042' ) || die;

my $resp = $ua->get('http://www.example.com/', ':content_file' => '/tmp/example.html'); print STDOUT "get returned $resp->code()\n";

The file is downloaded, but the get method never returns - it just keeps busy waiting forever.

cgaspar avatar Sep 08 '15 22:09 cgaspar