Title: [258818] trunk/Source/WebInspectorUI
- Revision
- 258818
- Author
- [email protected]
- Date
- 2020-03-22 00:42:18 -0700 (Sun, 22 Mar 2020)
Log Message
Web Inspector: Uncaught Exception: Right side of assignment cannot be destructured (at QuickConsole.js:358:30)
https://bugs.webkit.org/show_bug.cgi?id=209388
Reviewed by Joseph Pecoraro.
* UserInterface/Views/QuickConsole.js:
(WI.QuickConsole.prototype._handleFramePageExecutionContextChanged):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (258817 => 258818)
--- trunk/Source/WebInspectorUI/ChangeLog 2020-03-22 05:02:55 UTC (rev 258817)
+++ trunk/Source/WebInspectorUI/ChangeLog 2020-03-22 07:42:18 UTC (rev 258818)
@@ -1,3 +1,13 @@
+2020-03-22 Devin Rousso <[email protected]>
+
+ Web Inspector: Uncaught Exception: Right side of assignment cannot be destructured (at QuickConsole.js:358:30)
+ https://bugs.webkit.org/show_bug.cgi?id=209388
+
+ Reviewed by Joseph Pecoraro.
+
+ * UserInterface/Views/QuickConsole.js:
+ (WI.QuickConsole.prototype._handleFramePageExecutionContextChanged):
+
2020-03-21 Devin Rousso <[email protected]>
Web Inspector: REGRESSION(r257380, r257759): focusing the inspected page when docked dims most of the interface
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/QuickConsole.js (258817 => 258818)
--- trunk/Source/WebInspectorUI/UserInterface/Views/QuickConsole.js 2020-03-22 05:02:55 UTC (rev 258817)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/QuickConsole.js 2020-03-22 07:42:18 UTC (rev 258818)
@@ -350,15 +350,15 @@
_handleFramePageExecutionContextChanged(event)
{
- if (this._restoreSelectedExecutionContextForFrame !== event.target)
+ let frame = event.target;
+
+ if (this._restoreSelectedExecutionContextForFrame !== frame)
return;
this._restoreSelectedExecutionContextForFrame = null;
- let {context} = event.data;
-
this._useExecutionContextOfInspectedNode = false;
- this._setActiveExecutionContext(context);
+ this._setActiveExecutionContext(frame.pageExecutionContext);
}
_handleFrameExecutionContextsCleared(event)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes