New issue
Advanced search Search tips

Issue 691773 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

TestDriver's GetHTTPResponses() returns empty on subsequent calls

Project Member Reported by bengr@chromium.org, Feb 13 2017

Issue description

The following two code snippets should do the same thing or the former should throw an exception if GetHTTPResponses is called more than once after a url is loaded:

t.LoadURL(foo)
t.assertEqual(t.GetHTTPResponses())
for response in t.GetHTTPResponses():
  ...

t.LoadURL(foo)
responses = t.GetHTTPResponses()
t.assertEqual(2, responses)
for response in t.GetHTTPResponses():
  ..


 
Project Member

Comment 1 by bugdroid1@chromium.org, Feb 15 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/196faa680a4f532edbdbe9a2c25a996e9a7ecfde

commit 196faa680a4f532edbdbe9a2c25a996e9a7ecfde
Author: robertogden <robertogden@chromium.org>
Date: Wed Feb 15 16:40:29 2017

Raise Exception if GetHTTPResponses() called multiple times

BUG= 691773 

Review-Url: https://codereview.chromium.org/2696943002
Cr-Commit-Position: refs/heads/master@{#450724}

[modify] https://crrev.com/196faa680a4f532edbdbe9a2c25a996e9a7ecfde/tools/chrome_proxy/webdriver/common.py

Status: Fixed (was: Assigned)

Sign in to add a comment