Bug 195060

Summary: Web Inspector: Canvas: enabling auto-capture if the frame count is empty triggers an assertion
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, mattbaker, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Devin Rousso 2019-02-26 11:42:08 PST
# STEPS TO REPRODUCE:
1. inspect any page
2. go to the Canvas tab
3. delete all text inside the auto-capture frame count <input> (make sure the checkbox is unchecked)
4. click the checkbox
 => the <input> is empty and has the placeholder "null"
Comment 1 Devin Rousso 2019-02-26 11:47:16 PST
Created attachment 362999 [details]
Patch
Comment 2 Radar WebKit Bug Importer 2019-02-26 11:47:34 PST
<rdar://problem/48408669>
Comment 3 Matt Baker 2019-02-28 12:41:17 PST
Comment on attachment 362999 [details]
Patch

r=me, nice refactor. It makes much more sense to check this._recordingAutoCaptureFrameCountInputElementValue separately from setting the frame count and updating the label.
Comment 4 WebKit Commit Bot 2019-02-28 13:07:05 PST
Comment on attachment 362999 [details]
Patch

Clearing flags on attachment: 362999

Committed r242217: <https://trac.webkit.org/changeset/242217>
Comment 5 WebKit Commit Bot 2019-02-28 13:07:06 PST
All reviewed patches have been landed.  Closing bug.