Ticket #2510 (closed bug: worksforme)

Opened 3 years ago

Last modified 2 years ago

Test of PanZoom not ok on FF35 in Vista

Reported by: jorix Owned by:
Priority: minor Milestone: 2.11 Release
Component: tests Version: SVN
Keywords: Cc:
State:

Description

When test Control/PanZoom.html is executed shows on Firefox 3.5.8 into Windows Vista:

test_Control_PanZoom_control_events planned 35 assertions but got 0; fail 0 ok 0

exception: in delay_call: object: wnd.mapper is undefined

in ( ) at http://192.168.1.18/OL/Trac4b/openlayers/tests/Control/PanZoom.html line 68
in ( [object Object],2195) at http://192.168.1.18/OL/Trac4b/openlayers/tests/run-tests.html line 1104
in ( 2162) at http://192.168.1.18/OL/Trac4b/openlayers/tests/run-tests.html line 1015 

In CH4 run ok, in IE8 the "test_Control_PanZoom_control_events" is omited.

SVN Revision Number: 10094

Change History

  Changed 3 years ago by jorix

NOTE: popup windows on FF are allowed, "t.open_window" is executed ok.

follow-up: ↓ 3   Changed 3 years ago by bartvde

I don't have Vista so I cannot check, but using FF 3.6.2 on Windows XP this test runs okay.

in reply to: ↑ 2   Changed 3 years ago by jorix

Replying to bartvde:

I don't have Vista so I cannot check, but using FF 3.6.2 on Windows XP this test runs okay.

To simplify now I use  http://dev.openlayers.org/releases/OpenLayers-2.8/tests/run-tests.html:

Yes on XP with FF3.5.8 and FF3.6.2 runs ok

Control/PanZoom.html: ok 5 (detailed: ok 53)

On Vista Chrome4.1 runs ok and in FF3.6.2(Now I do not have FF35 in Vista) fails:

test_Control_PanZoom_control_events planned 35 assertions but got 1; fail 1 ok 0
   fail unable to open window for url 'Control/PanZoom.html'. timeout expired

but a window has been opened for url 'Control/PanZoom.html' and then closed automatically. The same error as with SVN Revision: 10094 (Safari displays the same error, see OpenLayers-Dev forum)

follow-up: ↓ 5   Changed 3 years ago by ahocevar

This test usually fails on slow machines when Firebug is enabled. This is because the last few tween steps won't be taken into account. This can probably fixed by changing the test, but the test in this case does not indicate that something is wrong with PanZoom.

in reply to: ↑ 4   Changed 3 years ago by jorix

Replying to ahocevar:

This test usually fails on slow machines when Firebug is enabled. This is because the last few tween steps won't be taken into account. This can probably fixed by changing the test, but the test in this case does not indicate that something is wrong with PanZoom.

Of course the control works well, is only test that fails. I have already commented that due in the DEV forum had the same error found in Safari, and bring more arguments for changing the test. (my XP has FireBug and is slower than Vista)

  Changed 2 years ago by jorix

  • status changed from new to closed
  • resolution set to worksforme

In 2.10 works (using FF36)

Note: See TracTickets for help on using tickets.