[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
trey
trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:48:27 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 03f4622344ad096f4615847e61d1342b1abfeb78
Author: trey <trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Jun 25 05:20:55 2004 +0000
3710422 - REGRESSION: Safari crashes trying to send onbeforecut event at about://blank
Simple fix - don't try to send the event to the body element if we have no body element.
Reviewed by NOBODY (OOPS!).
* kwq/KWQKHTMLPart.mm:
(KWQKHTMLPart::dispatchCPPEvent):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 074ee6a..a21e771 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,16 @@
2004-06-24 Trey Matteson <trey at apple.com>
+ 3710422 - REGRESSION: Safari crashes trying to send onbeforecut event at about://blank
+
+ Simple fix - don't try to send the event to the body element if we have no body element.
+
+ Reviewed by NOBODY (OOPS!).
+
+ * kwq/KWQKHTMLPart.mm:
+ (KWQKHTMLPart::dispatchCPPEvent):
+
+2004-06-24 Trey Matteson <trey at apple.com>
+
3704950 drag image in DB ConfigBar has horizontal graphics turd WebCore JavaScript
When we generate a drag image (or a selection image too, for that matter) we
diff --git a/WebCore/kwq/KWQKHTMLPart.mm b/WebCore/kwq/KWQKHTMLPart.mm
index b27322a..593d9b8 100644
--- a/WebCore/kwq/KWQKHTMLPart.mm
+++ b/WebCore/kwq/KWQKHTMLPart.mm
@@ -2101,9 +2101,12 @@ void KWQKHTMLPart::dragSourceEndedAt(const QPoint &loc)
bool KWQKHTMLPart::dispatchCPPEvent(int eventId, KWQClipboard::AccessPolicy policy)
{
NodeImpl *target = d->m_selection.start().element();
- if (!target) {
+ if (!target && docImpl()) {
target = docImpl()->body();
}
+ if (!target) {
+ return true;
+ }
KWQClipboard *clipboard = new KWQClipboard(false, [NSPasteboard generalPasteboard], (KWQClipboard::AccessPolicy)policy);
clipboard->ref();
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list