4 ms·
OK, what happens is a DOMException with the message "Failed to execute 'querySelectorAll' on 'Element': '\\\f' is not a valid selector." Source is `e.querySele
by ReleaseCandidat 2y ago
OK, what happens is a DOMException with the message "Failed to execute 'querySelectorAll' on 'Element': '\\\f' is not a valid selector."
Source is `e.querySelectorAll("\\\f"),` in function of file `lib.min.js`:
(d.qsa = K.test(C.querySelectorAll)) && (ce(function(e) {
var t;
a.appendChild(e).innerHTML = "<a id='" + S + "'></a><select id='" + S + "-\r\\' msallowcapture=''><option selected=''></option></select>",
e.querySelectorAll("[msallowcapture^='']").length && v.push("[*^$]=" + M + "*(?:''|\"\")"),
e.querySelectorAll("[selected]").length || v.push("\\[" + M + "*(?:value|" + R + ")"),
e.querySelectorAll("[id~=" + S + "-]").length || v.push("~="),
(t = C.createElement("input")).setAttribute("name", ""),
e.appendChild(t),
e.querySelectorAll("[name='']").length || v.push("\\[" + M + "*name" + M + "*=" + M + "*(?:''|\"\")"),
e.querySelectorAll(":checked").length || v.push(":checked"),
e.querySelectorAll("a#" + S + "+*").length || v.push(".#.+[+~]"),
e.querySelectorAll("\\\f"),
v.push("[\\r\\n\\f]")
}),
where `e` is the following:
<fieldset><a id="sizzle1717482165204"></a><select id="sizzle1717482165204-
\" msallowcapture=""><option selected=""></option></select><input name=""></fieldset>
Yes, there is a newline (actually a CR) after `id="sizzle1717482165204-`
Chrome Version 125.0.6422.141 (arm64)
See: https://gitlab.com/spritely/cirkoban/-/issues/1 https://gitlab.com/spritely/cirkoban/-/issues/1
- davexunit 2y agoInteresting! This isn't even our code! It's the code that itch.io adds to serve the game on their site.