[Webkit-unassigned] [Bug 178185] Web Inspector: Canvas tab: show detailed status during canvas recording
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 6 15:51:03 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=178185
Devin Rousso <webkit at devinrousso.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |webkit at devinrousso.com
--- Comment #5 from Devin Rousso <webkit at devinrousso.com> ---
One thing I think we may want to do here is send the Recording::Frame protocol objects with each progress event. This way, we can distribute the work of parsing the entire JSON structure, instead of all at once at the very end.
{
"name": "recordingProgress",
"parameters": [
{ "name": "canvasId", "$ref": "CanvasId" },
{ "name": "frames", "type": "array", "items": { "$ref": "Recording.Frame" }},
{ "name": "bufferUsed", "type": "number" }
]
}
Then in the frontend all we have to do is concatenate each of these calls together to pass into `_frames` on WI.Recording. We'd also modify Recording::Recording so that it doesn't have a `frames` member.
--
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/20171106/ada4018f/attachment.html>
More information about the webkit-unassigned
mailing list