Clone this repo:


  1. 7723b12 Roll prebuilts to 38c49f3f87ca35505e6249e25ff05e73ddf8fac7 to pick up WebView::setWebRequestDelegate by James Robinson · 13 days ago master
  2. 861fcbb Add a callback for resource requests. by Michael Jurka · 2 weeks ago
  3. e4be45f [web_view] add instructions details about the prebuilts by Rob Tsuk · 13 days ago
  4. dd27294 [web_view] update prebuilts by Rob Tsuk · 13 days ago
  5. f328b8b [web_view] Add horizontal arrow key scrolling by Rob Tsuk · 2 weeks ago

Fuchsia Web View

This repository contains the Fuchsia-specific code wrapping the web view class from third_party/webkit/Source/WebKit/fuchsia/WebView.h.

To get the source for the web view:

    cd apps
    git clone

To get the prebuilt dependencies:

    cd apps/web_view

After that, to build:

    ./packages/gn/ -m default,web_view
    ./buildtools/ninja -C out/debug-x86-64

Once built, load the user.bootfs on your device as normal.

Once in a non-mxsh shell

    launch web_view

You can pass a URL as a parameter to the launch. Control-C will exit the web module.

Updating the Prebuilts

Follow the instructions at to build webkit. Then

./ -p -l

to build the release version of webkit and copy it, the webview header and all of the dependencies to ./prebuilt.

Edit prebuilt.tag and replace the git commit hash in that file with the one for the latest commit in the webkit directory. Then


Commit the changed prebuild.tag file and the next time web_view users update they will get the updated prebuilts.