[wp-trac] [WordPress Trac] #59329: Firefox gets "ReferenceError: Â is not defined" in unminified moxie.js
WordPress Trac
noreply at wordpress.org
Sat Nov 4 09:36:22 UTC 2023
#59329: Firefox gets "ReferenceError: Â is not defined" in unminified moxie.js
--------------------------+-------------------------
Reporter: kinggmobb | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Upload | Version:
Severity: minor | Resolution:
Keywords: close | Focuses: javascript
--------------------------+-------------------------
Comment (by kinggmobb):
I was prepping to file a bug upstream, but then I took a closer look at
the plupload and moxie repos.
I ran a git bisect, and turns out, the bug was silently introduced, and
then inadvertently fixed, 7 years ago. WordPress is just using an ancient
version of moxie.js from that time window. (There's a reference to the
message I saw in https://github.com/moxiecode/moxie/issues/144, but I
don't think anyone realized the error at the time.)
The issue was fixed right before moxie v1.5.0, in commit
b9f329e1add1e19752263fe62a6b7d993bbd1906.
I think if WP upgrades to a moxie version from v1.5.0 on, it should fix
the problem. Alternatively, my patch is trivial if you don't feel like
upgrading moxie.js.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59329#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list