Open Bug 1274056 Opened 8 years ago Updated 1 month ago

Self-host the Date string parsing algorithms

Categories

(Core :: JavaScript Engine, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: Waldo, Unassigned)

References

(Blocks 1 open bug)

Details

Parsing in C++ is more fragile (especially with the insane algorithms we're using to perform this parsing, for the implementation-defined parts of it), and we have to worry about things like bug 866608.  Something to do after bug 1265136 lands, since that's (probably) more important than doing this.

Once this is done, we probably can self-host Date.parse and the Date constructor as well.  Given just self-hosting this imposes costs on those algorithms, it may be that we should do all of them in one bug (in separate patches for readability, and probably in separate revs landed all at once).  The C++->JS overhead may not matter for these, but it doesn't seem worth running the risk.
Depends on: 1265136
Tentatively taking, as something that's easy to work on while a laptop's being repaired -- might dump back in the pool with partial progress when the new one arrives (given that I have other work to do, that would be more pressing, if it were comfortably doable).
Assignee: nobody → jwalden+bmo

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: jwalden → nobody
Severity: normal → S3
Blocks: 1274354
Severity: S3 → N/A
Type: defect → enhancement
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.