⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 293735 in webkit


Ignore:
Timestamp:
May 3, 2022, 12:15:26 PM (4 years ago)
Author:
Chris Dumez
Message:

REGRESSION (r293703): 358 JSC tests failing
​https://bugs.webkit.org/show_bug.cgi?id=240023

Reviewed by Yusuke Suzuki.

Make sure WTF::initialize() calls AtomString::init() given that JSC now relies on
emptyAtom().

  • Tools/TestWebKitAPI/TestsController.cpp:

(TestWebKitAPI::TestsController::TestsController):

  • Source/WTF/wtf/Threading.cpp:

(WTF::initialize):

  • Source/WTF/wtf/text/AtomString.cpp:

(WTF::AtomString::init):

  • Source/WebCore/platform/CommonAtomStrings.cpp:

(WebCore::initializeCommonAtomStrings):

Canonical link: ​https://commits.webkit.org/250223@main

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r293729 r293735  
     12022-05-03  Chris Dumez  <cdumez@apple.com>
     2
     3        REGRESSION (r293703): 358 JSC tests failing
     4        https://bugs.webkit.org/show_bug.cgi?id=240023
     5        <rdar://problem/92676663>
     6
     7        Reviewed by Yusuke Suzuki.
     8
     9        Make sure WTF::initialize() calls AtomString::init() given that JSC now relies on
     10        emptyAtom().
     11
     12        * wtf/Threading.cpp:
     13        (WTF::initialize):
     14        * wtf/text/AtomString.cpp:
     15        (WTF::AtomString::init):
     16
    1172022-05-03  Philippe Normand  <pnormand@igalia.com> and Pavel Feldman <pavel.feldman@gmail.com> and Yury Semikhatsky <yurys@chromium.org>
    218
  • trunk/Source/WTF/wtf/Threading.cpp

    r291203 r293735  
    3535#include <wtf/ThreadingPrimitives.h>
    3636#include <wtf/WTFConfig.h>
     37#include <wtf/text/AtomString.h>
    3738#include <wtf/threads/Signals.h>
    3839
    … …  
    475476        SignalHandlers::initialize();
    476477#endif
     478        AtomString::init();
    477479    });
    478480}
  • trunk/Source/WTF/wtf/text/AtomString.cpp

    r293701 r293735  
    142142    static std::once_flag initializeKey;
    143143    std::call_once(initializeKey, [] {
    144         // Initialization is not thread safe, so this function must be called from the main thread first.
    145         ASSERT(isUIThread());
    146 
    147144        nullAtomData.construct();
    148145        emptyAtomData.construct(AtomString::fromLatin1(""));
  • trunk/Source/WebCore/ChangeLog

    r293728 r293735  
     12022-05-03  Chris Dumez  <cdumez@apple.com>
     2
     3        REGRESSION (r293703): 358 JSC tests failing
     4        https://bugs.webkit.org/show_bug.cgi?id=240023
     5        <rdar://problem/92676663>
     6
     7        Reviewed by Yusuke Suzuki.
     8
     9        Make sure WTF::initialize() calls AtomString::init() given that JSC now relies on
     10        emptyAtom().
     11
     12        (WebCore::initializeCommonAtomStrings):
     13        * platform/CommonAtomStrings.cpp:
     14        (WebCore::initializeCommonAtomStrings):
     15
    1162022-05-03  Youenn Fablet  <youenn@apple.com>
    217
  • trunk/Source/WebCore/platform/CommonAtomStrings.cpp

    r293548 r293735  
    4343    static std::once_flag initializeKey;
    4444    std::call_once(initializeKey, [] {
    45         AtomString::init();
    46 
    4745        WEBCORE_COMMON_ATOM_STRINGS_FOR_EACH_KEYWORD(INITIALIZE_COMMON_ATOM)
    4846    });
  • trunk/Tools/ChangeLog

    r293729 r293735  
     12022-05-03  Chris Dumez  <cdumez@apple.com>
     2
     3        REGRESSION (r293703): 358 JSC tests failing
     4        https://bugs.webkit.org/show_bug.cgi?id=240023
     5        <rdar://problem/92676663>
     6
     7        Reviewed by Yusuke Suzuki.
     8
     9        Make sure WTF::initialize() calls AtomString::init() given that JSC now relies on
     10        emptyAtom().
     11
     12        * TestWebKitAPI/TestsController.cpp:
     13        (TestWebKitAPI::TestsController::TestsController):
     14
    1152022-05-03  Philippe Normand  <pnormand@igalia.com> and Yury Semikhatsky <yurys@chromium.org>
    216
  • trunk/Tools/TestWebKitAPI/TestsController.cpp

    r263575 r293735  
    7777    WTF::initializeMainThread();
    7878    WTF::setProcessPrivileges(allPrivileges());
    79     AtomString::init();
    8079}
    8180
Note: See TracChangeset for help on using the changeset viewer.