⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 277331 in webkit


Ignore:
Timestamp:
May 11, 2021, 11:00:26 AM (5 years ago)
Author:
Brent Fulgham
Message:

[macOS] Extend access to 'com.apple.print.normalizerd' when canvas drawing is done in the WebContent process
https://bugs.webkit.org/show_bug.cgi?id=225623
<rdar://problem/77354349>

Reviewed by Per Arne Vollan.

We need to dynamically extend access to 'com.apple.print.normalizerd' when the GPU Process is not handling canvas drawing.
WebKit needs this access to properly draw EPS images.

Tested by fast/images/eps-as-image.html

  • UIProcess/WebPageProxy.cpp:

(WebKit::gpuMachServices): Add 'com.apple.print.normalizerd' to set of required services.

  • WebAuthnProcess/mac/com.apple.WebKit.WebAuthnProcess.sb.in: Remove 'com.apple.print.normalizerd' since it is

not possible to use from the Web Authentication process.

  • WebProcess/com.apple.WebProcess.sb.in: Expect the extension to be dynamically extended on all releases.
Location:
trunk/Source/WebKit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r277327 r277331  
     12021-05-11  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [macOS] Extend access to 'com.apple.print.normalizerd' when canvas drawing is done in the WebContent process
     4        https://bugs.webkit.org/show_bug.cgi?id=225623
     5        <rdar://problem/77354349>
     6
     7        Reviewed by Per Arne Vollan.
     8
     9        We need to dynamically extend access to 'com.apple.print.normalizerd' when the GPU Process is not handling canvas drawing.
     10        WebKit needs this access to properly draw EPS images.
     11
     12        Tested by fast/images/eps-as-image.html
     13
     14        * UIProcess/WebPageProxy.cpp:
     15        (WebKit::gpuMachServices): Add 'com.apple.print.normalizerd' to set of required services.
     16        * WebAuthnProcess/mac/com.apple.WebKit.WebAuthnProcess.sb.in: Remove 'com.apple.print.normalizerd' since it is
     17        not possible to use from the Web Authentication process.
     18        * WebProcess/com.apple.WebProcess.sb.in: Expect the extension to be dynamically extended on all releases.
     19
    1202021-05-11  Eric Carlson  <eric.carlson@apple.com>
    221
  • trunk/Source/WebKit/UIProcess/WebPageProxy.cpp

    r277235 r277331  
    78297829#if PLATFORM(MAC) || PLATFORM(MACCATALYST)
    78307830        "com.apple.cvmsServ"_s,
     7831        "com.apple.print.normalizerd"_s,
    78317832#endif
    78327833    });
  • trunk/Source/WebKit/WebAuthnProcess/mac/com.apple.WebKit.WebAuthnProcess.sb.in

    r277032 r277331  
    152152    (xpc-service-name "com.apple.coremedia.videoencoder")
    153153    (xpc-service-name "com.apple.hiservices-xpcservice")
    154     (xpc-service-name "com.apple.print.normalizerd")
    155154)
    156155
  • trunk/Source/WebKit/WebProcess/com.apple.WebProcess.sb.in

    r277052 r277331  
    867867(allow mach-lookup
    868868    (xpc-service-name "com.apple.audio.SandboxHelper")
    869     (xpc-service-name "com.apple.print.normalizerd")
    870869)
    871870#endif
     
    17611760            "com.apple.coremedia.videodecoder"
    17621761            "com.apple.coremedia.videoencoder"
     1762            "com.apple.print.normalizerd" ;; <rdar://problem/77354349>
    17631763            ;;; FIXME(207716): End services to remove.
    17641764        )
Note: See TracChangeset for help on using the changeset viewer.