Closed GoogleCodeExporter closed 9 years ago
Same issues in Chrome 9.0.597.19 dev Win XP SP3 and Chromium 6.0.472.63 (59945)
Ubuntu 10.10
Original comment by musicisair
on 16 Dec 2010 at 2:34
Same in Firefox 3.6.13 and Chrome 8.0.552.224 on linux
Original comment by iwiz...@gmail.com
on 16 Dec 2010 at 6:33
Within CJS.executeScript() the callback was not being initialized when the
onload parameter was null. Attached is a patch that resolves this by:
* assigning `onload` to a NOOP function (`new Function()`) when null
* unifying installation of the onload event w/ the onreadystatechange event
* consolidates readyState property sniffing into a single function
Original comment by serverhe...@gmail.com
on 16 Dec 2010 at 7:54
Attachments:
This issue was closed by revision r8.
Original comment by stevesou...@gmail.com
on 16 Dec 2010 at 8:58
serverherder found the bug. It's a one line fix, but his patch is more elegant.
I've incorporated (a modified version) of it. And thanks for the tip of setting
.onload before .src. This was an incredibly helpful patch!
I confirmed fix on Chrome 8.0.552.224, Firefox 3.6.13, Safari 4.0.4 on Windows
XP.
Original comment by stevesou...@gmail.com
on 16 Dec 2010 at 9:28
Original issue reported on code.google.com by
timkadle...@gmail.com
on 16 Dec 2010 at 2:12