HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by lucian1900 | Hacker News Reader
Full thread
lucian1900
·
This isn't too far from Firefox's use of XUL.
View on HN
spolu
·
Indeed. 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
·
Gecko 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/c...
spolu
·
Do you have access to cookies, localStorage from JS?
lucian1900
·
Yes. Any XPCOM object is usable from JS that runs inside Firefox chrome and most things are XPCOM objects.
Reply on news.ycombinator.com