allow paste from DOM so we pass more test cases.
authorlars <lars@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Oct 2007 12:32:47 +0000 (12:32 +0000)
committerlars <lars@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Oct 2007 12:32:47 +0000 (12:32 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26975 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/qt/Api/qwebpage.cpp
WebKit/qt/ChangeLog

index e8720f90cdb2499e299454b02c4abe867ef828b7..9f0f01b35869b8c72a2c5282c3fd016929941986 100644 (file)
@@ -699,6 +699,7 @@ void QWebPage::setSettings(const QWebSettings &settings)
 
     // ### should be configurable
     wSettings->setDefaultTextEncodingName("iso-8859-1");
+    wSettings->setDOMPasteAllowed(true);
 }
 
 QWebSettings QWebPage::settings() const
index da496f570bfa931322dc4c7bb1272f8c148aeb50..5f07438bac30bc428bdce1595dd098d9feb5d144 100644 (file)
@@ -1,3 +1,12 @@
+2007-10-24  Lars Knoll  <lars@trolltech.com>
+
+        Reviewed by Simon.
+
+        allow paste from DOM so we pass more test cases.
+
+        * Api/qwebpage.cpp:
+        (QWebPage::setSettings):
+
 2007-10-24  Lars Knoll  <lars@trolltech.com>
 
         Reviewed by Simon.