Bug 122620

Summary: currentThis and currentArguments crash if called from outside a callback
Product: WebKit Reporter: Mark Hahnenberg <mhahnenberg>
Component: JavaScriptCoreAssignee: Mark Hahnenberg <mhahnenberg>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Mark Hahnenberg 2013-10-10 13:35:49 PDT
The documentation for these methods claim that they will return nil if called from somewhere other than an API callback, but currently they both crash.
Comment 1 Mark Hahnenberg 2013-10-10 13:51:20 PDT
Created attachment 213925 [details]
Patch
Comment 2 WebKit Commit Bot 2013-10-10 15:01:55 PDT
Comment on attachment 213925 [details]
Patch

Clearing flags on attachment: 213925

Committed r157258: <http://trac.webkit.org/changeset/157258>
Comment 3 WebKit Commit Bot 2013-10-10 15:01:56 PDT
All reviewed patches have been landed.  Closing bug.