From 236aacb2f3e7d1974399269080b7fb8d3484a8a2 Mon Sep 17 00:00:00 2001 From: Lawrence Chen Date: Fri, 13 Mar 2026 07:21:02 -0700 Subject: [PATCH 1/2] test: cover internal drag type exports --- cmuxTests/CmuxWebViewKeyEquivalentTests.swift | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/cmuxTests/CmuxWebViewKeyEquivalentTests.swift b/cmuxTests/CmuxWebViewKeyEquivalentTests.swift index 501256ad..7eb7460f 100644 --- a/cmuxTests/CmuxWebViewKeyEquivalentTests.swift +++ b/cmuxTests/CmuxWebViewKeyEquivalentTests.swift @@ -11001,6 +11001,27 @@ final class InternalTabDragConfigurationTests: XCTestCase { ) } } + +@MainActor +final class InternalTabDragBundleDeclarationTests: XCTestCase { + private func exportedTypeIdentifiers(bundle: Bundle) -> Set { + let declarations = (bundle.object(forInfoDictionaryKey: "UTExportedTypeDeclarations") as? [[String: Any]]) ?? [] + return Set(declarations.compactMap { $0["UTTypeIdentifier"] as? String }) + } + + func testAppBundleExportsInternalDragTypes() { + let exported = exportedTypeIdentifiers(bundle: Bundle(for: AppDelegate.self)) + + XCTAssertTrue( + exported.contains("com.splittabbar.tabtransfer"), + "Expected app bundle to export bonsplit tab-transfer type, got \(exported)" + ) + XCTAssertTrue( + exported.contains("com.cmux.sidebar-tab-reorder"), + "Expected app bundle to export sidebar tab-reorder type, got \(exported)" + ) + } +} #endif @MainActor From 1f9a1997b91cad0e5d8ad043530729dc41a37178 Mon Sep 17 00:00:00 2001 From: Lawrence Chen Date: Fri, 13 Mar 2026 07:24:07 -0700 Subject: [PATCH 2/2] fix: restore internal drag type exports --- Resources/Info.plist | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Resources/Info.plist b/Resources/Info.plist index 48d4f800..f1beb4f9 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -93,15 +93,27 @@ - UTImportedTypeDeclarations + UTExportedTypeDeclarations UTTypeIdentifier com.splittabbar.tabtransfer + UTTypeDescription + Bonsplit Tab Transfer + UTTypeConformsTo + + public.data + UTTypeIdentifier com.cmux.sidebar-tab-reorder + UTTypeDescription + cmux Sidebar Tab Reorder + UTTypeConformsTo + + public.data + NSAppTransportSecurity