Changeset 278853 in webkit
- Timestamp:
- Jun 14, 2021, 5:46:19 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/AuditTestContentView.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r278785 r278853 1 2021-06-14 Patrick Angle <pangle@apple.com> 2 3 [REGRESSION: r276616] Uncaught Exception: TypeError: undefined is not an object (evaluating 'this._setupCodeMirror.getValue') 4 https://bugs.webkit.org/show_bug.cgi?id=226995 5 6 Reviewed by Devin Rousso. 7 8 Audit test groups share a single setup editor for all their test cases, leaving individual test cases without 9 their own setup editor. In this case, we should not attempt to save the setup script for every test, and instead 10 allow the instance of `AuditTestGroupContentView` that does have a setup editor to save the script. 11 12 * UserInterface/Views/AuditTestContentView.js: 13 (WI.AuditTestContentView.prototype.saveEditedData): 14 1 15 2021-06-11 Patrick Angle <pangle@apple.com> 2 16 -
trunk/Source/WebInspectorUI/UserInterface/Views/AuditTestContentView.js
r276616 r278853 318 318 { 319 319 console.assert(this.representedObject.editable, this.representedObject); 320 this.representedObject.setup = this._setupCodeMirror.getValue().trim(); 320 if (this._setupCodeMirror) 321 this.representedObject.setup = this._setupCodeMirror.getValue().trim(); 321 322 } 322 323
Note:
See TracChangeset
for help on using the changeset viewer.