3 ms·
This isn't too far from Firefox's use of XUL.
by lucian1900 13y ago
This isn't too far from Firefox's use of XUL.
- spolu 13y agoIndeed. Main difference is the API we expose to JS. XUL use is really UI oriented. Here we want to control the entire browser through JS.
- nephyrin 13y agoGecko exposes a large number of its interfaces to JS, and the entire Firefox frontend is written as such: http://dxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js http://dxr.mozilla.org/mozilla-central/source/browser/base/c...
- spolu 13y agoDo you have access to cookies, localStorage from JS?
- lucian1900 13y agoYes. Any XPCOM object is usable from JS that runs inside Firefox chrome and most things are XPCOM objects.