Title: [241616] trunk/Source/WebInspectorUI
- Revision
- 241616
- Author
- [email protected]
- Date
- 2019-02-15 14:14:29 -0800 (Fri, 15 Feb 2019)
Log Message
Web Inspector: Canvas: all actions after an offscreen path modification are marked as offscreen path errors
https://bugs.webkit.org/show_bug.cgi?id=194684
Reviewed by Joseph Pecoraro.
* UserInterface/Models/RecordingAction.js:
(WI.RecordingAction.prototype.process):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (241615 => 241616)
--- trunk/Source/WebInspectorUI/ChangeLog 2019-02-15 21:41:15 UTC (rev 241615)
+++ trunk/Source/WebInspectorUI/ChangeLog 2019-02-15 22:14:29 UTC (rev 241616)
@@ -1,5 +1,15 @@
2019-02-15 Devin Rousso <[email protected]>
+ Web Inspector: Canvas: all actions after an offscreen path modification are marked as offscreen path errors
+ https://bugs.webkit.org/show_bug.cgi?id=194684
+
+ Reviewed by Joseph Pecoraro.
+
+ * UserInterface/Models/RecordingAction.js:
+ (WI.RecordingAction.prototype.process):
+
+2019-02-15 Devin Rousso <[email protected]>
+
Web Inspector: Canvas: taking a second recording doesn't select the Initial State by default
https://bugs.webkit.org/show_bug.cgi?id=194685
Modified: trunk/Source/WebInspectorUI/UserInterface/Models/RecordingAction.js (241615 => 241616)
--- trunk/Source/WebInspectorUI/UserInterface/Models/RecordingAction.js 2019-02-15 21:41:15 UTC (rev 241615)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/RecordingAction.js 2019-02-15 22:14:29 UTC (rev 241616)
@@ -251,9 +251,9 @@
let lastState = null;
if (lastAction) {
- let previousState = lastAction.states.lastValue;
+ lastState = lastAction.states.lastValue;
for (let [name, value] of currentState) {
- let previousValue = previousState.get(name);
+ let previousValue = lastState.get(name);
if (value !== previousValue && !Object.shallowEqual(value, previousValue))
this._stateModifiers.add(name);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes