Tolerate non-canonical URLs in WebView::setURL

Instead of using the URL ParsedURLTag constructor, which only works for
canonical URLs, use the URLParser type to interpret the string passed
to setURL().  This allows saying things like 'https://twitter.com'
instead of 'https://twitter.com/' without violating URL's internal
invariants.

Change-Id: Ie9086714043fbd2e8b7cbf792590a5cf17690ec5
1 file changed
tree: fa4b1068e498110d180cc137731082e0441cb15d
  1. Examples/
  2. JSTests/
  3. LayoutTests/
  4. ManualTests/
  5. PerformanceTests/
  6. Source/
  7. Tools/
  8. WebKit.xcworkspace/
  9. WebKitLibraries/
  10. Websites/
  11. .dir-locals.el
  12. .gitattributes
  13. .gitignore
  14. ChangeLog
  15. ChangeLog-2012-05-22
  16. CMakeLists.txt
  17. Makefile
  18. Makefile.shared
  19. README.md
README.md

This repository contains a copy of the WebKit web rendering engine. HTML rendering is needed on Fuchsia in order to authenticate with various authentication providers. This WebKit-based solution is meant as a stopgap until Chromium is ported to Fuchsia.

Building

Before building webkit, follow the build instructions for Magenta and Fuchsia.

cd third_party/webkit/Tools/fuchsia
./build_all.sh
./build_webkit.sh -r

At the Magenta prompt:

mb /system/docs/hello.html