NEW 9112
Some of the unit tests for script.aculo.us don't pass
https://bugs.webkit.org/show_bug.cgi?id=9112
Summary Some of the unit tests for script.aculo.us don't pass
Sam Weinig
Reported 2006-05-25 10:48:28 PDT
If you go to http://script.aculo.us/ and download the latest version of script.aculo.us (version 1.6.1 at the time of writing) you'll find the ToT webkit does not pass all the unit tests provided. We fail all of the tests in: Ajax.Autocompleter test Position.clone test and some of the tests in: Ajax.InPlaceEditor test Element extensions test Unittest test
Attachments
Sam Weinig
Comment 1 2006-05-25 10:50:56 PDT
The test that fails in the Element extensions test, "testElementGetStyle" notes that it fails because of bug 4125
Alexey Proskuryakov
Comment 2 2006-11-24 23:25:19 PST
*** Bug 9129 has been marked as a duplicate of this bug. ***
Ahmad Saleem
Comment 3 2022-07-24 16:23:16 PDT
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
Radar WebKit Bug Importer
Comment 4 2022-07-24 20:06:10 PDT
Note You need to log in before you can comment on or make changes to this bug.