[Webkit-unassigned] [Bug 233255] New: Create a RecordingSwizzleType::Object to avoid duplicating data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 17 07:49:54 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=233255
Bug ID: 233255
Summary: Create a RecordingSwizzleType::Object to avoid
duplicating data
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lmoura at igalia.com
CC: inspector-bugzilla-changes at group.apple.com
bug232780 added a method that takes an array of DOMPointInit. In the proposed patch, the InspectorCanvas method creates a JSON::Object for each DOMPointInit and returns an array with RecordingSwizzleType::Array.
>From the review:
> While I do think this will work, a primary goal of this entire system is to avoid duplicating data since all of it has to be serialized and sent over the Web Inspector connection (which could be communicating with an entire other device, such as when inspecting an iOS device from a macOS machine).
> As such, we probably want to create either a new `RecordingSwizzleType::DOMPointInit` or a more generic `RecordingSwizzleType::Object` so that if multiple calls to `roundRect` are made with the same `radii` argument we don't encode the same data more than once.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211117/ec016bfb/attachment.htm>
More information about the webkit-unassigned
mailing list