Modify frameset console to use postMessage

To introduce EventLoop concept we can't have AllowUniversalAccessFromFileURLs changing midway, and so we will be making AllowUniversalAccessFromFileURLs false for web_tests by default.

Tests using frameset, write in the frame to show text. Without AllowUniversalAccessFromFileURLs, you cannot write directly into it, so this CL changes them to use postMessage.

Bug=804661

Change-Id: I22a48a6a856f4cb2b14bcc956a2fa2cf47cea3f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1573521
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Taiju Tsuiki <tzik@chromium.org>
Commit-Queue: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#652512}
6 files changed