kite-project / hope

A new web experience for your B2G and Android devices.
8 stars 3 forks source link

Opening and closing tabs #50

Closed jonathanKingston closed 8 years ago

jonathanKingston commented 8 years ago

I keep seeing the following error in the webIDE: 'TypeError: hopeFrame.contentWindow is null' addon.js:98:5

I'm on an fxp build for a Z3 leo.

For each key press of the home button I seem to get 4 or so of the same error.

etiennesegonzac commented 8 years ago

Mmmh... looks like the addon is not getting the system app privileges on your build. It's strange but it might explain the issues you're having with #49

etiennesegonzac commented 8 years ago

This probably only happens when the addon has been flashed multiple time on device (without a reboot). We remove the dom/css but the JS from the previous flash is still running and has a reference to a now staled iframe.

jonathanKingston commented 8 years ago

@etiennesegonzac I was thinking it was that, just didn't have time to debug. I'll see if I can clean up the handlers when the addon is removed.