<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>7402</bug_id>
          
          <creation_ts>2006-02-21 03:34:28 -0800</creation_ts>
          <short_desc>REGRESSION: Methods do not execute</short_desc>
          <delta_ts>2006-02-21 07:28:59 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>javascript:window.alert()</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>mjs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>33586</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-02-21 03:34:28 -0800</bug_when>
    <thetext>All calls to JavaScript methods fail, with the JavaScript Console showing &quot;TypeError: Object function alert() { [native code] } (result of expression alert) does not allow calls.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33587</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-02-21 04:12:03 -0800</bug_when>
    <thetext>Looks like an incomplete checkin of the function names patch from bug 6279 caused this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33590</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-02-21 04:46:17 -0800</bug_when>
    <thetext>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&apos;t return true from implementsCall().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33595</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-02-21 07:15:29 -0800</bug_when>
    <thetext>Fixing it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>