[webkit-changes] [WebKit/WebKit] 0ea84d: [Cocoa] Upstream adaptive image glyph tests

Aditya Keerthi noreply at github.com
Thu Jun 27 08:51:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ea84db0b002db8759d9415287de5f4f1855377e
      https://github.com/WebKit/WebKit/commit/0ea84db0b002db8759d9415287de5f4f1855377e
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M Tools/TestWebKitAPI/SourcesCocoa.txt
    M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
    A Tools/TestWebKitAPI/Tests/WebKitCocoa/AdaptiveImageGlyph.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/CookiePrivateBrowsing.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/SystemPreview.mm
    R Tools/TestWebKitAPI/Tests/WebKitCocoa/WebMultiRepresentationHEICAttachmentTests.mm
    A Tools/TestWebKitAPI/Tests/WebKitCocoa/adaptive-image-glyph.heic

  Log Message:
  -----------
  [Cocoa] Upstream adaptive image glyph tests
https://bugs.webkit.org/show_bug.cgi?id=275940
rdar://130645814

Reviewed by Richard Robinson.

Upstream tests for WebKit's `NSAdaptiveImageGlyph` support.

* Tools/TestWebKitAPI/SourcesCocoa.txt:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/AdaptiveImageGlyph.mm: Added.
(readRTFDataFromPasteboard):
(-[AdaptiveImageGlyphWKWebView initWithFrame:configuration:]):
(-[AdaptiveImageGlyphWKWebView focusElementAndEnsureEditorStateUpdate:]):
(-[AdaptiveImageGlyphWKWebView canInsertAdaptiveImageGlyphs]):
(-[AdaptiveImageGlyphWKWebView insertAdaptiveImageGlyph:]):
(-[AdaptiveImageGlyphWKWebView insertedAttachments]):
(-[AdaptiveImageGlyphWKWebView removedAttachments]):
(-[AdaptiveImageGlyphWKWebView _webView:didInsertAttachment:withSource:]):
(-[AdaptiveImageGlyphWKWebView _webView:didRemoveAttachment:]):
(-[AdaptiveImageGlyphWKWebView contentsAsAttributedString]):
(configurationForAdaptiveImageGlyphWebView):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphNotEditing)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphEditableView)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphContenteditable)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphContenteditablePlaintextOnly)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphInputElement)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphNotEditingWithConfiguration)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphEditableViewWithConfiguration)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphContenteditableWithConfiguration)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphContenteditablePlaintextOnlyWithConfiguration)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, SupportsAdaptiveImageGlyphInputElementWithConfiguration)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, InsertAdaptiveImageGlyphAsPictureElement)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, InsertAdaptiveImageGlyphAtLargerFontSize)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, InsertAndRemoveWKAttachments)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, InsertMultiple)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, CopyRTF)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, ContentsAsAttributedString)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, DragAdaptiveImageGlyphFromContentEditable)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, DropAdaptiveImageGlyphAsText)):
(TestWebKitAPI::TEST(AdaptiveImageGlyph, DropAdaptiveImageGlyphAsSticker)):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm: Unified sources build fix.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/CookiePrivateBrowsing.mm: Unified sources build fix.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm: Unified sources build fix.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SystemPreview.mm: Unified sources build fix.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebMultiRepresentationHEICAttachmentTests.mm: Removed.
* Tools/TestWebKitAPI/Tests/WebKitCocoa/adaptive-image-glyph.heic: Added.

Canonical link: https://commits.webkit.org/280414@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list