[Webkit-unassigned] [Bug 158399] New: Web Inspector: should be able to undo closing an inspector tab
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jun 5 09:55:13 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=158399
Bug ID: 158399
Summary: Web Inspector: should be able to undo closing an
inspector tab
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bburg at apple.com
CC: bburg at apple.com, graouts at webkit.org,
joepeck at webkit.org, mattbaker at apple.com,
nvasilyev at apple.com, timothy at apple.com,
webkit-bug-importer at group.apple.com
Unfortunately there is no facility for undo/redo of model/UI changes in the frontend currently. The undo-redo shortcuts go directly to DOMAgent.{undo,redo} which only lets you perform and undo things that are subclasses of InspectorHistory::Action. This is generally just DOM and stylesheet changes.
We either need to add stub InspectorHistory::Action that delegate to the frontend to perform/undo, or the frontend needs its own undo stack, where some of the actions call out to the backend to perform their work. I think the latter is preferable, since the backend would not be able to merge duplicate stub actions created by the frontend. Having a separate action system in the frontend would be useful for other reasons, like getting a trace of user actions.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160605/294cd86a/attachment.html>
More information about the webkit-unassigned
mailing list