I am learning about heap snapshot and while playing i came across one weird observation as attached in screenshot I see there are multiple window objects inside "Window" constructor with different @Id. I have did nothing just opened a new tab and just took a snapshot.
- From where these objects are coming ? How they are created ?\
- Also what's difference between "Window" "Window /" constructor
CodePudding user response:
Each active Chrome extension, each frame has its own context and a global window object. Click on any Window to see native context
or __proto__
or global_proxy
. See examples:
Just walk through Window objects and you will see the details w/o having to ask questions on SO. You also will be surprised by having more than 2 extensions.
CodePudding user response: