[Webkit-unassigned] [Bug 24350] REGRESSION: Safari 4 breaks SPAW wysiwyg editor multiple instances
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 19 08:29:48 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=24350
ap at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ap at webkit.org
Component|New Bugs |JavaScriptCore
------- Comment #5 from ap at webkit.org 2009-03-19 08:29 PDT -------
Here is the failing function:
SpawEditor.prototype.onLoadHookup = function()
{
var spaw_tmpstr="";
if (window.onload != null)
{
spaw_tmpstr = window.onload.toString();
var spaw_i = spaw_tmpstr.indexOf("{") + 2;
spaw_tmpstr = spaw_tmpstr.substr(spaw_i,spaw_tmpstr.length-spaw_i-2);
}
window.onload = new Function(this.name+'_obj.initialize();'+spaw_tmpstr);
}
The problem is that Function.toString() works differently now, so this produces
a broken script.
The general issue with Function.toString() is tracked as bug 18990.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list