aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/checkboxradio/core.js
Commit message (Collapse)AuthorAgeFilesLines
* Checkboxradio: Don't re-evaluate text labels as HTMLMichał Gołębiowski-Owczarek2022-07-141-0/+37
| | | | | | | | | | | | | If you generate a Checkboxradio from a checkbox/radio with a label that contains encoded HTML, e.g. `<em>test</em>` this will work fine at first. If, however a refresh is triggered on that instance (explicitly or e.g. by turning it into a `Controlgroup`), the previously escaped HTML will now be evaluated. If the label was created based on some user input, this could lead to unexpected code execution even though the initial output was escaped. Fixes gh-2101 Closes gh-2102
* Build: Migrate from JSHint & JSCS to ESLintMichał Gołębiowski-Owczarek2021-06-071-0/+1
| | | | | Fixes #15393 Closes gh-1958
* All: Drop support for jQuery 1.7Michał Gołębiowski-Owczarek2020-07-221-16/+10
| | | Closes gh-1923
* Tests: Ensure no timers are running at the end of each test (#1920)Michał Gołębiowski-Owczarek2020-05-161-2/+3
| | | | | | | | | | | | | This helps fix issues that make tooltip tests sometimes fail when run against jQuery 3.2 or newer due to timing differences. Details: * Add the `moduleAfterEach` function ensuring no timers are running. * Attach this function via `common.testWidget`. * Attach this function to most test suites. * Add a tooltip test helper cleaning up leftover timers. * Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`. Closes gh-1920
* All: Resolve most jQuery Migrate warningsMichał Gołębiowski-Owczarek2020-05-161-2/+2
| | | Closes gh-1919
* Checkboxradio: Shift to use no globalsAmanpreet Singh2016-04-141-20/+22
|
* Checkboxradio: Properly find radio groups from the associated formScott González2015-10-291-0/+19
| | | | | Fixes #9973 Closes gh-1631
* Checkboxradio: Fix error tests with jQuery 1.7.0Scott González2015-10-281-10/+16
|
* Checkboxradio: Test cleanupScott González2015-10-271-2/+11
|
* Checkboxradio: Fix invalid markup in core testsJörn Zaefferer2015-10-081-1/+1
|
* Checkboxradio: Style updatesAlexander Schmitz2015-10-081-13/+13
|
* Spinner: Updates for new button widget and classes optionAlexander Schmitz2015-10-081-1/+1
|
* Checkboxradio: Initial commit of new widgetAlexander Schmitz2015-10-071-0/+102