Changeset 169866 in webkit


Ignore:
Timestamp:
Jun 11, 2014 5:30:22 PM (10 years ago)
Author:
ap@apple.com
Message:

editing/selection/selection-in-iframe-removed-crash.html or selection-invalid-offset.html crashes intermittently
https://bugs.webkit.org/show_bug.cgi?id=111521
<rdar://problem/15159351>

Reviewed by Brady Eidson.

Source/WebCore:
Covered by existing tests.

  • loader/DocumentLoader.cpp: (WebCore::DocumentLoader::commitData): Bail out if the

load was canceled from under receivedFirstData(). Since this is where we commit the
load, there are ample opportunities for scripts or clients to do anything.

LayoutTests:

  • platform/mac/TestExpectations: Removed expectations for the tests.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r169862 r169866  
     12014-06-11  Alexey Proskuryakov  <ap@apple.com>
     2
     3        editing/selection/selection-in-iframe-removed-crash.html or selection-invalid-offset.html crashes intermittently
     4        https://bugs.webkit.org/show_bug.cgi?id=111521
     5        <rdar://problem/15159351>
     6
     7        Reviewed by Brady Eidson.
     8
     9        * platform/mac/TestExpectations: Removed expectations for the tests.
     10
    1112014-06-11  Zalan Bujtas  <zalan@apple.com>
    212
  • trunk/LayoutTests/platform/mac/TestExpectations

    r169777 r169866  
    989989# Need support for ResourceHandle::didChangePriority and DRT support
    990990webkit.org/b/111016 http/tests/loading/promote-img-preload-priority.html [ Failure ]
    991 
    992 webkit.org/b/111521 editing/selection/selection-invalid-offset.html [ Crash Pass ]
    993 webkit.org/b/111521 editing/selection/selection-in-iframe-removed-crash.html [ Crash Pass ]
    994991
    995992webkit.org/b/110546 [ Debug ] fast/parser/document-write-fighting-eof.html [ Skip ]
  • trunk/Source/WebCore/ChangeLog

    r169862 r169866  
     12014-06-11  Alexey Proskuryakov  <ap@apple.com>
     2
     3        editing/selection/selection-in-iframe-removed-crash.html or selection-invalid-offset.html crashes intermittently
     4        https://bugs.webkit.org/show_bug.cgi?id=111521
     5        <rdar://problem/15159351>
     6
     7        Reviewed by Brady Eidson.
     8
     9        Covered by existing tests.
     10
     11        * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::commitData): Bail out if the
     12        load was canceled from under receivedFirstData(). Since this is where we commit the
     13        load, there are ample opportunities for scripts or clients to do anything.
     14
    1152014-06-11  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/Source/WebCore/loader/DocumentLoader.cpp

    r169679 r169866  
    813813            frameLoader()->receivedFirstData();
    814814
     815        // The load could be canceled under receivedFirstData(), which makes delegate calls and even sometimes dispatches DOM events.
     816        if (!isLoading())
     817            return;
     818
    815819        bool userChosen;
    816820        String encoding;
Note: See TracChangeset for help on using the changeset viewer.