Actions
Bug #2744
closedChrome browser: Javascript error in on user profiles: "Uncaught SyntaxError: Unexpected token { from overlib_all_mini.js line 340"
Description
Files
Actions
Added by beat over 13 years ago. Updated over 13 years ago.
Description
Files
Syntax_Error_-_Chrome.zip (1.27 KB) Syntax_Error_-_Chrome.zip | cubiq069, 10 October 2011 11:53 | ||
27440-2.17.patch (2.33 KB) 27440-2.17.patch | krileon, 19 October 2011 19:57 | ||
27440-2.21.patch (60.8 KB) 27440-2.21.patch | krileon, 19 October 2011 19:57 |
Patch provided does not work. The problem is how the replacement is handled. The code is taking an existing function then parsing it and changing it. The problem with this is how the parsing happens is completely browser based as they all output and handle the function differently. It works fine in IE and FF because both browsers decompressed the function then it's modified. Chrome however passes the original compressed version of the function (probably best practice actually). Attached is proposed fixed to simply decompressed that single function, which tested and confirmed working; this prevents major changes to the source!
Attached is also a patched updated version of overlib as latest is 2.21 while we use 2.17. Both tested and confirmed working.
Fixed in r1582 .