It looks like some browsers don't do equality checks on ArrayBuffers the same way as others. So to fix this, we checking that segments are the same, convert each ArrayBuffer into an Uint8Array. Change-Id: Iceb6e39e326ced4e86c52968e364bf927116c250