Changeset 295696 in webkit
- Timestamp:
- Jun 21, 2022, 3:39:28 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 15 edited
-
Source/WebCore/Modules/filesystemaccess/FileSystemHandleCloseScope.h (modified) (1 diff)
-
Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (modified) (1 diff)
-
Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp (modified) (2 diffs)
-
Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp (modified) (2 diffs)
-
Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp (modified) (1 diff)
-
Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp (modified) (3 diffs)
-
Source/WebKit/Shared/ObjectIdentifierReferenceTracker.h (modified) (1 diff)
-
Source/WebKit/UIProcess/API/APIContentWorld.cpp (modified) (1 diff)
-
Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp (modified) (1 diff)
-
Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.messages.in (modified) (1 diff)
-
Source/WebKit/webpushd/PushClientConnection.mm (modified) (1 diff)
-
Tools/MiniBrowser/mac/WK2BrowserWindowController.m (modified) (1 diff)
-
Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py (modified) (1 diff)
-
Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py (modified) (1 diff)
-
Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/squash.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/Modules/filesystemaccess/FileSystemHandleCloseScope.h
r287156 r295696 54 54 55 55 private: 56 FileSystemHandleCloseScope(FileSystemHandleIdentifier identif er, bool isDirectory, FileSystemStorageConnection& connection)57 : m_identifier(identif er)56 FileSystemHandleCloseScope(FileSystemHandleIdentifier identifier, bool isDirectory, FileSystemStorageConnection& connection) 57 : m_identifier(identifier) 58 58 , m_isDirectory(isDirectory) 59 59 , m_connection(Ref { connection }) -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r295270 r295696 1529 1529 if (!$operation->name) { 1530 1530 push(@$outputArray, " using ReturnType = decltype($functionCall);\n"); 1531 push(@$outputArray, " static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, \"The implementation of named deleters without an identif er must return either bool or ExceptionOr<bool>.\");\n");1531 push(@$outputArray, " static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, \"The implementation of named deleters without an identifier must return either bool or ExceptionOr<bool>.\");\n"); 1532 1532 } 1533 1533 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterNoIdentifier.cpp
r294346 r295696 210 210 if (isVisibleNamedProperty<LegacyOverrideBuiltIns::No>(*lexicalGlobalObject, thisObject, propertyName)) { 211 211 using ReturnType = decltype(impl.deleteNamedProperty(propertyNameToString(propertyName))); 212 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identif er must return either bool or ExceptionOr<bool>.");212 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identifier must return either bool or ExceptionOr<bool>."); 213 213 return performLegacyPlatformObjectDeleteOperation(*lexicalGlobalObject, [&] { return impl.deleteNamedProperty(propertyNameToString(propertyName)); }); 214 214 } … … 224 224 if (isVisibleNamedProperty<LegacyOverrideBuiltIns::No>(*lexicalGlobalObject, thisObject, propertyName)) { 225 225 using ReturnType = decltype(impl.deleteNamedProperty(propertyNameToString(propertyName))); 226 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identif er must return either bool or ExceptionOr<bool>.");226 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identifier must return either bool or ExceptionOr<bool>."); 227 227 return performLegacyPlatformObjectDeleteOperation(*lexicalGlobalObject, [&] { return impl.deleteNamedProperty(propertyNameToString(propertyName)); }); 228 228 } -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterThrowingException.cpp
r294346 r295696 210 210 if (isVisibleNamedProperty<LegacyOverrideBuiltIns::No>(*lexicalGlobalObject, thisObject, propertyName)) { 211 211 using ReturnType = decltype(impl.deleteNamedProperty(propertyNameToString(propertyName))); 212 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identif er must return either bool or ExceptionOr<bool>.");212 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identifier must return either bool or ExceptionOr<bool>."); 213 213 return performLegacyPlatformObjectDeleteOperation(*lexicalGlobalObject, [&] { return impl.deleteNamedProperty(propertyNameToString(propertyName)); }); 214 214 } … … 224 224 if (isVisibleNamedProperty<LegacyOverrideBuiltIns::No>(*lexicalGlobalObject, thisObject, propertyName)) { 225 225 using ReturnType = decltype(impl.deleteNamedProperty(propertyNameToString(propertyName))); 226 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identif er must return either bool or ExceptionOr<bool>.");226 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identifier must return either bool or ExceptionOr<bool>."); 227 227 return performLegacyPlatformObjectDeleteOperation(*lexicalGlobalObject, [&] { return impl.deleteNamedProperty(propertyNameToString(propertyName)); }); 228 228 } -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedDeleterWithIndexedGetter.cpp
r294346 r295696 233 233 if (isVisibleNamedProperty<LegacyOverrideBuiltIns::No>(*lexicalGlobalObject, thisObject, propertyName)) { 234 234 using ReturnType = decltype(impl.deleteNamedProperty(propertyNameToString(propertyName))); 235 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identif er must return either bool or ExceptionOr<bool>.");235 static_assert(std::is_same_v<ReturnType, ExceptionOr<bool>> || std::is_same_v<ReturnType, bool>, "The implementation of named deleters without an identifier must return either bool or ExceptionOr<bool>."); 236 236 return performLegacyPlatformObjectDeleteOperation(*lexicalGlobalObject, [&] { return impl.deleteNamedProperty(propertyNameToString(propertyName)); }); 237 237 } -
trunk/Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp
r295621 r295696 443 443 }; 444 444 445 auto bufferIdentif er = [](ImageBuffer* buffer) -> std::optional<RenderingResourceIdentifier> {445 auto bufferIdentifier = [](ImageBuffer* buffer) -> std::optional<RenderingResourceIdentifier> { 446 446 if (!buffer) 447 447 return std::nullopt; … … 469 469 // No swap necessary, but we do need to return the front buffer handle. 470 470 outputData.frontBufferHandle = handleFromBuffer(*frontBuffer); 471 outputData.bufferSet = BufferIdentifierSet { bufferIdentif er(frontBuffer), bufferIdentifer(backBuffer), bufferIdentifer(secondaryBackBuffer) };471 outputData.bufferSet = BufferIdentifierSet { bufferIdentifier(frontBuffer), bufferIdentifier(backBuffer), bufferIdentifier(secondaryBackBuffer) }; 472 472 outputData.displayRequirement = SwapBuffersDisplayRequirement::NeedsNoDisplay; 473 473 return; … … 489 489 std::swap(frontBuffer, backBuffer); 490 490 491 outputData.bufferSet = BufferIdentifierSet { bufferIdentif er(frontBuffer), bufferIdentifer(backBuffer), bufferIdentifer(secondaryBackBuffer) };491 outputData.bufferSet = BufferIdentifierSet { bufferIdentifier(frontBuffer), bufferIdentifier(backBuffer), bufferIdentifier(secondaryBackBuffer) }; 492 492 if (frontBuffer) { 493 493 auto previousState = frontBuffer->setNonVolatile(); -
trunk/Source/WebKit/Shared/ObjectIdentifierReferenceTracker.h
r289622 r295696 148 148 }; 149 149 150 // Class to generate read and write references to an ObjectIdentif er.150 // Class to generate read and write references to an ObjectIdentifier. 151 151 template<typename T> 152 152 class ObjectIdentifierReferenceTracker { -
trunk/Source/WebKit/UIProcess/API/APIContentWorld.cpp
r282882 r295696 46 46 } 47 47 48 ContentWorld* ContentWorld::worldForIdentifier(WebKit::ContentWorldIdentifier identif er)48 ContentWorld* ContentWorld::worldForIdentifier(WebKit::ContentWorldIdentifier identifier) 49 49 { 50 return sharedWorldIdentifierMap().get(identif er);50 return sharedWorldIdentifierMap().get(identifier); 51 51 } 52 52 -
trunk/Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp
r295621 r295696 78 78 79 79 static constexpr auto connectionBufferSize = 1 << 21; 80 auto [streamConnection, dedicatedConnectionClientIdentif er] = IPC::StreamClientConnection::createWithDedicatedConnection(*this, connectionBufferSize);80 auto [streamConnection, dedicatedConnectionClientIdentifier] = IPC::StreamClientConnection::createWithDedicatedConnection(*this, connectionBufferSize); 81 81 m_streamConnection = WTFMove(streamConnection); 82 82 m_streamConnection->open(); 83 m_gpuProcessConnection->connection().send(Messages::GPUConnectionToWebProcess::CreateRenderingBackend(m_parameters, dedicatedConnectionClientIdentif er, m_streamConnection->streamBuffer()), 0, IPC::SendOption::DispatchMessageEvenWhenWaitingForSyncReply);83 m_gpuProcessConnection->connection().send(Messages::GPUConnectionToWebProcess::CreateRenderingBackend(m_parameters, dedicatedConnectionClientIdentifier, m_streamConnection->streamBuffer()), 0, IPC::SendOption::DispatchMessageEvenWhenWaitingForSyncReply); 84 84 } 85 85 return *m_gpuProcessConnection; -
trunk/Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.messages.in
r295488 r295696 26 26 InstallServiceWorker(struct WebCore::ServiceWorkerContextData contextData, struct WebCore::ServiceWorkerData workerData, String userAgent, enum:bool WebCore::WorkerThreadMode workerThreadMode) 27 27 UpdateAppInitiatedValue(WebCore::ServiceWorkerIdentifier serviceWorkerIdentifier, enum:bool WebCore::LastNavigationWasAppInitiated lastNavigationWasAppInitiated) 28 StartFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::ServiceWorkerIdentifier serviceWorkerIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceRequest request, struct WebCore::FetchOptions options, IPC::FormDataReference requestBody, String referrer, bool isServiceWorkerNavigationPreloadEnabled, String clientIdentif er, String resutlingClientIdentifier)28 StartFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::ServiceWorkerIdentifier serviceWorkerIdentifier, WebCore::FetchIdentifier fetchIdentifier, WebCore::ResourceRequest request, struct WebCore::FetchOptions options, IPC::FormDataReference requestBody, String referrer, bool isServiceWorkerNavigationPreloadEnabled, String clientIdentifier, String resutlingClientIdentifier) 29 29 CancelFetch(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::ServiceWorkerIdentifier serviceWorkerIdentifier, WebCore::FetchIdentifier fetchIdentifier) 30 30 ContinueDidReceiveFetchResponse(WebCore::SWServerConnectionIdentifier serverConnectionIdentifier, WebCore::ServiceWorkerIdentifier serviceWorkerIdentifier, WebCore::FetchIdentifier fetchIdentifier) -
trunk/Source/WebKit/webpushd/PushClientConnection.mm
r295270 r295696 135 135 { 136 136 String messageIdentifier; 137 auto signingIdentif er = hostAppCodeSigningIdentifier();138 if (signingIdentif er.isEmpty())137 auto signingIdentifier = hostAppCodeSigningIdentifier(); 138 if (signingIdentifier.isEmpty()) 139 139 messageIdentifier = makeString("[(0x", hex(reinterpret_cast<uint64_t>(m_xpcConnection.get()), WTF::HexConversionMode::Lowercase), ") (", String::number(identifier()), " )] "); 140 140 else 141 messageIdentifier = makeString("[", signingIdentif er, " (", String::number(identifier()), ")] ");141 messageIdentifier = makeString("[", signingIdentifier, " (", String::number(identifier()), ")] "); 142 142 143 143 Daemon::singleton().broadcastDebugMessage(makeString(messageIdentifier, message)); -
trunk/Tools/MiniBrowser/mac/WK2BrowserWindowController.m
r294285 r295696 556 556 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000 557 557 self.window.title = title; 558 pid_t gpuProcessIdentif er = _webView._gpuProcessIdentifier;559 if (gpuProcessIdentif er)560 self.window.subtitle = [NSString stringWithFormat:@"[WK2 wp %d gpup %d]%@%@", _webView._webProcessIdentifier, gpuProcessIdentif er, _isPrivateBrowsingWindow ? @" 🙈" : @"", _webView._editable ? @" ✏️" : @""];558 pid_t gpuProcessIdentifier = _webView._gpuProcessIdentifier; 559 if (gpuProcessIdentifier) 560 self.window.subtitle = [NSString stringWithFormat:@"[WK2 wp %d gpup %d]%@%@", _webView._webProcessIdentifier, gpuProcessIdentifier, _isPrivateBrowsingWindow ? @" 🙈" : @"", _webView._editable ? @" ✏️" : @""]; 561 561 else 562 562 self.window.subtitle = [NSString stringWithFormat:@"[WK2 %d]%@%@", _webView._webProcessIdentifier, _isPrivateBrowsingWindow ? @" 🙈" : @"", _webView._editable ? @" ✏️" : @""]; -
trunk/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/__init__.py
r295388 r295696 60 60 parser = argparse.ArgumentParser( 61 61 description='Custom git tooling from the WebKit team to interact with a ' + 62 'repository using identif ers',62 'repository using identifiers', 63 63 ) 64 64 arguments.LoggingGroup( -
trunk/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/revert.py
r294376 r295696 49 49 parser.add_argument( 50 50 'commit', 51 help='git hash, svn revision or identif er you want to revert'51 help='git hash, svn revision or identifier you want to revert' 52 52 ) 53 53 -
trunk/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/program/squash.py
r295388 r295696 62 62 '--base-commit', 63 63 dest='base_commit', 64 help='git hash, svn revision or identif er for the base commit that you want to squash to (merged commit will not include this commit)',64 help='git hash, svn revision or identifier for the base commit that you want to squash to (merged commit will not include this commit)', 65 65 default=None, 66 66 )
Note:
See TracChangeset
for help on using the changeset viewer.