Changeset 87298 in webkit


Ignore:
Timestamp:
May 25, 2011 9:33:57 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-25 Igor Oliveira <igor.oliveira@openbossa.org>

Reviewed by Antonio Gomes.

[Qt] QtWebKit crashes when dragging not loaded images
https://bugs.webkit.org/show_bug.cgi?id=61314

Checks if WebKit crashes when dragging an image not yet loaded.

  • http/tests/misc/drag-not-loaded-image-expected.txt: Added.
  • http/tests/misc/drag-not-loaded-image.html: Added.

2011-05-25 Igor Oliveira <igor.oliveira@openbossa.org>

Reviewed by Antonio Gomes.

[Qt] QtWebKit crashes when dragging not loaded images
https://bugs.webkit.org/show_bug.cgi?id=61314

Checks if nativeImageForCurrentFrame is a valid pointer.

Test: http/tests/misc/drag-not-loaded-image.html

  • platform/qt/DragImageQt.cpp: (WebCore::createDragImageFromImage):
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r87296 r87298  
     12011-05-25  Igor Oliveira  <igor.oliveira@openbossa.org>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [Qt] QtWebKit crashes when dragging not loaded images
     6        https://bugs.webkit.org/show_bug.cgi?id=61314
     7
     8        Checks if WebKit crashes when dragging an image not yet loaded.
     9
     10        * http/tests/misc/drag-not-loaded-image-expected.txt: Added.
     11        * http/tests/misc/drag-not-loaded-image.html: Added.
     12
    1132011-05-25  Andrey Kosyakov  <caseq@chromium.org>
    214
  • trunk/Source/WebCore/ChangeLog

    r87297 r87298  
     12011-05-25  Igor Oliveira  <igor.oliveira@openbossa.org>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [Qt] QtWebKit crashes when dragging not loaded images
     6        https://bugs.webkit.org/show_bug.cgi?id=61314
     7
     8        Checks if nativeImageForCurrentFrame is a valid pointer.
     9
     10        Test: http/tests/misc/drag-not-loaded-image.html
     11
     12        * platform/qt/DragImageQt.cpp:
     13        (WebCore::createDragImageFromImage):
     14
    1152011-05-25  Ryuan Choi  <ryuan.choi@samsung.com>
    216
  • trunk/Source/WebCore/platform/qt/DragImageQt.cpp

    r72495 r87298  
    6464DragImageRef createDragImageFromImage(Image* image)
    6565{
    66     if (!image)
     66    if (!image || !image->nativeImageForCurrentFrame())
    6767        return 0;
    6868
Note: See TracChangeset for help on using the changeset viewer.