Skip to content
Commit 89b8b215 authored by Marc Treib's avatar Marc Treib Committed by Commit Bot
Browse files

Local NTP: Expose "MV available" to the page, don't load tiles until it is

This works around a race condition between loading the page and the IPC
message that contains the MV items.
Before this CL, if the page load won the race, then it would assume there
are no tiles and load incorrect metrics. This CL exposes "did we ever
receive MV tiles" to the page, so it can delay loading them while they're
not available anyway.

This is very much working around the symptoms rather than fixing the root
cause. Unfortunately I have no idea how to really fix the issue.

Bug: 794942, 793818
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I091b71d17d36e28b3f53ceebef6829ef23d82b3b
Reviewed-on: https://chromium-review.googlesource.com/829254


Reviewed-by: default avatarChris Pickel <sfiera@chromium.org>
Commit-Queue: Marc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#524415}
parent 2b16b45b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment