Telemetry: Fix several small problems in the profile creator.
commit0b384f1f3709333a2a4baf9de5661e1dbda40fa1
authorerikchen <erikchen@chromium.org>
Mon, 23 Feb 2015 19:40:57 +0000 (23 11:40 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 23 Feb 2015 19:41:45 +0000 (23 19:41 +0000)
treee6a034bd93f05ce57519c1261d76b092f8ed8504
parent85d14c96ec8430362e9a113e4430ee16756e6443
Telemetry: Fix several small problems in the profile creator.

- The profile creator was using integer indexing into the tab list, which
non-deterministically fails. The new code uses dictionary lookup.
- The profile creator was not robust against several types of exceptions that
occur more frequently with developer builds of Chrome.

BUG=442546

Review URL: https://codereview.chromium.org/939143004

Cr-Commit-Position: refs/heads/master@{#317624}
tools/perf/profile_creators/fast_navigation_profile_extender.py
tools/perf/profile_creators/fast_navigation_profile_extender_unittest.py