Bug 186191

Summary: Consider MasqueradesAsUndefinedObjectType
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: fpizlo, keith_miller, mark.lam, saam, ysuzuki
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Yusuke Suzuki
Reported 2018-06-01 05:16:10 PDT
MasqueradesAsUndefined is crazy feature, 1. It is introduced for backward compatibility of `if (document.all)` thingy. It is unlikely that MasqueradesAsUndefined objects increases 2. MasqueradesAsUndefined is only used for HTMLAllCollection right now 3. HTMLAllCollection is ObjectType So, what do we think of folding this information into JSType, and free up MasqueradesAsUndefined TypeInfo flag space? We can introduce MasqueradesAsUndefinedObjectType for HTMLAllCollection.
Attachments
Note You need to log in before you can comment on or make changes to this bug.