Fix WritableStream serialisation

Fix WritableStream::Serialize() to call the V8 extra function
WritableStreamSerialize with the internal stream object rather than the
wrapper.

Also add a set of tests for transferring WritableStream objects.

recording-streams.js is copied unchanged from the wpt version
for use in the new tests. It will be removed again once they
are upstreamed.

Also a minor simplification in CommonOperations.js.

BUG=894838

Change-Id: I489a3685fa4ed1f00b950c10a0e28c6e27ec2c48
Reviewed-on: https://chromium-review.googlesource.com/c/1402302
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Commit-Queue: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#621473}
3 files changed