Bug 145706

Summary: RegExp.prototype properties must be accessor functions, not own properties
Product: WebKit Reporter: Jordan Harband <ljharb>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Blocker CC: darin, fpizlo, ggaren, msaboff, ysuzuki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 145599    

Jordan Harband
Reported 2015-06-05 11:47:42 PDT
See https://bugs.webkit.org/show_bug.cgi?id=145599#c10 As of ES6, source/multiline/ignoreCase/global should all be accessor functions on `RegExp.prototype`, and not data properties on each instance. Before `RegExp#flags` can land in #145599, the code in RegExpObject needs to be fixed to convert these to accessor functions.
Attachments
Jordan Harband
Comment 1 2015-06-05 13:11:40 PDT
*** This bug has been marked as a duplicate of bug 145705 ***
Note You need to log in before you can comment on or make changes to this bug.