Test fixes for UrlParser, HtmlElementCreator
All checks were successful
CI / ci-tests (push) Successful in 15s

Also fix old parseQueryString and alias it to getQueryStringParam
This commit is contained in:
2025-03-10 19:32:42 +09:00
parent 41e794b35d
commit c818e56f3e
9 changed files with 153 additions and 50 deletions

View File

@@ -52,6 +52,11 @@ document.addEventListener('DOMContentLoaded', function() {
console.log('AELX OUT: %o', aelx_out);
build_test.innerHTML += aelx_out;
// console.log("TEST URL: %o", parseQueryString("http://foor.org/?key=value"));
console.log("TEST URL: %o", getQueryStringParam('', "http://foor.org/?param=foo&param=other", true));
console.log("TEST URL: %o", parseQueryString("http://foor.org/?param=foo&param=other", ''));
// console.log("TEST URL: %o", getQueryStringParam('', "http://foor.org/?key=value&key=other&key=value&bar="));
// console.log('TR: %s', l10n.__('Original'));
// console.log('TR: %s', l10n.__('Not exists'));
});