Subject: | Test failures (incorrect case in local URLs, IE7 "security" problems) |
1) I get
t\image-parse....NOK 9# Failed test (t\image-parse.t at line 38)
# got: 'file:///D:/Perl/.cpan/build/Win32-IE-Mechanize-
0.009/t/wango.jpg'
# expected: 'file:///D:/perl/.cpan/build/Win32-IE-Mechanize-
0.009/t/wango.jpg'
t\image-parse....NOK 12# Failed test (t\image-parse.t at line 44)
# got: 'file:///D:/Perl/.cpan/build/Win32-IE-Mechanize-
0.009/t/bongo.gif'
# expected: 'file:///D:/perl/.cpan/build/Win32-IE-Mechanize-
0.009/t/bongo.gif'
# Looks like you failed 2 tests of 20.
when running the 'nmake test'. I guess the test did not expect the
folder to be named Perl instead of perl. I changed line 48 of t/02ct.t
to
is lc($ie->uri), lc($ouri), "back to $ouri";
and line 35 of t/basic.t to
is lc($ie->uri), lc($f_uri), "new uri $f_uri";
I believe this is safe, the Windows filesystem is case insensitive
anyway.
2) The stupid IE7 refuses to allow the jstest.html to redirect to
jstestok.html. If I open the jstest.html myself I get "To help protect
your security, Internet Explorer has restricted this webpage from
running scripts or ActiveX controls that could access your computer.
Click here for options...". I did not find a way to explain to that
braindead browser that it already is accessing something on my
computer :-(
I don't have a solution to this.