Bug 891763 - Browser API: mozbrowserwindowresizeto and mozbrowserwindowr...

...esizeby events

    add Browser API in keybaord manager and keyboard app, remove hack parts.