Skip to content

Commit

Permalink
Go back in history after each test to prevent leaking every page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraham committed May 26, 2015
1 parent a4fa32b commit 6815648
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wptrunner/executors/executorservodriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ def do_testharness(self, session, url, timeout):
"url": strip_server(url),
"timeout_multiplier": self.timeout_multiplier,
"timeout": timeout * 1000}))
if "test" not in result:
result["test"] = strip_server(url)
# Prevent leaking every page in history until Servo develops a more sane
# page cache
session.back()
return result


Expand Down

0 comments on commit 6815648

Please sign in to comment.