Bug 145706 - RegExp.prototype properties must be accessor functions, not own properties
Summary: RegExp.prototype properties must be accessor functions, not own properties
Status: RESOLVED DUPLICATE of bug 145705
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Blocker
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 145599
  Show dependency treegraph
 
Reported: 2015-06-05 11:47 PDT by Jordan Harband
Modified: 2015-06-05 13:11 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Harband 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.
Comment 1 Jordan Harband 2015-06-05 13:11:40 PDT

*** This bug has been marked as a duplicate of bug 145705 ***