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

Changeset 286025 in webkit


Ignore:
Timestamp:
Nov 18, 2021, 1:28:14 PM (5 years ago)
Author:
Chris Dumez
Message:

Port call sites to ScriptExecutionContext::identifier() and drop ScriptExecutionContext::contextIdentifier()
https://bugs.webkit.org/show_bug.cgi?id=233323

Reviewed by Geoffrey Garen.

Port call sites to ScriptExecutionContext::identifier() and drop ScriptExecutionContext::contextIdentifier() alias.

  • Modules/mediacapabilities/MediaCapabilities.cpp:

(WebCore::MediaCapabilities::decodingInfo):
(WebCore::MediaCapabilities::encodingInfo):

  • Modules/mediastream/RTCDataChannel.cpp:

(WebCore::RTCDataChannel::create):
(WebCore::m_contextIdentifier):

  • Modules/mediastream/RTCRtpSFrameTransform.cpp:

(WebCore::RTCRtpSFrameTransform::initializeTransformer):
(WebCore::RTCRtpSFrameTransform::createStreams):

  • crypto/CryptoAlgorithm.cpp:

(WebCore::dispatchAlgorithmOperation):

  • crypto/algorithms/CryptoAlgorithmECDH.cpp:

(WebCore::CryptoAlgorithmECDH::deriveBits):

  • crypto/algorithms/CryptoAlgorithmSHA1.cpp:

(WebCore::CryptoAlgorithmSHA1::digest):

  • crypto/algorithms/CryptoAlgorithmSHA224.cpp:

(WebCore::CryptoAlgorithmSHA224::digest):

  • crypto/algorithms/CryptoAlgorithmSHA256.cpp:

(WebCore::CryptoAlgorithmSHA256::digest):

  • crypto/algorithms/CryptoAlgorithmSHA384.cpp:

(WebCore::CryptoAlgorithmSHA384::digest):

  • crypto/algorithms/CryptoAlgorithmSHA512.cpp:

(WebCore::CryptoAlgorithmSHA512::digest):

  • crypto/mac/CryptoKeyRSAMac.cpp:

(WebCore::CryptoKeyRSA::generatePair):

  • dom/BroadcastChannel.cpp:

(WebCore::BroadcastChannel::MainThreadBridge::registerChannel):

  • dom/ScriptExecutionContext.cpp:

(WebCore::ScriptExecutionContext::ScriptExecutionContext):
(WebCore::ScriptExecutionContext::removeFromContextsMap):
(WebCore::ScriptExecutionContext::~ScriptExecutionContext):

  • dom/ScriptExecutionContext.h:

(WebCore::ScriptExecutionContext::identifier const):
(WebCore::ScriptExecutionContext::contextIdentifier const): Deleted.

  • workers/WorkerGlobalScope.cpp:

(WebCore::m_credentials):
(WebCore::WorkerGlobalScope::~WorkerGlobalScope):

