Changeset 275091 in webkit
- Timestamp:
- Mar 26, 2021, 4:07:44 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 edited
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/platform/audio/NowPlayingInfo.h (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/TestWebKitAPI/CMakeLists.txt (modified) (1 diff)
-
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj (modified) (4 diffs)
-
Tools/TestWebKitAPI/Tests/WebCore/NowPlayingInfoTests.cpp (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r275087 r275091 1 2021-03-26 Jean-Yves Avenard <jya@apple.com> 2 3 Fix NowPlayingInfoArtwork operator== logic. 4 https://bugs.webkit.org/show_bug.cgi?id=223730 5 <rdar://problem/75822687> 6 7 Reviewed by Youenn Fablet. 8 9 Gtest NowPlayingInfoArtworkTest added . 10 11 * platform/audio/NowPlayingInfo.h: 12 (WebCore::NowPlayingInfoArtwork::operator== const): 13 (WebCore::NowPlayingInfoArtwork::operator!= const): 14 1 15 2021-03-26 Rob Buis <rbuis@igalia.com> 2 16 -
trunk/Source/WebCore/platform/audio/NowPlayingInfo.h
r274586 r275091 42 42 bool operator==(const NowPlayingInfoArtwork& other) const 43 43 { 44 return *this != other;44 return src == other.src && mimeType == other.mimeType; 45 45 } 46 46 47 47 bool operator!=(const NowPlayingInfoArtwork& other) const 48 48 { 49 return src != other.src || mimeType != other.mimeType;49 return !(*this == other); 50 50 } 51 51 -
trunk/Tools/ChangeLog
r275081 r275091 1 2021-03-26 Jean-Yves Avenard <jya@apple.com> 2 3 Fix NowPlayingInfoArtwork operator== logic. 4 https://bugs.webkit.org/show_bug.cgi?id=223730 5 <rdar://problem/75822687> 6 7 Reviewed by Youenn Fablet. 8 9 * TestWebKitAPI/CMakeLists.txt: 10 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: 11 * TestWebKitAPI/Tests/WebCore/NowPlayingInfoTests.cpp: Added. 12 (TestWebKitAPI::testEmptyArtwork): 13 (TestWebKitAPI::TEST): 14 1 15 2021-03-25 Cameron McCormack <heycam@apple.com> 2 16 -
trunk/Tools/TestWebKitAPI/CMakeLists.txt
r273776 r275091 184 184 Tests/WebCore/LayoutUnitTests.cpp 185 185 Tests/WebCore/MIMETypeRegistry.cpp 186 Tests/WebCore/NowPlayingInfoTests.cpp 186 187 Tests/WebCore/ParsedContentRange.cpp 187 188 Tests/WebCore/PublicSuffix.cpp -
trunk/Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
r275072 r275091 319 319 5142B2731517C8C800C32B19 /* ContextMenuCanCopyURL.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = 5142B2721517C89100C32B19 /* ContextMenuCanCopyURL.html */; }; 320 320 514958BE1F7427AC00E87BAD /* WKWebViewAutofillTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = 514958BD1F7427AC00E87BAD /* WKWebViewAutofillTests.mm */; }; 321 5159F267260D43E300B2DA3C /* NowPlayingInfoTests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5159F266260D43E300B2DA3C /* NowPlayingInfoTests.cpp */; }; 321 322 515BE16F1D428BB100DD7C68 /* StoreBlobToBeDeleted.html in Copy Resources */ = {isa = PBXBuildFile; fileRef = 515BE16E1D4288FF00DD7C68 /* StoreBlobToBeDeleted.html */; }; 322 323 515BE1711D428E4B00DD7C68 /* StoreBlobThenDelete.mm in Sources */ = {isa = PBXBuildFile; fileRef = 515BE1701D428BD100DD7C68 /* StoreBlobThenDelete.mm */; }; … … 2097 2098 5142B2721517C89100C32B19 /* ContextMenuCanCopyURL.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = ContextMenuCanCopyURL.html; sourceTree = "<group>"; }; 2098 2099 514958BD1F7427AC00E87BAD /* WKWebViewAutofillTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = WKWebViewAutofillTests.mm; sourceTree = "<group>"; }; 2100 5159F266260D43E300B2DA3C /* NowPlayingInfoTests.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = NowPlayingInfoTests.cpp; sourceTree = "<group>"; }; 2099 2101 515BE16E1D4288FF00DD7C68 /* StoreBlobToBeDeleted.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; path = StoreBlobToBeDeleted.html; sourceTree = "<group>"; }; 2100 2102 515BE1701D428BD100DD7C68 /* StoreBlobThenDelete.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = StoreBlobThenDelete.mm; sourceTree = "<group>"; }; … … 3627 3629 CE1866471F72E8F100A0CAB6 /* MarkedText.cpp */, 3628 3630 A5B149DD1F5A19DC00C6DAFF /* MIMETypeRegistry.cpp */, 3631 5159F266260D43E300B2DA3C /* NowPlayingInfoTests.cpp */, 3629 3632 CD225C071C45A69200140761 /* ParsedContentRange.cpp */, 3630 3633 AA96CAB421C7DB4200FD2F97 /* ParsedContentType.cpp */, … … 5475 5478 CD2D0D1A213465560018C784 /* NowPlaying.mm in Sources */, 5476 5479 2ECFF5551D9B12F800B55394 /* NowPlayingControlsTests.mm in Sources */, 5480 5159F267260D43E300B2DA3C /* NowPlayingInfoTests.cpp in Sources */, 5477 5481 A10F047E1E3AD29C00C95E19 /* NSFileManagerExtras.mm in Sources */, 5478 5482 F442851D2140DF2900CCDA22 /* NSFontPanelTesting.mm in Sources */,
Note:
See TracChangeset
for help on using the changeset viewer.