3 ms·
Any error message? Chrome version? I'm surprised none of the players during the jam rating period ran into this.
by davexunit 2y ago
Any error message? Chrome version? I'm surprised none of the players during the jam rating period ran into this.
- ReleaseCandidat 2y agoI'm at the smartphone right now, but on the screen I've just seen the x( smilie - on M1, btw. I'll check the dev console and version tomorrow (it's 23:00). But I did play with WASM (GC) myself, so it could be that some experimental flag that I've set triggered the error.
- ryukafalz 2y agoI can actually reproduce this right now in Chromium on arm64 Linux. Chromium 125.0.6422.76, no error messages in the developer console when this happens. Still, interesting that (I think?) all these reports have been from Chrome/ium on arm64 platforms... I wonder if we're triggering some architecture-specific browser bug?
- ReleaseCandidat 2y agoTo get to the exception, got to "Sources" in the dev-console and check both "Pause on uncaught exceptions" and "Pause on caught exceptions". Reload and start the debugger.
- ReleaseCandidat 2y agoOK, 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.
- ReleaseCandidat 2y agoI'm getting the same exception "Failed to execute 'querySelectorAll' on 'Element': '\ \\f' is not a valid selector." in an Linux Arm64 VM running Chromium Version 125.0.6422.141 - this one does not have any extensions or special flags set AFAIK. See https://gitlab.com/spritely/cirkoban/-/issues/1 https://gitlab.com/spritely/cirkoban/-/issues/1