cros: Move DOMMessageQueue(s) declarations before executing js code.

I'm pretty sure that should help with flakiness.

TBR=jdufault@chromium.org

Change-Id: I14e210de22a037b84b90346d89b3a7e2e7d61233
Bug: 699228
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1514055
Reviewed-by: Roman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#639428}
1 file changed