Enable WPR for benchmarks/startup_mobile.py
Coding against this API has been a 2-day debugging challenge :)
I also considered "moving network controller options out of
browser_options into finder_options: [1]. Then quickly I was chasing the
ideals of unbundling StorySet from WprArchiveInfo in order to make
_possible_browser.{SetUp,CleanUp}Environment() to start/stop the WPR
server and forwarding.
This would have been a better API IMO. On the other hand the refactoring
associated with it looked a bit involved. So here it is - re-elly
partial solution, to say mildly, which injects a few more
tightly-coupled classes into each other to solve one specific problem.
Sorry.
[1] Mention of http://crbug.com/404771 in shared_page_state.py. The
catapult side of it
(https://github.com/catapult-project/catapult/issues/1977) was
closed, but seems not done yet.
Bug: 760498
Change-Id: I44e03179f9f2ed16f8fc1934c9786ef342f83609
Reviewed-on: https://chromium-review.googlesource.com/1122862
Commit-Queue: Egor Pasko <pasko@chromium.org>
Reviewed-by:
Juan Antonio Navarro Pérez <perezju@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572276}
Showing
Please register or sign in to comment