Change js-test.js to create div for each debug message

This patch changes each debug message of js-test.js to
produce a block box rather than an inline box.

Before this patch, it can create a huge inline formatting
context by appending <span>s, which LayoutNG is not very
performant to handle at this point.

LayoutNG should be able to handle incrementally expanding
huge inline formatting context for textarea and some other
use cases, but they should have own tests, and not every
js-test.js should make this challenge.

This change reduces 5 LayoutNG timeout failures.

Bug: 636993
Change-Id: I5df429df64bf21dc051fe13600180511ca20ac22
Reviewed-on: https://chromium-review.googlesource.com/1163402
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580997}
3 files changed