Summary: | Web Inspector: Send context attributes for tracked canvases | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||||||||
Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | bburg, buildbot, commit-queue, dino, inspector-bugzilla-changes, joepeck, keith_miller, mark.lam, mattbaker, msaboff, saam, webkit-bug-importer | ||||||||||
Priority: | P2 | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | All | ||||||||||||
OS: | All | ||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=173931 | ||||||||||||
Bug Depends on: | 138941 | ||||||||||||
Bug Blocks: | |||||||||||||
Attachments: |
|
Description
Devin Rousso
2017-06-13 13:50:53 PDT
Created attachment 312802 [details]
[Patch] WIP
Created attachment 312803 [details]
[Image] After Patch is applied
Created attachment 313375 [details]
Patch
Comment on attachment 313375 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=313375&action=review > LayoutTests/inspector/canvas/context-attributes-expected.txt:13 > +{"alpha":true,"depth":true,"stencil":false,"antialias":true,"premultipliedAlpha":true,"preserveDrawingBuffer":false,"failIfMajorPerformanceCaveat":false} We could JSON.stringify(obj, null, 2) to make this easier to read. > Source/WebInspectorUI/UserInterface/Views/CanvasDetailsSidebarPanel.js:221 > + const columns = { > + name: {title: WebInspector.UIString("Name")}, > + value: {title: WebInspector.UIString("Value"), width: "30%"}, > + }; > + dataGrid = this._attributesDataGridRow.dataGrid = new WebInspector.DataGrid(columns); Style: Again I think we should inline these as the last param. It looks very awkward like this! Created attachment 313453 [details]
Patch
Comment on attachment 313453 [details] Patch Clearing flags on attachment: 313453 Committed r218618: <http://trac.webkit.org/changeset/218618> All reviewed patches have been landed. Closing bug. |