RESOLVED FIXED 191438
Web Inspector: Potential for watch expressions to never show results
https://bugs.webkit.org/show_bug.cgi?id=191438
Summary Web Inspector: Potential for watch expressions to never show results
Joseph Pecoraro
Reported 2018-11-08 15:06:20 PST
Potential for watch expressions to never show results I'm not sure how this would be possible, but watch expressions might not be resolving a Promise. It should always resolve the Promise here.
Attachments
[PATCH] Proposed Fix (2.28 KB, patch)
2018-11-08 15:08 PST, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2018-11-08 15:08:05 PST
Created attachment 354280 [details] [PATCH] Proposed Fix
Matt Baker
Comment 2 2018-11-08 15:19:20 PST
Comment on attachment 354280 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 3 2018-11-08 15:44:32 PST
Comment on attachment 354280 [details] [PATCH] Proposed Fix Clearing flags on attachment: 354280 Committed r238005: <https://trac.webkit.org/changeset/238005>
WebKit Commit Bot
Comment 4 2018-11-08 15:44:33 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2018-11-08 15:45:24 PST
Devin Rousso
Comment 6 2018-11-08 16:51:47 PST
Comment on attachment 354280 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=354280&action=review > Source/WebInspectorUI/UserInterface/Views/ScopeChainDetailsSidebarPanel.js:-313 > - resolve(propertyDescriptor); If `evaluateInWindow` becomes `async`, this could cause the order of properties to be different (depending on the order that each promise resolves). This isn't an issue right now, especially considering that `WI.ObjectTreeView.comparePropertyDescriptors` sorts the list after the fact. Just something to consider :)
Note You need to log in before you can comment on or make changes to this bug.