Enable FP reporting for document-write violations.

This queues a report through the Reporting API whenever the dynamic
markup insertion methods (document.open, close, write, writeln) are
called from a frame in which document-write is not allowed according to
feature policy.

Bug: 867471
Change-Id: I08bc1c8e96f45a7c8c544df2f9a718880680dc01
Reviewed-on: https://chromium-review.googlesource.com/1191533
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587003}
3 files changed