[webkit] Fix HTMLMediaElement.canPlayType()

Before this change, trying to create an HTMLVideoElement would fail 
and returned undefined, which would cause JavaScript to abort when 
trying to call the canPlayType() method.

This change allows the element to be created, and thus allows 
canPlayType() to return false for all types.

Change-Id: I510aff51a738629bf4400d2fe5120f9a413f82e3
3 files changed
tree: 146e8e559091e31cdfd04a4fefdca6820c4215b1
  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