Re:My Quest for a New Browser
by spolu on Wednesday September 11, 2013 @04:10PM
(#6369674)
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.
[ Parent
| on HN ]
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...
Do you have access to cookies, localStorage from JS?
Re:My Quest for a New Browser
by lucian1900 on Thursday September 12, 2013 @08:32AM
(#6373587)
Yes. Any XPCOM object is usable from JS that runs inside Firefox chrome and most things are XPCOM objects.