[Webkit-unassigned] [Bug 9112] Some of the unit tests for script.aculo.us don't pass
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 24 16:23:16 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=9112
Ahmad Saleem <zlip.792 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zlip.792 at gmail.com
--- Comment #3 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am able to find only one test in v1.9.0 unit test, which fails in Safari 15.6 on macOS 12.5 only but not in Chrome Canary 106 and Firefox Nightly 104.
It is from "Slider.js" - test MultipleHandles:
_____________
testMultipleHandles: function() { with(this) {
var slider = new Control.Slider(['handle3-1','handle3-2','handle3-3'], 'track3', {range:$R(0,300)});
assertInstanceOf(Control.Slider, slider);
slider.setValue(20, 0);
slider.setValue(50, 1);
slider.setValue(70, 2);
assertEqual(20, slider.values[0]);
assertEqual(50, slider.values[1]);
assertEqual(70, slider.values[2]);
assertEqual("20px", slider.handles[0].style.left);
assertEqual("49px", slider.handles[1].style.left);
assertEqual("68px", slider.handles[2].style.left);
// should change last manipulated handled by -10,
// so check for handle with idx 2
slider.setValueBy(-10);
assertEqual(60, slider.values[2]);
slider.setValueBy(10, 0);
assertEqual(20, slider.values[0]);
slider.setValueBy(10, 1);
assertEqual(60, slider.values[1]);
slider.setValueBy(20, slider.activeHandleIdx);
assertEqual(80, slider.values[1]);
}},
__________
You can download latest version (as of today) from here - http://script.aculo.us/downloads
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220724/3137e2e5/attachment.htm>
More information about the webkit-unassigned
mailing list