Bug 145706
| Summary: | RegExp.prototype properties must be accessor functions, not own properties | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jordan Harband <ljharb> |
| Component: | JavaScriptCore | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jordan Harband
*** This bug has been marked as a duplicate of bug 145705 ***