Last night, I landed a patch [1] the removes almost all of the Toolkit theme resources that were included in Firefox for Android builds. This includes a lot of XUL CSS files and images. The vast majority of these files are never used.
Yes, Firefox for Android uses native Android UI, but has been shipping the "windows" Toolkit theme for years. Firefox for Android _does_ use a very simple XUL file as the browsing widget. So simple that no XUL UI is ever shown or needed. The removal of the Toolkit theme code should have no affect on the main browsing widget. We also use in-content HTML pages for Network Errors, Add-ons, Logins and Downloads. The themes might have an affect on these pages, but we are hoping for no issues. We already override or provide custom resources for these pages. The theme changes may also affect the in-content widgets for Plugins, Video and Audio controls that appear on web pages. We tried to make sure that enough theme resources were still available, but testing would be helpful. NOTE: Please look for any strange layout or missing resources in these areas. On the positive side, we reduced the size of the Omnijar file in the Firefox APK by ~450KB. Finkle [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1223526
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

