Bug 7402

Summary: REGRESSION: Methods do not execute
Product: WebKit Reporter: mitz
Component: JavaScriptCoreAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Blocker CC: mjs
Priority: P1    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
URL: javascript:window.alert()

mitz
Reported 2006-02-21 03:34:28 PST
All calls to JavaScript methods fail, with the JavaScript Console showing "TypeError: Object function alert() { [native code] } (result of expression alert) does not allow calls."
Attachments
mitz
Comment 1 2006-02-21 04:12:03 PST
Looks like an incomplete checkin of the function names patch from bug 6279 caused this.
mitz
Comment 2 2006-02-21 04:46:17 PST
If I apply the lookup.h part of the patch from bug 6279 instead of the last-minute change that was checked in in r12911, it fixes the bug. The last-minute change was to derive function implementations from InternalFunctionImp instead of HashEntryFunction, but the latter doesn't return true from implementsCall().
Darin Adler
Comment 3 2006-02-21 07:15:29 PST
Fixing it.
Note You need to log in before you can comment on or make changes to this bug.