[Webkit-unassigned] [Bug 145669] New: Stop using static tables for auto-generated DOM interfaces

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 4 16:12:39 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145669

            Bug ID: 145669
           Summary: Stop using static tables for auto-generated DOM
                    interfaces
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ggaren at apple.com

All DOM interfaces generate compile-time HashTables of their properties. We used to use these HashTables instead of runtime data structures, but we don't anymore. Now, we always call reifyStaticProperties to turn a HashTable into a Structure on demand.

Instead of a HashTable, we should auto generate code to create a Structure, and we should eliminate the auto generated HashTables.

Benefits:

(1) We can more reliably disable DOM features at runtime;

(2) Less boilerplate to read through, translating one (useless) format to another.

(3) Shorter compile times, since we don't need to compute all the hash tables.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150604/86885467/attachment.html>


More information about the webkit-unassigned mailing list