mithril-vndb/test-utils/tests
Isiah Meadows 85bfd0f77d
Clarify pathname docs, follow spec with fragments (#2448)
* Clarify pathname docs, follow spec with fragments

- Valid URLs must not contain a `#` within its fragment.
  https://github.com/MithrilJS/mithril.js/issues/2445
- Our docs were a little confusing and misleading - `m.pathname` isn't
  aware of URLs, just path names.
- Removed the relevant extension to `m.parseQueryString` required to
  support the hash parsing extension. Now we just shave it off and
  ignore it.
- Fix support for arbitrary prefixes, so prefixes like `?#` are
  handled correctly.
- Add a bunch of tests to cover various areas of confusion and unusual
  edge cases.

* Update with PR [skip ci]
2019-07-03 06:22:25 -04:00
..
index.html Correct test scripts 2017-12-30 04:44:00 -05:00
test-browserMock.js "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
test-callAsync.js Make callAsync a little less flaky 2016-08-03 07:21:15 -04:00
test-components.js Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
test-domMock.js Officially drop IE9-10 support, pull out our hacks (#2296) 2018-11-27 18:04:15 -05:00
test-parseURL.js Clarify pathname docs, follow spec with fragments (#2448) 2019-07-03 06:22:25 -04:00
test-pushStateMock.js [mocks] make location.onhashchange debounced async 2017-04-01 16:48:22 +02:00
test-throttleMock.js Lint 2017-06-14 00:15:08 +02:00
test-xhrMock.js fix issue 1919 2017-08-03 13:48:19 -07:00