Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#16117 closed defect (fixed)

IE10 dojo/tests/_base/fx test failures

Reported by: haysmark Owned by: Bryan Forbes
Priority: undecided Milestone: 1.5.3
Component: fx Version: 1.7.4rc1
Keywords: dohfail Cc:
Blocked By: Blocking:

Description (last modified by haysmark)

     Error: doh._AssertFailure: assertEqual() failed:
 	expected
		0
	but got
		1


     ERROR IN:
 		 function(){
							var opacity = dojo.style('foo', 'opacity');
							doh.is(1, opacity);
							var anim = dojo.fadeOut({ node: 'foo', duration: duration });
							var d = new doh.Deferred();
							dojo.connect(anim, "onEnd", d.getTestCallback(function(){
								var opacity = dojo.style('foo', 'opacity');
								var elapsed = (new Date()) - anim._start;
								doh.is(0, opacity);
								doh.t(elapsed >= duration);
							}));
							anim._start = new Date();
							anim.play();
							return d;
						}
 FAILED test: ../../dojo/tests/_base/fx.html::t::fadeOut 539 ms
     _AssertFailure: assertEqual() failed:
 	expected
		0
	but got
		1


     ERROR IN:
 		 function(){
							var opacity = dojo.style('foo', 'opacity');
							doh.is(0, opacity);
							var anim = dojo.fadeIn({ node: 'foo', duration: duration });
							var d = new doh.Deferred();
							dojo.connect(anim, "onEnd", d.getTestCallback(function(){
								var opacity = dojo.style('foo', 'opacity');
								var elapsed = (new Date()) - anim._start;
								doh.is(1, opacity);
								doh.t(elapsed >= duration);
							}));
							anim._start = new Date();
							anim.play();
							return d;
						}
 FAILED test: ../../dojo/tests/_base/fx.html::t::fadeIn 0 ms
     Error: doh._AssertFailure: assertEqual() failed:
 	expected
		0
	but got
		1

 with hint: 
		opacity

     ERROR IN:
 		 function(){
							var id = "baz";
							dojo.style("bar", "display", "none");
							dojo.style(id, "display", "");
							var kickoff = new Date().valueOf();
							var startWidth = dojo.marginBox(id).w; 
							var endWidth = Math.round(startWidth / 2);

							var d = new doh.Deferred();
							var anim = dojo.anim(
								id, 
								{ 
									width: endWidth,
									opacity: 0
								}, 
								duration, 
								null, 
								d.getTestCallback(function(){
									var curTime = (new Date().valueOf()),
										elapsed = curTime - anim._startTime;
									doh.t(elapsed >= duration, "test elapsed " + elapsed + " > duration " + duration);
									
									// -5 because on FF a setTimeout(foo, x) may fire a little before x
									doh.t(curTime >= (kickoff+duration+500-5),
										"curTime >= (kickoff+duration+500-5): " + curTime + " >= (" + kickoff + "+" + duration + "+500-5)");

									doh.is(dojo.marginBox(id).w, endWidth, 
										"width matches endWidth ");

									doh.is(0, dojo.style(id, "opacity"), "opacity");
								}),
								500
							);
							return d;
						}
 FAILED test: ../../dojo/tests/_base/fx.html::t::anim 1029 ms

     Error: test timeout in ../../dojo/tests/fx.html::t::onendStatus-combine
     ERROR IN:
 		 function(t){
								var d = new doh.Deferred;

								var a1 = dojo.fadeOut({ node:"a1" });
								var a2 = dojo.fadeOut({ node:"a2" });

								var anim = dojo.fx.combine([a1, a2]);
								dojo.connect(anim, "onEnd", function(){
									t.is("stopped", a1.status());
									t.is("stopped", a2.status());
									setTimeout(function(){
										t.is("stopped", anim.status());
										d.callback(true);	
									}, 10);
								});

								anim.play();
								return d;
							}
 FAILED test: ../../dojo/tests/fx.html::t::onendStatus-combine 1528 ms

Change History (14)

comment:1 Changed 7 years ago by haysmark

Keywords: dohfail added

comment:2 Changed 7 years ago by haysmark

Description: modified (diff)
Summary: IE10 fx test timeoutIE10 fx test failures

comment:3 Changed 6 years ago by bill

Milestone: tbd1.8.2

Bulk update of IE10 tickets to 1.8.2, as per meeting. Backports to 1.4 will be handled in a separate ticket. If this ticket just requires a test update, it can be rescheduled for milestone 1.9, and checked into trunk only.

comment:4 Changed 6 years ago by haysmark

Version: 1.8.01.7.4rc1

comment:5 Changed 6 years ago by Kenneth G. Franqueiro

I also see the first 3 of these failures (fadeOut, fadeIn, anim) on Win8 IE10 via Browserstack... I don't see the last one.

comment:6 Changed 6 years ago by bill

Summary: IE10 fx test failuresIE10 dojo/tests/_base/fx test failures

comment:7 Changed 6 years ago by Kitson Kelly

I am not seeing this on IE 10.0.9200.16384 running util/doh/runner.html?test=dojo/tests/module on trunk (29997).

Last edited 6 years ago by Kitson Kelly (previous) (diff)

comment:8 Changed 6 years ago by Colin Snover

Resolution: fixed
Status: newclosed

In [30025]:

IE10 even in quirks mode does not support filters for opacity. Fixes #16117.

comment:9 Changed 6 years ago by Colin Snover

In [30026]:

IE10 even in quirks mode does not support filters for opacity. Fixes #16117. Backport to 1.8.

comment:10 Changed 6 years ago by Colin Snover

In [30027]:

IE10 even in quirks mode does not support filters for opacity. Fixes #16117. Backport to 1.7.

comment:11 Changed 6 years ago by bill

Milestone: 1.8.21.7.5

comment:12 Changed 6 years ago by bill

In [30200]:

Fix setting of opacity on IE9 in quirks mode, refs #16117, fixes #12884 on 1.6 branch !strict.

comment:8 Changed 6 years ago by bill

In [30201]:

IE10 even in quirks mode does not support filters for opacity. Fixes #16117 !strict. Backport to 1.5.

comment:9 Changed 6 years ago by bill

Milestone: 1.7.51.5.3
Note: See TracTickets for help on using tickets.