Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js

Issue 2392553003: DevTools: continue recording network activity after load (Closed)
Patch Set: Enabling screenshots don't stop recording when page loads Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
index aff3f1680709c7144d4c71fd072c41a4888a4eb2..3176e423eef3cf19c4842948d254357c66bc581a 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkPanel.js
@@ -273,7 +273,13 @@ WebInspector.NetworkPanel.prototype = {
_load: function(event)
{
if (this._filmStripRecorder && this._filmStripRecorder.isRecording())
- this._pendingStopTimer = setTimeout(this._toggleRecord.bind(this, false), 1000);
+ this._pendingStopTimer = setTimeout(this._stopFilmStripRecording.bind(this), 1000);
+ },
+
+ _stopFilmStripRecording: function()
+ {
+ this._filmStripRecorder.stopRecording(this._filmStripAvailable.bind(this));
+ delete this._pendingStopTimer;
},
_toggleLargerRequests: function()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698