| Summary: | Web Inspector: Clearing active Timeline recording should stop capturing | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Baker <mattbaker> | ||||||
| Component: | Web Inspector | Assignee: | Matt Baker <mattbaker> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | burg, commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
Matt Baker
2015-06-08 13:26:13 PDT
Created attachment 254505 [details]
[Patch] Proposed Fix
Before we stop capturing, maybe we should we check that: WebInspector.timelineManager.activeRecording === this._recording I'm fairly certain only the active timeline recording can be cleared, but this would make the change tolerant to future changes such as adding the ability to delete an arbitrary recording. Created attachment 254507 [details]
[Patch] Proposed Fix
Comment on attachment 254507 [details]
[Patch] Proposed Fix
Sounds good! r=me
Comment on attachment 254507 [details] [Patch] Proposed Fix Clearing flags on attachment: 254507 Committed r185349: <http://trac.webkit.org/changeset/185349> All reviewed patches have been landed. Closing bug. |