Check for duplicate ArrayBuffer transferables.

Attempts to pass duplicate transferable object should be caught by
postMessage(),

  http://www.whatwg.org/specs/web-apps/current-work/#dom-window-postmessage
  http://www.whatwg.org/specs/web-apps/current-work/#dom-messageport-postmessage

Add the required case for ArrayBuffer.

R=mkwst,dslomov
BUG=334397

Review URL: https://codereview.chromium.org/138273013

git-svn-id: svn://svn.chromium.org/blink/trunk@165224 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed
tree: f2c5b9d9b9c0d4dde723fe64f634f37b079c2632
  1. third_party/