Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Web Inspector: Console: internal properties are not greyed out in obj…
…ect previews https://bugs.webkit.org/show_bug.cgi?id=255385 Reviewed by Patrick Angle. We should have a consistent style between previews and actual remmote object views. Otherwise, internal properties appear as regular properties in the preview, but then look different when the object view is expanded. * Source/JavaScriptCore/inspector/protocol/Runtime.json: * Source/JavaScriptCore/inspector/InjectedScriptSource.js: (RemoteObject.prototype._appendPropertyPreview.appendPreview): * Source/WebInspectorUI/UserInterface/Models/PropertyPreview.js: (WI.PropertyPreview): (WI.PropertyPreview.fromPayload): (WI.PropertyPreview.prototype.get private): Added. Include an `isPrivate` property in `Runtime.PropertyPreview`. Drive-by: Refactor `WI.PropertyPreview` to put all optional properties into a `{...} = {}`. * Source/WebInspectorUI/UserInterface/Views/ObjectPreviewView.js: (WI.ObjectPreviewView.prototype._appendPropertyPreviews): * Source/WebInspectorUI/UserInterface/Views/ObjectPreviewView.css: (.object-preview .name:is(.private, .internal)): Added. Style private and internal property previews. * LayoutTests/inspector/runtime/getPreview.html: * LayoutTests/inspector/runtime/getPreview-expected.txt: Canonical link: https://commits.webkit.org/262924@main
- Loading branch information
Showing
7 changed files
with
54 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters