Javascript:SpiderMonkey:PropertyElementStorage: Difference between revisions

Line 62: Line 62:
'''Time''': M weeks
'''Time''': M weeks


# Implement <code>PropertyKey</code> as a class containing a Value, with <code>is*</code> and <code>as*</code> methods, with index/name/symbol subclasses - 2 days
# Implement <code>PropertyKey</code> as a class containing a Value, with <code>is*</code> and <code>as*</code>, with index/name/symbol subclasses and accessors for <code>PropertyName*</code>/<code>uint32_t</code>/symbol - 2 days
#* This should be pretty simple to do in terms of <code>Value</code>'s existing interface.
#* This should be pretty simple to do in terms of <code>Value</code>'s existing interface.
# Implement <code>JS::ToPropertyKey</code> and JSAPI entry points that take <code>PropertyKey</code> - 2 days
#* This provides a clean, long-lived way (modulo ES6 changes, but we'll roll with them) for embedders to access spec functionality.
# Switch the <code>ObjectOps</code> method signatures to take handles to the relevant <code>PropertyKey</code> subclasses, rather than what they take now - 2 days
# Switch the <code>ObjectOps</code> method signatures to take handles to the relevant <code>PropertyKey</code> subclasses, rather than what they take now - 2 days
#* This is straightforward enough (but depends on E4X removal), but there are a lot of implementations of these methods spread across many files (not easily searched for).
#* This is straightforward enough (but depends on E4X removal), but there are a lot of implementations of these methods spread across many files (not easily searched for).
Confirmed users
446

edits