From eb19bac9797b829463538c8398cb178fb3dd8a99 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Tue, 21 Jun 2011 13:50:35 +0100 Subject: 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 --- Source/WebKit/android/jni/WebSettings.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/WebKit/android/jni/WebSettings.cpp') 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); } }; -- cgit v1.1