[Webkit-unassigned] [Bug 174935] New: [WTF] Introduce Internal / Private Symbols
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 28 03:07:27 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=174935
Bug ID: 174935
Summary: [WTF] Introduce Internal / Private Symbols
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: utatane.tea at gmail.com
Upcoming proposal of class fields[1] requires private fields.
The easiest way to implement it is adding a property with specially marked symbols.
Currently, we have private symbols, which is used for internal use cases, and managed in the hash table.
But this proposal will encourage users to create such private symbols more and more.
So, I think introducing notion of Private and Internal into WTF SymbolImpl is simpler.
We do not need to look up value from private symbol hash table no longer. SymbolImpl knows that it is a private/internal/public symbol.
[1]: https://github.com/tc39/proposal-class-fields
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170728/80a8b592/attachment.html>
More information about the webkit-unassigned
mailing list