-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Web Inspector: Console: internal properties are not greyed out in object previews #12685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
EWS run on previous version of this PR (hash 4a4fd80) |
|
EWS run on previous version of this PR (hash f4d7204) |
patrickangle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me once we have a set of test passes. Looks like a lot of tests were relying on PropertyPreview having undefined values for various things instead of null/false default values and need rebaselined or updated to not output those nulls and falses 😓
|
EWS run on current version of this PR (hash f6c7bcc) |
…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
f6c7bcc to
6d890de
Compare
|
Committed 262924@main (6d890de): https://commits.webkit.org/262924@main Reviewed commits have been landed. Closing PR #12685 and removing active labels. |
6d890de
f6c7bcc
🛠 wincairo🧪 wpe-wk2🧪 ios-wk2🧪 gtk-wk2🛠 🧪 jsc🧪 mac-AS-debug-wk2