[Fixed] image context menu cause zombie compartment
Posted: Fri Dec 02, 2011 3:09 pm
just update to new 2.0b3268, and notice when I right click an image, it will hold a zombie compartment in about:memory.
Here is how I reproduce, no filter subscription needed:
1. open about:memory
2. open http://www.google.com
3. right-click on "google" the image, the context menu pop-up
4. close google tab, observe about:memory
5. the http://www.google.com compartment will stay there forever... until
6. you trigger another pop-up:
Here is how I reproduce, no filter subscription needed:
1. open about:memory
2. open http://www.google.com
3. right-click on "google" the image, the context menu pop-up
4. close google tab, observe about:memory
5. the http://www.google.com compartment will stay there forever... until
6. you trigger another pop-up:
- a) it's an image context menu, then this tab's compartment will take the zombie role..
b) right click in blank area, the google zombie will be GC in a few second