Created attachment 408943 [details] [diff] [review] patch get rid of unnecessary xpcom crossing, else-after-return
Created attachment 408946 [details] [diff] [review] patch
Created attachment 408949 [details] [diff] [review] better patch adds a Util.contentIsHandheld to share code
how can I verify this?
code verification in MXR
hmm, I am unable to verify this in mxr: http://mxr.mozilla.org/mobile-browser/source/chrome/content/BrowserView.js
That's because I landed a patch on top of it, which changed the original code a bit. But you can see the contentIsHandheld method still being used: http://mxr.mozilla.org/mobile-browser/source/chrome/content/BrowserView.js#578