Changeset 277614 in webkit
- Timestamp:
- May 17, 2021, 4:24:23 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 3 deleted
- 20 edited
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/Shared/API/APIObject.h (modified) (4 diffs)
-
Source/WebKit/Shared/API/APIPageGroupHandle.cpp (deleted)
-
Source/WebKit/Shared/API/APIPageGroupHandle.h (deleted)
-
Source/WebKit/Shared/Cocoa/APIObject.mm (modified) (2 diffs)
-
Source/WebKit/Shared/Cocoa/SharedRingBufferStorage.cpp (modified) (2 diffs)
-
Source/WebKit/Shared/UserData.cpp (modified) (3 diffs)
-
Source/WebKit/Shared/mac/MediaFormatReader/MediaSampleCursor.h (modified) (1 diff)
-
Source/WebKit/Sources.txt (modified) (1 diff)
-
Source/WebKit/UIProcess/WebProcessProxy.cpp (modified) (4 diffs)
-
Source/WebKit/WebKit.xcodeproj/project.pbxproj (modified) (6 diffs)
-
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.h (modified) (1 diff)
-
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.mm (modified) (1 diff)
-
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroupInternal.h (deleted)
-
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.h (modified) (2 diffs)
-
Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm (modified) (2 diffs)
-
Source/WebKit/WebProcess/WebPage/WebPageGroupProxy.h (modified) (1 diff)
-
Source/WebKit/WebProcess/WebProcess.cpp (modified) (5 diffs)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/WebKit/DOMWindowExtensionBasic.cpp (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/WebKit/DocumentStartUserScriptAlertCrash.cpp (modified) (1 diff)
-
Tools/TestWebKitAPI/Tests/WebKit/InjectedBundleDisableOverrideBuiltinsBehavior.cpp (modified) (2 diffs)
-
Tools/TestWebKitAPI/Tests/WebKit/InjectedBundleMakeAllShadowRootsOpen.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r277606 r277614 1 2021-05-17 Alex Christensen <achristensen@webkit.org> 2 3 Remove API::Object::Type::BundlePageGroup 4 https://bugs.webkit.org/show_bug.cgi?id=225611 5 6 Reviewed by Brady Eidson. 7 8 Its last use was removed in rdar://77775952 9 10 * Shared/API/APIObject.h: 11 * Shared/API/APIPageGroupHandle.cpp: Removed. 12 * Shared/API/APIPageGroupHandle.h: Removed. 13 * Shared/Cocoa/APIObject.mm: 14 (API::Object::newObject): 15 * Shared/Cocoa/SharedRingBufferStorage.cpp: 16 (WebKit::SharedRingBufferStorage::setStorage): 17 (WebKit::SharedRingBufferStorage::allocate): 18 * Shared/UserData.cpp: 19 (WebKit::UserData::encode): 20 (WebKit::UserData::decode): 21 * Shared/mac/MediaFormatReader/MediaSampleCursor.h: 22 * Sources.txt: 23 * UIProcess/WebProcessProxy.cpp: 24 (WebKit::WebProcessProxy::transformHandlesToObjects): 25 (WebKit::WebProcessProxy::transformObjectsToHandles): 26 * WebKit.xcodeproj/project.pbxproj: 27 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.h: 28 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.mm: 29 (-[WKWebProcessPlugInPageGroup identifier]): Deleted. 30 (-[WKWebProcessPlugInPageGroup dealloc]): Deleted. 31 (-[WKWebProcessPlugInPageGroup _apiObject]): Deleted. 32 * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroupInternal.h: Removed. 33 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.h: 34 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: 35 (-[WKWebProcessPlugInBrowserContextController pageGroup]): Deleted. 36 * WebProcess/WebPage/WebPageGroupProxy.h: 37 * WebProcess/WebProcess.cpp: 38 (WebKit::WebProcess::transformHandlesToObjects): 39 (WebKit::WebProcess::transformObjectsToHandles): 40 1 41 2021-05-17 Alex Christensen <achristensen@webkit.org> 2 42 -
trunk/Source/WebKit/Shared/API/APIObject.h
r272573 r277614 67 67 FrameHandle, 68 68 Image, 69 PageGroupData,70 69 PageHandle, 71 PageGroupHandle,72 70 ProtectionSpace, 73 71 RenderLayer, … … 205 203 BundlePage, 206 204 BundlePageBanner, 207 BundlePageGroup,208 205 BundlePageOverlay, 209 206 BundleRangeHandle, … … 320 317 API::Object::Type::FrameHandle, 321 318 API::Object::Type::Image, 322 API::Object::Type::PageGroupData,323 319 API::Object::Type::PageHandle, 324 API::Object::Type::PageGroupHandle,325 320 API::Object::Type::ProtectionSpace, 326 321 API::Object::Type::ResourceLoadInfo, … … 456 451 API::Object::Type::BundlePage, 457 452 API::Object::Type::BundlePageBanner, 458 API::Object::Type::BundlePageGroup,459 453 API::Object::Type::BundlePageOverlay, 460 454 API::Object::Type::BundleRangeHandle, -
trunk/Source/WebKit/Shared/Cocoa/APIObject.mm
r277280 r277614 64 64 #import "WKWebProcessPlugInInternal.h" 65 65 #import "WKWebProcessPlugInNodeHandleInternal.h" 66 #import "WKWebProcessPlugInPageGroupInternal.h"67 66 #import "WKWebProcessPlugInRangeHandleInternal.h" 68 67 #import "WKWebProcessPlugInScriptWorldInternal.h" … … 428 427 break; 429 428 430 case Type::BundlePageGroup:431 ALLOW_DEPRECATED_DECLARATIONS_BEGIN;432 wrapper = [WKWebProcessPlugInPageGroup alloc];433 ALLOW_DEPRECATED_DECLARATIONS_END;434 break;435 436 429 case Type::BundleRangeHandle: 437 430 wrapper = [WKWebProcessPlugInRangeHandle alloc]; -
trunk/Source/WebKit/Shared/Cocoa/SharedRingBufferStorage.cpp
r271041 r277614 77 77 } 78 78 79 void SharedRingBufferStorage::setStorage(RefPtr<SharedMemory>&& storage, const CAAudioStreamDescription& format, size_t frameCount)79 void SharedRingBufferStorage::setStorage(RefPtr<SharedMemory>&& storage, const WebCore::CAAudioStreamDescription& format, size_t frameCount) 80 80 { 81 81 m_storage = WTFMove(storage); … … 84 84 } 85 85 86 void SharedRingBufferStorage::allocate(size_t byteCount, const CAAudioStreamDescription& format, size_t frameCount)86 void SharedRingBufferStorage::allocate(size_t byteCount, const WebCore::CAAudioStreamDescription& format, size_t frameCount) 87 87 { 88 88 auto sharedMemory = SharedMemory::allocate(byteCount + sizeof(FrameBounds)); -
trunk/Source/WebKit/Shared/UserData.cpp
r264925 r277614 34 34 #include "APIGeometry.h" 35 35 #include "APINumber.h" 36 #include "APIPageGroupHandle.h"37 36 #include "APIPageHandle.h" 38 37 #include "APISerializedScriptValue.h" … … 231 230 } 232 231 233 case API::Object::Type::PageGroupHandle:234 static_cast<const API::PageGroupHandle&>(object).encode(encoder);235 break;236 237 232 case API::Object::Type::PageHandle: 238 233 static_cast<const API::PageHandle&>(object).encode(encoder); … … 416 411 break; 417 412 418 case API::Object::Type::PageGroupHandle:419 if (!API::PageGroupHandle::decode(decoder, result))420 return false;421 break;422 423 413 case API::Object::Type::PageHandle: 424 414 if (!API::PageHandle::decode(decoder, result)) -
trunk/Source/WebKit/Shared/mac/MediaFormatReader/MediaSampleCursor.h
r271939 r277614 30 30 #include "CoreMediaWrapped.h" 31 31 #include <WebCore/SampleMap.h> 32 #include <wtf/Identified.h> 32 33 #include <wtf/MediaTime.h> 33 34 #include <wtf/Variant.h> -
trunk/Source/WebKit/Sources.txt
r277414 r277614 239 239 Shared/API/APIGeometry.cpp 240 240 Shared/API/APIObject.cpp 241 Shared/API/APIPageGroupHandle.cpp242 241 Shared/API/APIPageHandle.cpp 243 242 Shared/API/APIURLRequest.cpp -
trunk/Source/WebKit/UIProcess/WebProcessProxy.cpp
r277354 r277614 28 28 29 29 #include "APIFrameHandle.h" 30 #include "APIPageGroupHandle.h"31 30 #include "APIPageHandle.h" 32 31 #include "AuthenticatorManager.h" … … 1341 1340 return static_cast<const API::PageHandle&>(object).isAutoconverting(); 1342 1341 1343 case API::Object::Type::PageGroupHandle:1344 1342 #if PLATFORM(COCOA) 1345 1343 case API::Object::Type::ObjCObjectGraph: … … 1358 1356 ASSERT(static_cast<API::FrameHandle&>(object).isAutoconverting()); 1359 1357 return m_webProcessProxy.webFrame(static_cast<API::FrameHandle&>(object).frameID()); 1360 1361 case API::Object::Type::PageGroupHandle:1362 return WebPageGroup::get(static_cast<API::PageGroupHandle&>(object).webPageGroupData().pageGroupID);1363 1358 1364 1359 case API::Object::Type::PageHandle: … … 1408 1403 case API::Object::Type::Page: 1409 1404 return API::PageHandle::createAutoconverting(static_cast<const WebPageProxy&>(object).identifier(), static_cast<const WebPageProxy&>(object).webPageID()); 1410 1411 case API::Object::Type::PageGroup:1412 return API::PageGroupHandle::create(WebPageGroupData(static_cast<const WebPageGroup&>(object).data()));1413 1405 1414 1406 #if PLATFORM(COCOA) -
trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj
r277605 r277614 465 465 1F7D36C118DA513F00D9D659 /* APIDownloadClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 1F7D36C018DA513F00D9D659 /* APIDownloadClient.h */; }; 466 466 1FB00AC7185F76460019142E /* WKWebProcessPlugInPageGroup.h in Headers */ = {isa = PBXBuildFile; fileRef = 1FB00AC4185F76460019142E /* WKWebProcessPlugInPageGroup.h */; settings = {ATTRIBUTES = (Private, ); }; }; 467 1FB00AC9185F76460019142E /* WKWebProcessPlugInPageGroupInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 1FB00AC6185F76460019142E /* WKWebProcessPlugInPageGroupInternal.h */; };468 467 263172CF18B469490065B9C3 /* NativeWebTouchEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = 263172CE18B469490065B9C3 /* NativeWebTouchEvent.h */; }; 469 468 2684054418B85A630022C38B /* VisibleContentRectUpdateInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = 2684054218B85A630022C38B /* VisibleContentRectUpdateInfo.h */; }; … … 2654 2653 1A334DEB16DE8F88006A8E38 /* StorageAreaMapMessageReceiver.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = StorageAreaMapMessageReceiver.cpp; path = DerivedSources/WebKit2/StorageAreaMapMessageReceiver.cpp; sourceTree = BUILT_PRODUCTS_DIR; }; 2655 2654 1A334DEC16DE8F88006A8E38 /* StorageAreaMapMessages.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = StorageAreaMapMessages.h; path = DerivedSources/WebKit2/StorageAreaMapMessages.h; sourceTree = BUILT_PRODUCTS_DIR; }; 2656 1A3A73CB1A48C6D4007231B3 /* APIPageGroupHandle.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = APIPageGroupHandle.cpp; sourceTree = "<group>"; };2657 1A3A73CC1A48C6D4007231B3 /* APIPageGroupHandle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = APIPageGroupHandle.h; sourceTree = "<group>"; };2658 2655 1A3C887F18A5ABAE00C4C962 /* WKPreferencesInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKPreferencesInternal.h; sourceTree = "<group>"; }; 2659 2656 1A3CC16418906ACF001E6ED8 /* WKWebView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKWebView.mm; sourceTree = "<group>"; }; … … 3110 3107 1FB00AC4185F76460019142E /* WKWebProcessPlugInPageGroup.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebProcessPlugInPageGroup.h; sourceTree = "<group>"; }; 3111 3108 1FB00AC5185F76460019142E /* WKWebProcessPlugInPageGroup.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WKWebProcessPlugInPageGroup.mm; sourceTree = "<group>"; }; 3112 1FB00AC6185F76460019142E /* WKWebProcessPlugInPageGroupInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WKWebProcessPlugInPageGroupInternal.h; sourceTree = "<group>"; };3113 3109 263172CE18B469490065B9C3 /* NativeWebTouchEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NativeWebTouchEvent.h; sourceTree = "<group>"; }; 3114 3110 26659AA0185FAAED004303DD /* Info-iOS.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info-iOS.plist"; sourceTree = "<group>"; }; … … 7220 7216 1FB00AC4185F76460019142E /* WKWebProcessPlugInPageGroup.h */, 7221 7217 1FB00AC5185F76460019142E /* WKWebProcessPlugInPageGroup.mm */, 7222 1FB00AC6185F76460019142E /* WKWebProcessPlugInPageGroupInternal.h */,7223 7218 374942191DF1F9FF0033C19F /* WKWebProcessPlugInRangeHandle.h */, 7224 7219 374942181DF1F9FF0033C19F /* WKWebProcessPlugInRangeHandle.mm */, … … 10863 10858 B63403F814910D57001070B5 /* APIObject.cpp */, 10864 10859 BCF04C8C11FF9B7D00F86A58 /* APIObject.h */, 10865 1A3A73CB1A48C6D4007231B3 /* APIPageGroupHandle.cpp */,10866 1A3A73CC1A48C6D4007231B3 /* APIPageGroupHandle.h */,10867 10860 1AC1336D18565D2B00F3EC05 /* APIPageHandle.cpp */, 10868 10861 1AC1336B18565C7A00F3EC05 /* APIPageHandle.h */, … … 12959 12952 CEC8F9CB1FDF5870002635E7 /* WKWebProcessPlugInNodeHandlePrivate.h in Headers */, 12960 12953 1FB00AC7185F76460019142E /* WKWebProcessPlugInPageGroup.h in Headers */, 12961 1FB00AC9185F76460019142E /* WKWebProcessPlugInPageGroupInternal.h in Headers */,12962 12954 BC04EFFC16E65AFB00E336F0 /* WKWebProcessPlugInPrivate.h in Headers */, 12963 12955 3749421B1DF1F9FF0033C19F /* WKWebProcessPlugInRangeHandle.h in Headers */, -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.h
r277280 r277614 28 28 #import <Foundation/Foundation.h> 29 29 30 // FIXME: Remove this file once the staging code for rdar://77775952 is removed. 30 31 WK_CLASS_DEPRECATED_WITH_REPLACEMENT("WKWebProcessPlugInBrowserContextController._groupIdentifier", macos(10.10, WK_MAC_TBA), ios(8.0, WK_IOS_TBA)) 31 32 @interface WKWebProcessPlugInPageGroup : NSObject 32 33 33 @property (readonly) NSString *identifier;34 35 34 @end -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInPageGroup.mm
r277280 r277614 25 25 26 26 #import "config.h" 27 #import "WKWebProcessPlugInPageGroup Internal.h"27 #import "WKWebProcessPlugInPageGroup.h" 28 28 29 #import "WKAPICast.h" 30 #import "WKNSString.h" 31 #import "WKRetainPtr.h" 32 #import "WebPageGroupProxy.h" 33 #import <WebCore/WebCoreObjCExtras.h> 29 // FIXME: Remove this file once the staging code for rdar://77775952 is removed. 34 30 35 31 ALLOW_DEPRECATED_IMPLEMENTATIONS_BEGIN 36 @implementation WKWebProcessPlugInPageGroup { 37 API::ObjectStorage<WebKit::WebPageGroupProxy> _bundlePageGroup; 38 } 32 @implementation WKWebProcessPlugInPageGroup 39 33 ALLOW_DEPRECATED_IMPLEMENTATIONS_END 40 34 41 - (NSString *)identifier42 {43 return _bundlePageGroup->identifier();44 }45 46 - (void)dealloc47 {48 if (WebCoreObjCScheduleDeallocateOnMainRunLoop(WKWebProcessPlugInPageGroup.class, self))49 return;50 _bundlePageGroup->~WebPageGroupProxy();51 [super dealloc];52 }53 54 #pragma mark WKObject protocol implementation55 56 - (API::Object&)_apiObject57 {58 return *_bundlePageGroup;59 }60 61 35 @end -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.h
r277280 r277614 31 31 @class WKDOMRange; 32 32 @class WKWebProcessPlugInFrame; 33 @class WKWebProcessPlugInPageGroup;34 33 @protocol WKWebProcessPlugInLoadDelegate; 35 34 … … 43 42 @property (readonly) WKWebProcessPlugInFrame *mainFrame; 44 43 45 @property (readonly) WKWebProcessPlugInPageGroup *pageGroup WK_API_DEPRECATED_WITH_REPLACEMENT("_groupIdentifier", macos(10.10, WK_MAC_TBA), ios(8.0, WK_IOS_TBA));46 47 44 @property (weak) id <WKWebProcessPlugInLoadDelegate> loadDelegate; 48 45 -
trunk/Source/WebKit/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm
r277280 r277614 49 49 #import "WKWebProcessPlugInLoadDelegate.h" 50 50 #import "WKWebProcessPlugInNodeHandleInternal.h" 51 #import "WKWebProcessPlugInPageGroupInternal.h"52 51 #import "WKWebProcessPlugInRangeHandleInternal.h" 53 52 #import "WKWebProcessPlugInScriptWorldInternal.h" 54 53 #import "WebPage.h" 54 #import "WebPageGroupProxy.h" 55 55 #import "WebProcess.h" 56 56 #import "_WKRemoteObjectRegistryInternal.h" … … 405 405 } 406 406 407 - (WKWebProcessPlugInPageGroup *)pageGroup408 {409 return wrapper(*_page->pageGroup());410 }411 412 407 #pragma mark WKObject protocol implementation 413 408 -
trunk/Source/WebKit/WebProcess/WebPage/WebPageGroupProxy.h
r259159 r277614 39 39 class WebUserContentController; 40 40 41 class WebPageGroupProxy : public API::ObjectImpl<API::Object::Type::BundlePageGroup> {41 class WebPageGroupProxy : public RefCounted<WebPageGroupProxy> { 42 42 public: 43 43 static Ref<WebPageGroupProxy> create(const WebPageGroupData&); -
trunk/Source/WebKit/WebProcess/WebProcess.cpp
r277564 r277614 28 28 29 29 #include "APIFrameHandle.h" 30 #include "APIPageGroupHandle.h"31 30 #include "APIPageHandle.h" 32 31 #include "AuthenticationManager.h" … … 1695 1694 return static_cast<const API::PageHandle&>(object).isAutoconverting(); 1696 1695 1697 case API::Object::Type::PageGroupHandle:1698 1696 #if PLATFORM(COCOA) 1699 1697 case API::Object::Type::ObjCObjectGraph: … … 1711 1709 case API::Object::Type::FrameHandle: 1712 1710 return m_webProcess.webFrame(static_cast<const API::FrameHandle&>(object).frameID()); 1713 1714 case API::Object::Type::PageGroupHandle:1715 return m_webProcess.webPageGroup(static_cast<const API::PageGroupHandle&>(object).webPageGroupData());1716 1711 1717 1712 case API::Object::Type::PageHandle: … … 1741 1736 case API::Object::Type::BundleFrame: 1742 1737 case API::Object::Type::BundlePage: 1743 case API::Object::Type::BundlePageGroup:1744 1738 #if PLATFORM(COCOA) 1745 1739 case API::Object::Type::ObjCObjectGraph: … … 1760 1754 case API::Object::Type::BundlePage: 1761 1755 return API::PageHandle::createAutoconverting(static_cast<const WebPage&>(object).webPageProxyIdentifier(), static_cast<const WebPage&>(object).identifier()); 1762 1763 case API::Object::Type::BundlePageGroup: {1764 WebPageGroupData pageGroupData;1765 pageGroupData.pageGroupID = static_cast<const WebPageGroupProxy&>(object).pageGroupID();1766 1767 return API::PageGroupHandle::create(WTFMove(pageGroupData));1768 }1769 1756 1770 1757 #if PLATFORM(COCOA) -
trunk/Tools/ChangeLog
r277612 r277614 1 2021-05-17 Alex Christensen <achristensen@webkit.org> 2 3 Remove API::Object::Type::BundlePageGroup 4 https://bugs.webkit.org/show_bug.cgi?id=225611 5 6 Reviewed by Brady Eidson. 7 8 Some tests were trying to encode a page group, but it was unused so I just removed them. 9 10 * TestWebKitAPI/Tests/WebKit/DOMWindowExtensionBasic.cpp: 11 (TestWebKitAPI::TEST): 12 * TestWebKitAPI/Tests/WebKit/DocumentStartUserScriptAlertCrash.cpp: 13 (TestWebKitAPI::TEST): 14 * TestWebKitAPI/Tests/WebKit/InjectedBundleDisableOverrideBuiltinsBehavior.cpp: 15 (TestWebKitAPI::TEST): 16 * TestWebKitAPI/Tests/WebKit/InjectedBundleMakeAllShadowRootsOpen.cpp: 17 (TestWebKitAPI::TEST): 18 1 19 2021-05-17 Aakash Jain <aakash_jain@apple.com> 2 20 -
trunk/Tools/TestWebKitAPI/Tests/WebKit/DOMWindowExtensionBasic.cpp
r251220 r277614 140 140 WKRetainPtr<WKPageGroupRef> pageGroup = adoptWK(WKPageGroupCreateWithIdentifier(WKStringCreateWithUTF8CString("DOMWindowExtensionBasicPageGroup"))); 141 141 142 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("DOMWindowExtensionBasic" , pageGroup.get()));142 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("DOMWindowExtensionBasic")); 143 143 144 144 WKContextInjectedBundleClientV0 injectedBundleClient; -
trunk/Tools/TestWebKitAPI/Tests/WebKit/DocumentStartUserScriptAlertCrash.cpp
r244390 r277614 51 51 WKRetainPtr<WKPageGroupRef> pageGroup = adoptWK(WKPageGroupCreateWithIdentifier(WKStringCreateWithUTF8CString("DocumentStartUserScriptAlertCrashTestPageGroup"))); 52 52 53 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("DocumentStartUserScriptAlertCrashTest" , pageGroup.get()));53 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("DocumentStartUserScriptAlertCrashTest")); 54 54 PlatformWebView webView(context.get(), pageGroup.get()); 55 55 -
trunk/Tools/TestWebKitAPI/Tests/WebKit/InjectedBundleDisableOverrideBuiltinsBehavior.cpp
r244390 r277614 53 53 WKRetainPtr<WKPageGroupRef> pageGroup = adoptWK(WKPageGroupCreateWithIdentifier(WKStringCreateWithUTF8CString("InjectedBundleNoDisableOverrideBuiltinsBehaviorTestPageGroup"))); 54 54 55 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("InjectedBundleNoDisableOverrideBuiltinsBehaviorTest" , pageGroup.get()));55 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("InjectedBundleNoDisableOverrideBuiltinsBehaviorTest")); 56 56 PlatformWebView webView(context.get(), pageGroup.get()); 57 57 … … 87 87 WKRetainPtr<WKPageGroupRef> pageGroup = adoptWK(WKPageGroupCreateWithIdentifier(WKStringCreateWithUTF8CString("InjectedBundleDisableOverrideBuiltinsBehaviorTestPageGroup"))); 88 88 89 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("InjectedBundleDisableOverrideBuiltinsBehaviorTest" , pageGroup.get()));89 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("InjectedBundleDisableOverrideBuiltinsBehaviorTest")); 90 90 PlatformWebView webView(context.get(), pageGroup.get()); 91 91 -
trunk/Tools/TestWebKitAPI/Tests/WebKit/InjectedBundleMakeAllShadowRootsOpen.cpp
r244390 r277614 88 88 WKRetainPtr<WKPageGroupRef> pageGroup = adoptWK(WKPageGroupCreateWithIdentifier(WKStringCreateWithUTF8CString("InjectedBundleMakeAllShadowRootOpenTestPageGroup"))); 89 89 90 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("InjectedBundleMakeAllShadowRootOpenTest" , pageGroup.get()));90 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("InjectedBundleMakeAllShadowRootOpenTest")); 91 91 PlatformWebView webView(context.get(), pageGroup.get()); 92 92
Note:
See TracChangeset
for help on using the changeset viewer.