Location:
trunk/Source/WebCore
Files:
23 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r286024 r286025  
     12021-11-18  Chris Dumez  <cdumez@apple.com>
     2
     3        Port call sites to ScriptExecutionContext::identifier() and drop ScriptExecutionContext::contextIdentifier()
     4        https://bugs.webkit.org/show_bug.cgi?id=233323
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Port call sites to ScriptExecutionContext::identifier() and drop ScriptExecutionContext::contextIdentifier() alias.
     9
     10        * Modules/mediacapabilities/MediaCapabilities.cpp:
     11        (WebCore::MediaCapabilities::decodingInfo):
     12        (WebCore::MediaCapabilities::encodingInfo):
     13        * Modules/mediastream/RTCDataChannel.cpp:
     14        (WebCore::RTCDataChannel::create):
     15        (WebCore::m_contextIdentifier):
     16        * Modules/mediastream/RTCRtpSFrameTransform.cpp:
     17        (WebCore::RTCRtpSFrameTransform::initializeTransformer):
     18        (WebCore::RTCRtpSFrameTransform::createStreams):
     19        * crypto/CryptoAlgorithm.cpp:
     20        (WebCore::dispatchAlgorithmOperation):
     21        * crypto/algorithms/CryptoAlgorithmECDH.cpp:
     22        (WebCore::CryptoAlgorithmECDH::deriveBits):
     23        * crypto/algorithms/CryptoAlgorithmSHA1.cpp:
     24        (WebCore::CryptoAlgorithmSHA1::digest):
     25        * crypto/algorithms/CryptoAlgorithmSHA224.cpp:
     26        (WebCore::CryptoAlgorithmSHA224::digest):
     27        * crypto/algorithms/CryptoAlgorithmSHA256.cpp:
     28        (WebCore::CryptoAlgorithmSHA256::digest):
     29        * crypto/algorithms/CryptoAlgorithmSHA384.cpp:
     30        (WebCore::CryptoAlgorithmSHA384::digest):
     31        * crypto/algorithms/CryptoAlgorithmSHA512.cpp:
     32        (WebCore::CryptoAlgorithmSHA512::digest):
     33        * crypto/mac/CryptoKeyRSAMac.cpp:
     34        (WebCore::CryptoKeyRSA::generatePair):
     35        * dom/BroadcastChannel.cpp:
     36        (WebCore::BroadcastChannel::MainThreadBridge::registerChannel):
     37        * dom/ScriptExecutionContext.cpp:
     38        (WebCore::ScriptExecutionContext::ScriptExecutionContext):
     39        (WebCore::ScriptExecutionContext::removeFromContextsMap):
     40        (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
     41        * dom/ScriptExecutionContext.h:
     42        (WebCore::ScriptExecutionContext::identifier const):
     43        (WebCore::ScriptExecutionContext::contextIdentifier const): Deleted.
     44        * workers/WorkerGlobalScope.cpp:
     45        (WebCore::m_credentials):
     46        (WebCore::WorkerGlobalScope::~WorkerGlobalScope):
     47
    1482021-11-18  Alan Bujtas  <zalan@apple.com>
    249
  • trunk/Source/WebCore/Modules/mediacapabilities/MediaCapabilities.cpp

    r284443 r286025  
    258258
    259259    m_decodingTasks.add(++m_nextTaskIdentifier, WTFMove(callback));
    260     context.postTaskToResponsibleDocument([configuration = WTFMove(configuration).isolatedCopy(), contextIdentifier = context.contextIdentifier(), weakThis = WeakPtr { this }, taskIdentifier = m_nextTaskIdentifier](auto& document) mutable {
     260    context.postTaskToResponsibleDocument([configuration = WTFMove(configuration).isolatedCopy(), contextIdentifier = context.identifier(), weakThis = WeakPtr { this }, taskIdentifier = m_nextTaskIdentifier](auto& document) mutable {
    261261        gatherDecodingInfo(document, WTFMove(configuration), [contextIdentifier, weakThis = WTFMove(weakThis), taskIdentifier](auto&& result) mutable {
    262262            ScriptExecutionContext::postTaskTo(contextIdentifier, [weakThis = WTFMove(weakThis), taskIdentifier, result = WTFMove(result).isolatedCopy()](auto&) mutable {
     
    315315
    316316    m_encodingTasks.add(++m_nextTaskIdentifier, WTFMove(callback));
    317     context.postTaskToResponsibleDocument([configuration = WTFMove(configuration).isolatedCopy(), contextIdentifier = context.contextIdentifier(), weakThis = WeakPtr { this }, taskIdentifier = m_nextTaskIdentifier](auto& document) mutable {
     317    context.postTaskToResponsibleDocument([configuration = WTFMove(configuration).isolatedCopy(), contextIdentifier = context.identifier(), weakThis = WeakPtr { this }, taskIdentifier = m_nextTaskIdentifier](auto& document) mutable {
    318318        gatherEncodingInfo(document, WTFMove(configuration), [contextIdentifier, weakThis = WTFMove(weakThis), taskIdentifier](auto&& result) mutable {
    319319            ScriptExecutionContext::postTaskTo(contextIdentifier, [weakThis = WTFMove(weakThis), taskIdentifier, result = WTFMove(result).isolatedCopy()](auto&) mutable {
  • trunk/Source/WebCore/Modules/mediastream/RTCDataChannel.cpp

    r285654 r286025  
    7272            return;
    7373        if (auto* context = channel->scriptExecutionContext())
    74             channel->m_handler->setClient(*channel, context->contextIdentifier());
     74            channel->m_handler->setClient(*channel, context->identifier());
    7575    });
    7676    return channel;
     
    9898    , m_handler(WTFMove(handler))
    9999    , m_identifier(RTCDataChannelIdentifier { Process::identifier(), ObjectIdentifier<RTCDataChannelLocalIdentifierType>::generateThreadSafe() })
    100     , m_contextIdentifier(context.isDocument() ? ScriptExecutionContextIdentifier { } : context.contextIdentifier())
     100    , m_contextIdentifier(context.isDocument() ? ScriptExecutionContextIdentifier { } : context.identifier())
    101101    , m_label(WTFMove(label))
    102102    , m_options(WTFMove(options))
  • trunk/Source/WebCore/Modules/mediastream/RTCRtpSFrameTransform.cpp

    r284095 r286025  
    160160    m_transformer->setMediaType(backend.mediaType());
    161161
    162     backend.setTransformableFrameCallback([transformer = m_transformer, identifier = context->contextIdentifier(), backend = Ref { backend }, weakThis = WeakPtr { *this }](auto&& frame) {
     162    backend.setTransformableFrameCallback([transformer = m_transformer, identifier = context->identifier(), backend = Ref { backend }, weakThis = WeakPtr { *this }](auto&& frame) {
    163163        auto chunk = frame->data();
    164164        if (!chunk.data() || !chunk.size())
     
    232232        // We do not want to throw any exception in the transform to make sure we do not error the transform.
    233233        WTF::switchOn(frame, [&](RefPtr<RTCEncodedAudioFrame>& value) {
    234             transformFrame(*value, globalObject, transformer.get(), *readableStreamSource, context.contextIdentifier(), weakThis);
     234            transformFrame(*value, globalObject, transformer.get(), *readableStreamSource, context.identifier(), weakThis);
    235235        }, [&](RefPtr<RTCEncodedVideoFrame>& value) {
    236             transformFrame(*value, globalObject, transformer.get(), *readableStreamSource, context.contextIdentifier(), weakThis);
     236            transformFrame(*value, globalObject, transformer.get(), *readableStreamSource, context.identifier(), weakThis);
    237237        }, [&](RefPtr<ArrayBuffer>& value) {
    238             transformFrame({ static_cast<const uint8_t*>(value->data()), value->byteLength() }, globalObject, transformer.get(), *readableStreamSource, context.contextIdentifier(), weakThis);
     238            transformFrame({ static_cast<const uint8_t*>(value->data()), value->byteLength() }, globalObject, transformer.get(), *readableStreamSource, context.identifier(), weakThis);
    239239        }, [&](RefPtr<ArrayBufferView>& value) {
    240             transformFrame({ static_cast<const uint8_t*>(value->data()), value->byteLength() }, globalObject, transformer.get(), *readableStreamSource, context.contextIdentifier(), weakThis);
     240            transformFrame({ static_cast<const uint8_t*>(value->data()), value->byteLength() }, globalObject, transformer.get(), *readableStreamSource, context.identifier(), weakThis);
    241241        });
    242242        return { };
  • trunk/Source/WebCore/crypto/CryptoAlgorithm.cpp

    r284857 r286025  
    9797{
    9898    workQueue.dispatch(
    99         [operation = WTFMove(operation), callback = WTFMove(callback), exceptionCallback = WTFMove(exceptionCallback), contextIdentifier = context.contextIdentifier()]() mutable {
     99        [operation = WTFMove(operation), callback = WTFMove(callback), exceptionCallback = WTFMove(exceptionCallback), contextIdentifier = context.identifier()]() mutable {
    100100            auto result = operation();
    101101            ScriptExecutionContext::postTaskTo(contextIdentifier, [result = crossThreadCopy(result), callback = WTFMove(callback), exceptionCallback = WTFMove(exceptionCallback)](auto&) mutable {
  • trunk/Source/WebCore/crypto/algorithms/CryptoAlgorithmECDH.cpp

    r284095 r286025  
    112112    // the result validation and callback dispatch into unifiedCallback.
    113113    workQueue.dispatch(
    114         [baseKey = WTFMove(baseKey), publicKey = ecParameters.publicKey, length, unifiedCallback = WTFMove(unifiedCallback), contextIdentifier = context.contextIdentifier()]() mutable {
     114        [baseKey = WTFMove(baseKey), publicKey = ecParameters.publicKey, length, unifiedCallback = WTFMove(unifiedCallback), contextIdentifier = context.identifier()]() mutable {
    115115            auto derivedKey = platformDeriveBits(downcast<CryptoKeyEC>(baseKey.get()), downcast<CryptoKeyEC>(*publicKey));
    116116            ScriptExecutionContext::postTaskTo(contextIdentifier, [derivedKey = WTFMove(derivedKey), length, unifiedCallback = WTFMove(unifiedCallback)](auto&) mutable {
  • trunk/Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA1.cpp

    r238754 r286025  
    5252    }
    5353
    54     workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.contextIdentifier()]() mutable {
     54    workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.identifier()]() mutable {
    5555        digest->addBytes(message.data(), message.size());
    5656        auto result = digest->computeHash();
  • trunk/Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA224.cpp

    r238754 r286025  
    5252    }
    5353
    54     workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.contextIdentifier()]() mutable {
     54    workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.identifier()]() mutable {
    5555        digest->addBytes(message.data(), message.size());
    5656        auto result = digest->computeHash();
  • trunk/Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA256.cpp

    r238754 r286025  
    5252    }
    5353
    54     workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.contextIdentifier()]() mutable {
     54    workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.identifier()]() mutable {
    5555        digest->addBytes(message.data(), message.size());
    5656        auto result = digest->computeHash();
  • trunk/Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA384.cpp

    r238754 r286025  
    5252    }
    5353
    54     workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.contextIdentifier()]() mutable {
     54    workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.identifier()]() mutable {
    5555        digest->addBytes(message.data(), message.size());
    5656        auto result = digest->computeHash();
  • trunk/Source/WebCore/crypto/algorithms/CryptoAlgorithmSHA512.cpp

    r238754 r286025  
    5252    }
    5353
    54     workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.contextIdentifier()]() mutable {
     54    workQueue.dispatch([digest = WTFMove(digest), message = WTFMove(message), callback = WTFMove(callback), contextIdentifier = context.identifier()]() mutable {
    5555        digest->addBytes(message.data(), message.size());
    5656        auto result = digest->computeHash();
  • trunk/Source/WebCore/crypto/mac/CryptoKeyRSAMac.cpp

    r278253 r286025  
    278278    __block auto blockCallback(WTFMove(callback));
    279279    __block auto blockFailureCallback(WTFMove(failureCallback));
    280     auto contextIdentifier = context->contextIdentifier();
     280    auto contextIdentifier = context->identifier();
    281281    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
    282282        CCRSACryptorRef ccPublicKey = nullptr;
  • trunk/Source/WebCore/dom/BroadcastChannel.cpp

    r285587 r286025  
    119119void BroadcastChannel::MainThreadBridge::registerChannel()
    120120{
    121     ensureOnMainThread([this, contextIdentifier = m_broadcastChannel->scriptExecutionContext()->contextIdentifier()](auto& document) {
     121    ensureOnMainThread([this, contextIdentifier = m_broadcastChannel->scriptExecutionContext()->identifier()](auto& document) {
    122122        m_origin = { shouldPartitionOrigin(document) ? document.topOrigin().data() : document.securityOrigin().data(), document.securityOrigin().data() };
    123123        if (auto* page = document.page())
  • trunk/Source/WebCore/dom/ScriptExecutionContext.cpp

    r286012 r286025  
    115115
    116116ScriptExecutionContext::ScriptExecutionContext()
    117     : m_contextIdentifier(ScriptExecutionContextIdentifier::generateThreadSafe())
     117    : m_identifier(ScriptExecutionContextIdentifier::generateThreadSafe())
    118118{
    119119    Locker locker { allScriptExecutionContextsMapLock };
    120     allScriptExecutionContextsMap().add(m_contextIdentifier, this);
     120    allScriptExecutionContextsMap().add(m_identifier, this);
    121121}
    122122
     
    124124{
    125125    Locker locker { allScriptExecutionContextsMapLock };
    126     ASSERT(allScriptExecutionContextsMap().contains(m_contextIdentifier));
    127     allScriptExecutionContextsMap().remove(m_contextIdentifier);
     126    ASSERT(allScriptExecutionContextsMap().contains(m_identifier));
     127    allScriptExecutionContextsMap().remove(m_identifier);
    128128}
    129129
     
    159159    {
    160160        Locker locker { allScriptExecutionContextsMapLock };
    161         ASSERT_WITH_MESSAGE(!allScriptExecutionContextsMap().contains(m_contextIdentifier), "A ScriptExecutionContext subclass instance implementing postTask should have already removed itself from the map");
     161        ASSERT_WITH_MESSAGE(!allScriptExecutionContextsMap().contains(m_identifier), "A ScriptExecutionContext subclass instance implementing postTask should have already removed itself from the map");
    162162    }
    163163
  • trunk/Source/WebCore/dom/ScriptExecutionContext.h

    r286012 r286025  
    284284    WEBCORE_EXPORT static bool ensureOnContextThread(ScriptExecutionContextIdentifier, Task&&);
    285285
    286     // FIXME: Port call sites to identifier() and drop this function.
    287     ScriptExecutionContextIdentifier contextIdentifier() const { return m_contextIdentifier; }
    288     ScriptExecutionContextIdentifier identifier() const { return m_contextIdentifier; }
     286    ScriptExecutionContextIdentifier identifier() const { return m_identifier; }
    289287
    290288protected:
     
    364362
    365363    String m_domainForCachePartition;
    366     mutable ScriptExecutionContextIdentifier m_contextIdentifier;
     364    mutable ScriptExecutionContextIdentifier m_identifier;
    367365};
    368366
  • trunk/Source/WebCore/inspector/agents/worker/ServiceWorkerAgent.cpp

    r275443 r286025  
    5858{
    5959    return Protocol::ServiceWorker::Configuration::create()
    60         .setTargetId(m_serviceWorkerGlobalScope.identifier())
     60        .setTargetId(m_serviceWorkerGlobalScope.inspectorIdentifier())
    6161        .setSecurityOrigin(m_serviceWorkerGlobalScope.securityOrigin()->toRawString())
    6262        .setUrl(m_serviceWorkerGlobalScope.contextData().scriptURL.string())
  • trunk/Source/WebCore/page/cocoa/ResourceUsageThreadCocoa.mm

    r278185 r286025  
    179179            mach_port_t machThread = thread->thread()->machThread();
    180180            if (MACH_PORT_VALID(machThread))
    181                 knownWorkerThreads.set(machThread, thread->identifier().isolatedCopy());
     181                knownWorkerThreads.set(machThread, thread->inspectorIdentifier().isolatedCopy());
    182182        }
    183183    }
  • trunk/Source/WebCore/workers/WorkerGlobalScope.cpp

    r285653 r286025  
    8989    : WorkerOrWorkletGlobalScope(type, isMainThread() ? Ref { commonVM() } : JSC::VM::create(), &thread)
    9090    , m_url(params.scriptURL)
    91     , m_identifier(params.identifier)
     91    , m_inspectorIdentifier(params.inspectorIdentifier)
    9292    , m_userAgent(params.userAgent)
    9393    , m_isOnline(params.isOnline)
     
    104104    {
    105105        Locker locker { allWorkerGlobalScopeIdentifiersLock };
    106         allWorkerGlobalScopeIdentifiers().add(contextIdentifier());
     106        allWorkerGlobalScopeIdentifiers().add(identifier());
    107107    }
    108108
     
    125125    {
    126126        Locker locker { allWorkerGlobalScopeIdentifiersLock };
    127         allWorkerGlobalScopeIdentifiers().remove(contextIdentifier());
     127        allWorkerGlobalScopeIdentifiers().remove(identifier());
    128128    }
    129129
  • trunk/Source/WebCore/workers/WorkerGlobalScope.h

    r285566 r286025  
    8080    const URL& url() const final { return m_url; }
    8181    String origin() const;
    82     const String& identifier() const { return m_identifier; }
     82    const String& inspectorIdentifier() const { return m_inspectorIdentifier; }
    8383
    8484    IDBClient::IDBConnectionProxy* idbConnectionProxy() final;
     
    178178
    179179    EventTarget* errorEventTarget() final;
    180     String resourceRequestIdentifier() const final { return m_identifier; }
     180    String resourceRequestIdentifier() const final { return m_inspectorIdentifier; }
    181181    SocketProvider* socketProvider() final;
    182182    RefPtr<RTCDataChannelRemoteHandlerConnection> createRTCDataChannelRemoteHandlerConnection() final;
     
    192192
    193193    URL m_url;
    194     String m_identifier;
     194    String m_inspectorIdentifier;
    195195    String m_userAgent;
    196196
  • trunk/Source/WebCore/workers/WorkerOrWorkletThread.cpp

    r284857 r286025  
    6767}
    6868
    69 WorkerOrWorkletThread::WorkerOrWorkletThread(const String& identifier, WorkerThreadMode workerThreadMode)
    70     : m_identifier(identifier)
     69WorkerOrWorkletThread::WorkerOrWorkletThread(const String& inspectorIdentifier, WorkerThreadMode workerThreadMode)
     70    : m_inspectorIdentifier(inspectorIdentifier)
    7171    , m_runLoop(constructRunLoop(workerThreadMode))
    7272{
  • trunk/Source/WebCore/workers/WorkerOrWorkletThread.h

    r284857 r286025  
    6464    void resume();
    6565
    66     const String& identifier() const { return m_identifier; }
     66    const String& inspectorIdentifier() const { return m_inspectorIdentifier; }
    6767
    6868    static HashSet<WorkerOrWorkletThread*>& workerOrWorkletThreads() WTF_REQUIRES_LOCK(workerOrWorkletThreadsLock());
     
    7171
    7272protected:
    73     explicit WorkerOrWorkletThread(const String& identifier, WorkerThreadMode = WorkerThreadMode::CreateNewThread);
     73    explicit WorkerOrWorkletThread(const String& inspectorIdentifier, WorkerThreadMode = WorkerThreadMode::CreateNewThread);
    7474    void workerOrWorkletThread();
    7575
     
    8585    static Lock s_workerOrWorkletThreadsLock;
    8686
    87     String m_identifier;
     87    String m_inspectorIdentifier;
    8888    Lock m_threadCreationAndGlobalScopeLock;
    8989    RefPtr<WorkerOrWorkletGlobalScope> m_globalScope;
  • trunk/Source/WebCore/workers/WorkerThread.cpp

    r284093 r286025  
    5151        scriptURL.isolatedCopy(),
    5252        name.isolatedCopy(),
    53         identifier.isolatedCopy(),
     53        inspectorIdentifier.isolatedCopy(),
    5454        userAgent.isolatedCopy(),
    5555        isOnline,
     
    8888
    8989WorkerThread::WorkerThread(const WorkerParameters& params, const ScriptBuffer& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerDebuggerProxy& workerDebuggerProxy, WorkerReportingProxy& workerReportingProxy, WorkerThreadStartMode startMode, const SecurityOrigin& topOrigin, IDBClient::IDBConnectionProxy* connectionProxy, SocketProvider* socketProvider, JSC::RuntimeFlags runtimeFlags)
    90     : WorkerOrWorkletThread(params.identifier.isolatedCopy(), params.workerThreadMode)
     90    : WorkerOrWorkletThread(params.inspectorIdentifier.isolatedCopy(), params.workerThreadMode)
    9191    , m_workerLoaderProxy(workerLoaderProxy)
    9292    , m_workerDebuggerProxy(workerDebuggerProxy)
  • trunk/Source/WebCore/workers/WorkerThread.h

    r284857 r286025  
    6262    URL scriptURL;
    6363    String name;
    64     String identifier;
     64    String inspectorIdentifier;
    6565    String userAgent;
    6666    bool isOnline;
Note: See TracChangeset for help on using the changeset viewer.