Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.8
-
None
Description
It seems like the scopes of JS global types are duplicated.
They appear as m_jsIdentifiers in the scope that has the internal name of `global`. They also appear as m_methods and m_properties in the scope that has the internal name of `GlobalObject`.
For example, the scope of Math object can be found under global->m_jsIdentifiers["Math"] or GlobalObject->m_properties["Math"].
1. Are these duplicated entries expected? What is the rationale if so ?
There are a few elements I detected that appears only in GlobalObject->m_methods but not as global->m_jsProperties, like "qsTranslate" and "URLSearchParams".
2. Is there something special about these that they don't appear under global->m_jsIdentifiers?