Bug 70286 - Incorrect behavior from String match/search & undefined pattern
Summary: Incorrect behavior from String match/search & undefined pattern
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 16:46 PDT by Gavin Barraclough
Modified: 2011-10-17 16:48 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Barraclough 2011-10-17 16:46:23 PDT
If the regexp argument passed to match or search is undefined, the RegExp constructor should produce a RegExp that matches "", not "undefined".
Comment 1 Gavin Barraclough 2011-10-17 16:48:29 PDT
Fixed in r97673