Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 743 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 743 Bytes

iFrame-Memory-Leak-Detector

Detects cross frame references that prevent iFrames from being garbage collected

Demo

Screen shots:

Screen shot of console output

Usage:

  1. Click "Reload the page, leak more memory" to refresh the inner iFrame
  2. Notice the increase in memory usage, this is because the inner iFrames are still referenced
  3. Click "run iFrame memory leak detector"
  4. View dev tools console to see output

Limitations

Only events/variables on the immediate window are checked, this means any objects within objects could still have pointers to frames