Skip Menu |

This queue is for tickets about the Test-WWW-Selenium CPAN distribution.

Report information
The Basics
Id: 67278
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Test-WWW-Selenium

People
Owner: Nobody in particular
Requestors: dragonfax [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.24
Fixed in: (no value)



Subject: garbage collection of selenium clears $@
example code speaks for itself. eval { my $selenium = WWW::Selenium->new( host => "localhost", port => 4444, browser => "*firefox", browser_url => 'http://www.google.com' ); $selenium->start; die("something"); # doesn't get this far (naturally) }; # here $@ is undef, what happened to my error?
Subject: Re: [rt.cpan.org #67278] garbage collection of selenium clears $@
Date: Wed, 6 Apr 2011 12:49:30 -0700
To: bug-Test-WWW-Selenium [...] rt.cpan.org
From: Luke Closs <lukecloss [...] gmail.com>
Thanks for the bug report. The code is here if you would like to suggest a patch for the next release: https://github.com/lukec/cpan-selenium-rc-perl Luke On Wed, Apr 6, 2011 at 12:43 PM, Jason Stillwell via RT < bug-Test-WWW-Selenium@rt.cpan.org> wrote: Show quoted text
> Wed Apr 06 15:43:08 2011: Request 67278 was acted upon. > Transaction: Ticket created by dragonfax > Queue: Test-WWW-Selenium > Subject: garbage collection of selenium clears $@ > Broken in: 1.24 > Severity: Normal > Owner: Nobody > Requestors: dragonfax@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67278 > > > > example code speaks for itself. > > eval { > > my $selenium = > WWW::Selenium->new( > host => "localhost", > port => 4444, > browser => "*firefox", > browser_url => 'http://www.google.com' > ); > $selenium->start; > > die("something"); > > # doesn't get this far (naturally) > > }; > # here $@ is undef, what happened to my error? > >
From: dragonfax [...] gmail.com
I forgot to mention that this was in cygwin, on windows xp.
Fixed in https://github.com/lukec/cpan-selenium-rc- perl/commit/a4eae0d9244c64b43152a5d4456b2b67ee23136f This will go out in the next release - 1.25.