Paul Rouget started an experimental re-implementation of the Firefox desktop UI in HTML instead of XUL, using the Browser API ("iframe mozbrowser") from Firefox OS. One of his motivations was to build a browser UI that could someday be powered by Servo. See his email below, or read the full thread at:
https://mail.mozilla.org/pipermail/firefox-dev/2014-December/002510.html


-------- Forwarded Message --------
Subject:        Firefox.html: rebuilding Firefox UI in HTML
Date:   Tue, 9 Dec 2014 17:43:08 +0100
From:   Paul Rouget <p...@mozilla.com>
To:     firefox-...@mozilla.org



Firefox.html is an experiment, a proof of concept: trying to
re-implement the Firefox UI in HTML, as an app (like FxOS apps).

Code, builds, screenshots: https://github.com/paulrouget/firefox.html

We are working hard on making HTML fast and rich enough to build
a whole operating system (Firefox OS) and a browser (Firefox OS' browser).
With a UI in HTML leveraging the Browser API, we could drop XUL and close
the gap between B2G and Firefox Desktop. And eventually be able to
render Firefox Desktop with Servo. And maybe, one day, host the
Firefox UI online (trusted app?).

The only purpose of Firefox.html, at this stage, is to yield a
discussion about the future of XUL.

I'm fully aware of the massive amount work required to ever reach
the quality of Firefox Desktop (we're talking about years of work),
but I thought that we might want to talk about it.

What do you think? Is it something we want to try? Or maybe it's
too early, or maybe we don't want to use HTML for this, use native
toolkits, or just keep XUL.

~~~

Some techical details:

  - code is ugly. Don't build stuff on top of that. It's just an experiment.
  - The runtime is just Firefox Desktop with some tweaks (mostly ajusting
  how apps are handled on Desktop).
  - The app (app://browser.gaiamobile.org/manifest.webapp) is loaded in a 
<iframe>.
  - The only remaining XUL piece is the top level window. It's a blank window
  that position the iframe over the window controls, to allow HTML to draw
  in the titlebar.
  - The app itself uses the Browser API.

-- Paul
_______________________________________________
firefox-dev mailing list
firefox-...@mozilla.org
https://mail.mozilla.org/listinfo/firefox-dev



_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to