Bug #2744
closedChrome browser: Javascript error in on user profiles: "Uncaught SyntaxError: Unexpected token { from overlib_all_mini.js line 340"
Description
Files
Updated by cubiq069 about 13 years ago
Updated by krileon about 13 years ago
- File 27440-2.17.patch 27440-2.17.patch added
- File 27440-2.21.patch 27440-2.21.patch added
- Status changed from New to Resolved
- Assignee set to beat
- % Done changed from 0 to 100
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.
Updated by beat about 13 years ago
- Subject changed from Javascript error in Chrome on user profiles: "Uncaught SyntaxError: Unexpected token { from overlib_all_mini.js line 340" to Chrome browser: Javascript error in on user profiles: "Uncaught SyntaxError: Unexpected token { from overlib_all_mini.js line 340"
- Status changed from Resolved to Closed
Fixed in r1582 .