Bug 122620 - currentThis and currentArguments crash if called from outside a callback
Summary: currentThis and currentArguments crash if called from outside a callback
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Hahnenberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-10 13:35 PDT by Mark Hahnenberg
Modified: 2013-10-10 15:01 PDT (History)
1 user (show)

See Also:


Attachments
Patch (2.51 KB, patch)
2013-10-10 13:51 PDT, Mark Hahnenberg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.