# Firefox in WebAssembly - Full Gecko engine running inside a browser tab

> Hacker News story 48926939 · language: en · submitted 2026-07-15
> Web version: https://zeli.app/story/48926939
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 272 · by [coolelectronics](<https://news.ycombinator.com/user?id=coolelectronics>) · 💬 126
[original](<https://developer.puter.com/labs/firefox-wasm/>) · [HN discussion](<https://news.ycombinator.com/item?id=48926939>)

## Summary

Experience the real Firefox browser running entirely within a single web tab, powered by the Gecko engine compiled to WebAssembly. This innovative project delivers a complete Firefox interface with WebGL-based GPU acceleration for rendering web content directly in your browser. Users can enable experimental JavaScript to WebAssembly JIT compilation for enhanced performance, while web content is securely proxied through a Puter-hosted Wisp server. It represents a groundbreaking step in browser technology, allowing you to run a full-featured desktop browser experience without leaving your current window.

## Key quote

> The Gecko engine compiled to WebAssembly. The real Firefox interface, rendering entirely inside this browser tab.

## HN discussion (126 comments)

### [yjftsjthsd-h](<https://news.ycombinator.com/item?id=48928161>)

> \>This port cost over 25k in opus/fable tokens for debugging and JIT research
>
> \> This was just a fun experiment to push the boundaries of WebAssembly
>
> I'm a huge fan of the project, but I have to ask. If spending $25k is a "fun experiment", where exactly is your threshold for serious work?

### [tech234a](<https://news.ycombinator.com/item?id=48929723>)

> Loosely related to porting the Firefox engine in unusual places: here is a project that ports Firefox's Gecko rendering engine to iOS as a sideloadable app (normally Apple only allows its own WebKit rendering engine in iOS apps): https://github.com/minh-ton/reynard-browser

### [coolelectronics](<https://news.ycombinator.com/item?id=48927491>)

> Oh and for anyone asking, you can run firefox-wasm inside firefox-wasm inside firefox! I only got this to load once though since it gets pretty unstable at that level.

### [ksmithbaylor](<https://news.ycombinator.com/item?id=48929218>)

> I can’t help but think of Gary Bernhardt’s 2014 talk, “The Birth and Death of JavaScript”: https://www.destroyallsoftware.com/talks/the-birth-and-death...

### [degamad](<https://news.ycombinator.com/item?id=48927556>)

> I'm so glad this exists, I've been considering doing something like this for a few months.
>
> I recently got a TV based on VIDAA os, a locked-down linux-based OS where everything is rendered from Web pages. It has a built-in browser that doesn't support ad-blocking (I suspect VIDAA is profiting from showing ads on the TV), and you can't install new apps unless they're Web pages.
>
> This would hopefully allow one to run Firefox within the existing browser, then install uBlock Origin within Firefox... I know what this weekend's project is going to be...

### [azakai](<https://news.ycombinator.com/item?id=48927625>)

> Prior art: WebKit.js, the WebKit rendering engine ported to JS
>
> https://github.com/trevorlinton/webkit.js/

### [brewmarche](<https://news.ycombinator.com/item?id=48928195>)

> Can’t get it running on Firefox 152.0.6 (aarch64), no extensions.
>
> [chrome-demo] chrome assets ready
>
> [gecko] warning: unsupported syscall: __syscall_madvise
>
> [gecko] embed-xul: main() on the app pthread (PROXY_TO_PTHREAD)
>
> [gecko] embed-xul: GECKO_GL_PASSTHROUGH=1
>
> [gecko] embed-xul: GECKO_COARSE_CLOCK=1
>
> [gecko] embed-xul: GECKO_GPU=1 (GPU/WebRender->canvas rendering)
>
> [gecko] xul_init: GRE dir = /gre
>
> [gecko] Pthread 0x11051000 sent an error! blob:https://developer.puter.com/edc1bd0a-b844-4a18-a69a-63dd49dc304a:8906: SecurityError: Security error when calling GetDirectory

### [MajesticHobo2](<https://news.ycombinator.com/item?id=48927590>)

> Browser sandboxing is now fully solved.

---

## Cite

- Page: https://zeli.app/story/48926939
- Date: 2026-07-15
- Source: developer.puter.com (https://developer.puter.com/labs/firefox-wasm/)
- Hacker News: https://news.ycombinator.com/item?id=48926939

## Other languages

- zh: https://zeli.app/zh/story/48926939 · markdown: https://zeli.app/zh/story/48926939.md
- ja: https://zeli.app/ja/story/48926939 · markdown: https://zeli.app/ja/story/48926939.md
- ko: https://zeli.app/ko/story/48926939 · markdown: https://zeli.app/ko/story/48926939.md
- de: https://zeli.app/de/story/48926939 · markdown: https://zeli.app/de/story/48926939.md
- es: https://zeli.app/es/story/48926939 · markdown: https://zeli.app/es/story/48926939.md
