diff options
author | Ben Murdoch <benm@google.com> | 2011-06-21 13:50:35 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-06-21 16:48:17 +0100 |
commit | eb19bac9797b829463538c8398cb178fb3dd8a99 (patch) | |
tree | 3d12c29c60f2ccee9bfdda1f57db9cd5125eec03 | |
parent | 089f92a7917ce6f0d587439f997fbf00c1841c39 (diff) | |
download | external_webkit-eb19bac9797b829463538c8398cb178fb3dd8a99.zip external_webkit-eb19bac9797b829463538c8398cb178fb3dd8a99.tar.gz external_webkit-eb19bac9797b829463538c8398cb178fb3dd8a99.tar.bz2 |
Fix fast/encoding/dumpAsText//utf-16-no-bom.xml
This test now expects us to use the XMLTreeViewer, so make
sure that it's enabled.
SetDeveloperExtras enables the XMLTreeViewer and Inspector, but
we have no inspector on Android, so this is just toggling the
XMLTreeViewer on.
Change-Id: I365930f34003d6e97aed88af77746c784a3c3bd1
-rw-r--r-- | Source/WebKit/android/jni/WebSettings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit/android/jni/WebSettings.cpp b/Source/WebKit/android/jni/WebSettings.cpp index 7ba5e96..6f18695 100644 --- a/Source/WebKit/android/jni/WebSettings.cpp +++ b/Source/WebKit/android/jni/WebSettings.cpp @@ -567,6 +567,10 @@ public: } } #endif + + // This is required to enable the XMLTreeViewer when loading an XML document that + // has no style attached to it. http://trac.webkit.org/changeset/79799 + s->setDeveloperExtrasEnabled(true); } }; |