Changeset 259068 in webkit


Ignore:
Timestamp:
Mar 26, 2020 1:25:15 PM (4 years ago)
Author:
Chris Dumez
Message:

REGRESSION: ASSERTION FAILED: m_wrapper on storage/indexeddb/modern/abort-requests tests
https://bugs.webkit.org/show_bug.cgi?id=209499
<rdar://problem/60842165>

Reviewed by Alex Christensen.

Source/WebCore:

IDBTransaction::hasPendingActivity() was failing to consult ActiveDOMObject::hasPendingActivity()
so the JS wrapper would get garbage collected even though the ActiveDOMObject base class was
aware of some pending activity.

No new tests, unskipped existing tests.

  • Modules/indexeddb/IDBTransaction.cpp:

(WebCore::IDBTransaction::hasPendingActivity const):

LayoutTests:

Unskip tests that should no longer be flaky.

  • platform/mac-wk1/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r259065 r259068  
     12020-03-26  Chris Dumez  <cdumez@apple.com>
     2
     3        REGRESSION: ASSERTION FAILED: m_wrapper on storage/indexeddb/modern/abort-requests tests
     4        https://bugs.webkit.org/show_bug.cgi?id=209499
     5        <rdar://problem/60842165>
     6
     7        Reviewed by Alex Christensen.
     8
     9        Unskip tests that should no longer be flaky.
     10
     11        * platform/mac-wk1/TestExpectations:
     12
    1132020-03-25  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/LayoutTests/platform/mac-wk1/TestExpectations

    r259031 r259068  
    962962webkit.org/b/209494 fast/events/mouse-cursor-no-mousemove.html [ Pass Failure ]
    963963
    964 webkit.org/b/209499 [ Catalina ] storage/indexeddb/modern/abort-requests-cancelled.html [ Pass Timeout Crash ]
    965 
    966 webkit.org/b/209499 [ Catalina ] storage/indexeddb/modern/abort-requests-cancelled-private.html [ Pass Timeout Crash ]
    967 
    968964webkit.org/b/209560 imported/w3c/web-platform-tests/xhr/send-response-upload-event-progress.htm [ Pass Crash Failure ]
  • trunk/Source/WebCore/ChangeLog

    r259065 r259068  
     12020-03-26  Chris Dumez  <cdumez@apple.com>
     2
     3        REGRESSION: ASSERTION FAILED: m_wrapper on storage/indexeddb/modern/abort-requests tests
     4        https://bugs.webkit.org/show_bug.cgi?id=209499
     5        <rdar://problem/60842165>
     6
     7        Reviewed by Alex Christensen.
     8
     9        IDBTransaction::hasPendingActivity() was failing to consult ActiveDOMObject::hasPendingActivity()
     10        so the JS wrapper would get garbage collected even though the ActiveDOMObject base class was
     11        aware of some pending activity.
     12
     13        No new tests, unskipped existing tests.
     14
     15        * Modules/indexeddb/IDBTransaction.cpp:
     16        (WebCore::IDBTransaction::hasPendingActivity const):
     17
    1182020-03-25  Ryosuke Niwa  <rniwa@webkit.org>
    219
  • trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp

    r256621 r259068  
    319319{
    320320    ASSERT(canCurrentThreadAccessThreadLocalData(m_database->originThread()) || Thread::mayBeGCThread());
     321    if (ActiveDOMObject::hasPendingActivity())
     322        return true;
     323
    321324    return !m_contextStopped && m_state != IndexedDB::TransactionState::Finished;
    322325}
Note: See TracChangeset for help on using the changeset viewer.