Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#14825 closed defect (fixed)

test failure in test_scroll.html in test_tooBig (safari 5.1.2/win)

Reported by: bill Owned by: Douglas Hays
Priority: undecided Milestone: 1.8
Component: HTML Version: 1.7.2
Keywords: dohfail Cc:
Blocked By: Blocking:

Description

Happens on safari/win via runTests.html or running dojo/tests/window/test_scroll.html standalone:

     _AssertFailure: assertEqual() failed:
 	expected
		(+27,+37)
	but got
		(-1,+37)

 with hint: 
		tooBig_loose_rtl max failed
     ERROR IN:
 		 function test_tooBig() {
					var fudge = 0;
					if(has("ie") <= 6){
						fudge = dojo.byId('tooBig_quirks').contentWindow.document.body.clientHeight-100+innerScrollBarSize; // needed for running inside DOH runner
					}
					var minScroll, maxScroll;
					generateTestXY('tooBig_strict', outerScrollBarSize+10,outerScrollBarSize+20, 1,1);
					generateTestXY('tooBig_quirks', outerScrollBarSize+10-fudge,outerScrollBarSize+20-fudge, 1,1);
					if(has("ie") <= 7 || has("mozilla") || has("chrome")){
						maxScroll = -1;
					}else if(has("ie")){
						maxScroll = +20;
					}else if(has("opera")){
						maxScroll = -90;
					}else{
						maxScroll = outerScrollBarSize+10;
					}
					if(has("ie") <= 7 || has("mozilla") || has("chrome")){
						minScroll = -20;
					}else if(has("opera")){
						minScroll = 80 + outerScrollBarSize;
					}else{
						minScroll = 1;
					}
					generateTestXY('tooBig_loose_rtl', maxScroll,outerScrollBarSize+20, minScroll,1);
					if(has("ie") >= 8){
						maxScroll = -1;
					}
					if(has("ie") == 8){
						minScroll = -20;
					}
					generateTestXY('tooBig_quirks_rtl', maxScroll,outerScrollBarSize+20-fudge, minScroll,1);
				}
 FAILED test: ../../dojo/tests/window/test_scroll.html::dojo.window.scroll::test_tooBig 12 ms

Change History (3)

comment:1 Changed 7 years ago by bill

Keywords: dohfail added
Owner: changed from Eugene Lazutkin to Douglas Hays
Status: newassigned

comment:2 Changed 7 years ago by Douglas Hays

Resolution: fixed
Status: assignedclosed

In [27993]:

Fixes #14825. Change Safari to take Chrome/webkit test path.

comment:3 Changed 7 years ago by Douglas Hays

Milestone: tbd1.8
Note: See TracTickets for help on using tickets.