[webkit-changes] [WebKit/WebKit] 3d5cd5: Skip adding PlaceholderRenderingContext instances ...

mattwoodrow noreply at github.com
Thu May 18 17:15:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3d5cd5c1bfd1c55146cde9015bb2e81e082048e3
      https://github.com/WebKit/WebKit/commit/3d5cd5c1bfd1c55146cde9015bb2e81e082048e3
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2023-05-18 (Thu, 18 May 2023)

  Changed paths:
    M Source/WebCore/inspector/agents/InspectorCanvasAgent.cpp

  Log Message:
  -----------
  Skip adding PlaceholderRenderingContext instances to Web Inspector.
https://bugs.webkit.org/show_bug.cgi?id=256773

Reviewed by Patrick Angle.

PlaceholderRenderingContext isn't a real rendering context (and exists only as a 'context mode' in the spec, not an actual rendering context).

We should treat these the same as canvases without a context, and skip them.

* Source/WebCore/inspector/agents/InspectorCanvasAgent.cpp:
(WebCore::InspectorCanvasAgent::enable):

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




More information about the webkit-changes mailing list