Bug 947826 - Update dataLength to data.length. r=gsvelto