Skip to content

Detects cross frame references that prevent iFrames from being garbage collected

License

Notifications You must be signed in to change notification settings

SamKirkland/iFrame-Memory-Leak-Detector

Repository files navigation

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

About

Detects cross frame references that prevent iFrames from being garbage collected

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published