mozilla-mobile / reference-browser

A full-featured browser reference implementation using Mozilla Android Components.
Mozilla Public License 2.0
573 stars 161 forks source link

Zombie tabs in WebIDE after closing tabs #389

Open pocmo opened 5 years ago

pocmo commented 5 years ago

After closing tabs I can still see them in a connected WebIDE. After closing they are pointing to "about:blank" (Title: "Loading..."). I can also connect to them and get them to load pages (window.location = ...). So I assume we are either not closing them correctly or GeckoView keeps them around.

screenshot 2019-01-09 at 15 31 43
pocmo commented 5 years ago

I can reproduce the same thing in our sample browser.

pocmo commented 5 years ago

Debugged this a bit and it looks like we are calling close on the GeckoSession correctly.

@snorp Do you have an idea where those zombies may come from?

pocmo commented 5 years ago

https://bugzilla.mozilla.org/show_bug.cgi?id=1519124