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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js

Issue 2850333002: DevTools: Promisify Profiler and HeapProfiler domains (Closed)
Patch Set: addressing comments Created 3 years, 8 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 | third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
index f0286963c7b760025297fb93e0fa56e4c5faa5ca..5c09104e71dd7d9dccfc63e53f8fc3f15fe021d8 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
@@ -207,7 +207,7 @@ InspectorTest.clearNetworkCache = function(finishedCallback)
// This turns cache off and then on, effectively clearning the cache.
var networkAgent = InspectorTest.NetworkAgent;
var promise = networkAgent.setCacheDisabled(true);
- promise.then(networkAgent.setCacheDisabled.bind(networkAgent, false));
+ promise.then(() => networkAgent.setCacheDisabled(false));
promise.then(finishedCallback);
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-inspect-dom-wrapper.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698