telemetry: Add a None check to inspector_page.py.
commit93de29973602195f3b0c6bcb3980dd145e8372c4
authorerikchen <erikchen@chromium.org>
Thu, 12 Feb 2015 04:32:44 +0000 (11 20:32 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 12 Feb 2015 04:33:34 +0000 (12 04:33 +0000)
treea4d7f878e9baba63abfc9f22720a362ae0117bc8
parent4988f323e8e12d6fccd19ea2cf23461665a5b434
telemetry: Add a None check to inspector_page.py.

The existing implementation of Navigate() assumes that
self._navigated_frame_ids is not None after a navigation request has
been sent. It's actually possible that a Notification has come back
that's already cleared the local variable.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#315929}
tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_page.py