Changeset 263537 in webkit
- Timestamp:
- Jun 25, 2020 3:39:22 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r263535 r263537 1 2020-06-25 Jer Noble <jer.noble@apple.com> 2 3 iOS Safari incorrectly reports "AppleCoreMedia" as UA string 4 https://bugs.webkit.org/show_bug.cgi?id=213245 5 <rdar://problem/64471582> 6 7 Reviewed by Youenn Fablet. 8 9 Tests: TestWebKitAPI.MediaLoading.UserAgentStringCRABS 10 TestWebKitAPI.MediaLoading.UserAgentStringHLS 11 12 * platform/network/cocoa/WebCoreNSURLSession.mm: 13 (-[WebCoreNSURLSessionDataTask initWithSession:identifier:request:]): 14 1 15 2020-06-25 Megan Gardner <megan_gardner@apple.com> 2 16 -
trunk/Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm
r262131 r263537 658 658 self.state = NSURLSessionTaskStateSuspended; 659 659 self.priority = NSURLSessionTaskPriorityDefault; 660 661 // CoreMedia will explicitly add a user agent header. Remove if present. 662 if (auto* userAgentValue = [request valueForHTTPHeaderField:@"User-Agent"]) { 663 NSMutableURLRequest* mutableRequest = [request mutableCopyWithZone:nil]; 664 [mutableRequest setValue:nil forHTTPHeaderField:@"User-Agent"]; 665 request = [mutableRequest autorelease]; 666 } 667 660 668 self.originalRequest = self.currentRequest = request; 661 669 -
trunk/Tools/ChangeLog
r263531 r263537 1 2020-06-25 Jer Noble <jer.noble@apple.com> 2 3 iOS Safari incorrectly reports "AppleCoreMedia" as UA string 4 https://bugs.webkit.org/show_bug.cgi?id=213245 5 <rdar://problem/64471582> 6 7 Reviewed by Youenn Fablet. 8 9 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: 10 * TestWebKitAPI/Tests/WebKitCocoa/MediaLoading.mm: Added. 11 (TestWebKitAPI::parseUserAgent): 12 (TestWebKitAPI::TEST): 13 1 14 2020-06-25 Daniel Bates <dabates@apple.com> 2 15 -
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
r263529 r263537 958 958 CAB0FF5322332407006CA5B0 /* IndexedDBFileName-2.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = CAB0FF50223323F6006CA5B0 /* IndexedDBFileName-2.html */; }; 959 959 CAB0FF5522332C57006CA5B0 /* IndexedDBFileName.mm in Sources */ = {isa = PBXBuildFile; fileRef = CAB0FF5422332C3A006CA5B0 /* IndexedDBFileName.mm */; }; 960 CD0370E324A44D9600BA3CAE /* MediaLoading.mm in Sources */ = {isa = PBXBuildFile; fileRef = CD0370E224A44B7A00BA3CAE /* MediaLoading.mm */; }; 960 961 CD0BD0A61F79924D001AB2CF /* ContextMenuImgWithVideo.mm in Sources */ = {isa = PBXBuildFile; fileRef = CD0BD0A51F799220001AB2CF /* ContextMenuImgWithVideo.mm */; }; 961 962 CD0BD0A81F79982D001AB2CF /* ContextMenuImgWithVideo.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = CD0BD0A71F7997C2001AB2CF /* ContextMenuImgWithVideo.html */; }; … … 2605 2606 CAB0FF51223323F6006CA5B0 /* IndexedDBFileName-1.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = "IndexedDBFileName-1.html"; sourceTree = "<group>"; }; 2606 2607 CAB0FF5422332C3A006CA5B0 /* IndexedDBFileName.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = IndexedDBFileName.mm; sourceTree = "<group>"; }; 2608 CD0370E224A44B7A00BA3CAE /* MediaLoading.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = MediaLoading.mm; sourceTree = "<group>"; }; 2607 2609 CD0BD0A51F799220001AB2CF /* ContextMenuImgWithVideo.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = ContextMenuImgWithVideo.mm; sourceTree = "<group>"; }; 2608 2610 CD0BD0A71F7997C2001AB2CF /* ContextMenuImgWithVideo.html */ = {isa = PBXFileReference; lastKnownFileType = text.html; path = ContextMenuImgWithVideo.html; sourceTree = "<group>"; }; … … 3176 3178 7A6A2C6F1DCCF87B00C0D085 /* LocalStorageQuirkTest.mm */, 3177 3179 07CC7DFD2266330800E39181 /* MediaBufferingPolicy.mm */, 3180 CD0370E224A44B7A00BA3CAE /* MediaLoading.mm */, 3178 3181 51BE9E652376089500B4E117 /* MediaType.mm */, 3179 3182 5165FE03201EE617009F7EC3 /* MessagePortProviders.mm */, … … 4873 4876 7CCE7EB51A411A7E00447C4C /* BackForwardList.mm in Sources */, 4874 4877 1C7FEB20207C0F2E00D23278 /* BackgroundColor.mm in Sources */, 4878 CD0370E324A44D9600BA3CAE /* MediaLoading.mm in Sources */, 4875 4879 C15CBB3023F1FF1A00300CC7 /* BacklightLevelNotification.mm in Sources */, 4876 4880 C1692DCA23D10DAE006E88F7 /* Battery.mm in Sources */,
Note: See TracChangeset
for help on using the changeset viewer.