mediawiki-extensions-Revisi.../tests/qunit
thiemowmde 1b49469c96 Fix rounding error in revisionsPerWindow calculation
I have seen this getting fed with fractional numbers like
38.9994375. This apparently happens when specific browser zooms
are used, e.g. 110% in Google Chrome. There is a lot of code that
expects this to be an integer number and stops working entirely
when it isn't.

I'm also updating two related comparisons to not be so extremely
specific any more. This probably doesn't make a difference any more
with the fix above, but can't hurt.

This patch doesn't solve T352169, but is one more puzzle piece on
the way to solve it.

Bug: T352169
Change-Id: Ied0b9748beec941e901ca4ecba428c16967ca510
2024-02-09 12:19:31 +01:00
..
.eslintrc.json build: Update devDependencies 2022-03-17 22:55:02 +00:00
QUnit.revisionSlider.testOrSkip.js Remove closure wrappers from all JavaScript code 2020-11-18 11:16:04 +01:00
RevisionSlider.DiffPage.test.js Migrate JS to ES6 2023-06-23 08:01:31 +02:00
RevisionSlider.HelpDialog.test.js Migrate JS to ES6 2023-06-23 08:01:31 +02:00
RevisionSlider.Pointer.test.js Migrate JS to ES6 2023-06-23 08:01:31 +02:00
RevisionSlider.PointerView.test.js Fix docs and avoid duplication in PointerView class 2023-10-23 18:38:18 +02:00
RevisionSlider.Revision.test.js Drop wikitext comment in favor of parsedcomment 2023-08-25 14:42:32 +02:00
RevisionSlider.RevisionList.test.js Migrate JS to ES6 2023-06-23 08:01:31 +02:00
RevisionSlider.RevisionListView.test.js Partly drop dependency from RevisionListView to RevisionList 2023-10-26 13:58:59 +02:00
RevisionSlider.Slider.test.js Fix rounding error in revisionsPerWindow calculation 2024-02-09 12:19:31 +01:00
RevisionSlider.SliderView.test.js Migrate JS to ES6 2023-06-23 08:01:31 +02:00