Comment 27 for bug 1040313

Revision history for this message
Chris Coulson (chrisccoulson) wrote : Re: [FFE] Need access to native handle for tabs

Alex - can you verify that the new beta works:

https://launchpad.net/~mozillateam/+archive/firefox-next

(you'll need to manually download the packages from Launchpad for now, until I turn publishing back on once I've smoke-tested builds for all of the other releases).

The patch I've committed is http://bazaar.launchpad.net/~mozillateam/firefox/firefox-beta.head/view/head:/debian/patches/add-nativehandle-attribute.patch. Functionally, it's the same as the one committed upstream, except you'll be using nsIBaseWindow_UBUNTU_ONLY.nativeHandle rather than nsIBaseWindow.nativeHandle, and the ABI of nsIBaseWindow is preserved. Note, the patch won't exist in Firefox 17, and so you'll need to support nsIBaseWindow.nativeHandler as well. Supporting both ways is trivial though (if ("nsIBaseWindow_UBUNTU_ONLY" in Components.interfaces) { <pre-17 code> } else { post-17 code })