Changeset 280989 in webkit
- Timestamp:
- Aug 12, 2021 3:50:45 PM (11 months ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/QuickConsole.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r280974 r280989 1 2021-08-12 Patrick Angle <pangle@apple.com> 2 3 Web Inspector: Adding execution contexts after page load doesn't show a hidden execution selector 4 https://bugs.webkit.org/show_bug.cgi?id=229053 5 6 Reviewed by Devin Rousso. 7 8 Add a handler for execution contexts being added to update the display of the execution context list, as when 9 there is only a single context at page load the dropdown will be hidden and thus needs to be shown when an 10 execution context is added after page load. 11 12 * UserInterface/Views/QuickConsole.js: 13 (WI.QuickConsole): 14 (WI.QuickConsole.prototype._handleFrameExecutionContextAdded): 15 1 16 2021-08-12 Nikita Vasilyev <nvasilyev@apple.com> 2 17 -
trunk/Source/WebInspectorUI/UserInterface/Views/QuickConsole.js
r269359 r280989 70 70 WI.Frame.addEventListener(WI.Frame.Event.PageExecutionContextChanged, this._handleFramePageExecutionContextChanged, this); 71 71 WI.Frame.addEventListener(WI.Frame.Event.ExecutionContextsCleared, this._handleFrameExecutionContextsCleared, this); 72 WI.Frame.addEventListener(WI.Frame.Event.ExecutionContextAdded, this._handleFrameExecutionContextAdded, this); 72 73 73 74 WI.debuggerManager.addEventListener(WI.DebuggerManager.Event.ActiveCallFrameDidChange, this._handleDebuggerActiveCallFrameDidChange, this); … … 373 374 } 374 375 376 _handleFrameExecutionContextAdded(event) 377 { 378 this._updateActiveExecutionContextDisplay(); 379 } 380 375 381 _handleFrameExecutionContextsCleared(event) 376 382 {
Note: See TracChangeset
for help on using the changeset viewer.