[Webkit-unassigned] [Bug 161456] Web Inspector: Resources with unsaved changes should have an asterisk after their name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 31 14:35:06 PDT 2016


--- Comment #2 from Devin Rousso <dcrousso+webkit at gmail.com> ---
+1, but there is a slight issue with this in that the current definition of InspectorFrontendHost::save does not actually return whether the save was completed or not.  If we don't care about that (or if it's not possible), then I imagine this just being the following:

1. Add another member variable to SourceCode called lastSavedRevision
2. Add getter for isModified that checks if lastSavedRevision !== currentRevision
3. Change the displayName getter to add "*" if isModified is true

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/20160831/9b8b2a5a/attachment.html>

More information about the webkit-unassigned mailing list