WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
186191
Consider MasqueradesAsUndefinedObjectType
https://bugs.webkit.org/show_bug.cgi?id=186191
Summary
Consider MasqueradesAsUndefinedObjectType
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug