Bug 7402
Summary: | REGRESSION: Methods do not execute | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | JavaScriptCore | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
Looks like an incomplete checkin of the function names patch from bug 6279 caused this.
mitz
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
Fixing it.