Reland "blink/bindings: Check that decompression is correct, and add UTF-16 testing."

This reverts commit 9bdce258ade342f621d1f7f7b48412607c88dbb4.

Reason for reland: Fixed the test failure issue in https://chromium-review.googlesource.com/c/chromium/src/+/1577423

Original change's description:
> Revert "blink/bindings: Check that decompression is correct, and add UTF-16 testing."
> 
> This reverts commit 8ca571cb6ddefcc76906bffa17fd1159709a5de5.
> 
> Reason for revert: This change caused blink_platform_unittests failing on multiple builders
> 
> sample build:
> https://analysis.chromium.org/waterfall/failure?url=https://ci.chromium.org/p/chromium/builders/ci/Win%207%20Tests%20x64%20%281%29/52324
> 
> Original change's description:
> > blink/bindings: Check that decompression is correct, and add UTF-16 testing.
> > 
> > There are crashes in ParkableString decompression, which are assumed to be OOM
> > conditions. Add a check to make sure this is the case, and add testing for UTF16
> > strings to make sure that this doesn't instead come from such strings.
> > 
> > Bug: 946203
> > Change-Id: Iaafde8c3c7b9c79bf87de67e6c5de5b71e1a310a
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1575499
> > Reviewed-by: Kentaro Hara <haraken@chromium.org>
> > Commit-Queue: Benoit L <lizeb@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#652513}
> 
> TBR=haraken@chromium.org,lizeb@chromium.org
> 
> Change-Id: Id697c7df2b13d7ff8a40e68a80b3189600f781c4
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: 946203
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1574286
> Reviewed-by: Chan Li <chanli@chromium.org>
> Commit-Queue: Chan Li <chanli@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#652547}

TBR=haraken@chromium.org,lizeb@chromium.org,chanli@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 946203
Change-Id: If03319ed1c94c66e38f8e6e3523edcc080de1865
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1578604
Reviewed-by: Benoit L <lizeb@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Benoit L <lizeb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653177}
2 files changed