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

Unified Diff: tools/android/loading/sandwich_utils.py

Issue 2138713002: sandwich: Fix some trivial failures on SWR benchmark runs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: tools/android/loading/sandwich_utils.py
diff --git a/tools/android/loading/sandwich_utils.py b/tools/android/loading/sandwich_utils.py
index b5ec4979d2d0b4db94e1f87eddf724ea8f15cdae..eda55e03dba27237aab59aec8e3c7ba95963eb0b 100644
--- a/tools/android/loading/sandwich_utils.py
+++ b/tools/android/loading/sandwich_utils.py
@@ -35,6 +35,8 @@ def FilterOutDataAndIncompleteRequests(requests):
if request.protocol is None:
assert not request.HasReceivedResponse()
continue
+ if request.protocol in {'about'}:
+ continue
if request.protocol not in {'http/0.9', 'http/1.0', 'http/1.1'}:
raise RuntimeError('Unknown request protocol {}'.format(request.protocol))
yield request
« tools/android/loading/request_track.py ('K') | « tools/android/loading/sandwich_swr.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698