Closed
Bug 1014991
Opened 11 years ago
Closed 10 years ago
Implement Xrays to RegExp objects
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1079919
People
(Reporter: bholley, Unassigned)
References
(Blocks 1 open bug)
Details
This isn't super pressing, but conceptually makes a lot of sense, since RegExps have lots of under-the-hood state (similar to Date objects).
Comment 2•10 years ago
|
||
Oh, didn't know this bug :P
Almost implemented in bug 1079919.
https://hg.mozilla.org/mozilla-central/rev/da88e17551a8
Not sure there are remaining parts, maybe defineProperty for lastIndex?
bug 1079919 comment #20
> Technically to make this lastIndex handling complete we need to also do the
> right thing in defineProperty as well. But honestly I suspect it's not worth
> adding code for.
Reporter | ||
Comment 3•10 years ago
|
||
Naw I think it's fine. We can add support for defineProperty if it ever comes up.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•