[Webkit-unassigned] [Bug 64678] Fix bugs in Object.prototype this handling.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 19 17:31:29 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=64678
--- Comment #11 from Darin Adler <darin at apple.com> 2011-07-19 17:31:29 PST ---
(From update of attachment 101409)
View in context: https://bugs.webkit.org/attachment.cgi?id=101409&action=review
> Source/JavaScriptCore/runtime/ObjectPrototype.cpp:199
> + if (thisValue.isUndefinedOrNull())
> + return jsNontrivialString(exec, thisValue.isUndefined() ? "[object Undefined]" : "[object Null]");
> return JSValue::encode(jsMakeNontrivialString(exec, "[object ", thisValue.toObject(exec)->className(), "]"));
I worry a bit about the performance implications of allocating a string every time.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list