Pass Binary Object from UI to Background Page Will Break the Prototype Chain
Reported by
shanger...@hotmail.com,
Jun 7 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 Steps to reproduce the problem: 1. Create a ArrayBuffer/Blob in any UI page 2. Pass it to the background page of an extension 3. check it with "obj instanceof ArrayBuffer" will return false 4. use console.log to display it in the console, it still looks like a ArrayBuffer/Blob What is the expected behavior? What went wrong? The prototype chain is broken. To walk around this issue, have to manually reset the prototype chain by obj.__proto__ = ArrayBuffer.prototype WebStore page: Did this work before? N/A Chrome version: Version 51.0.2704.79 m Channel: n/a OS Version: 10.0 Flash Version:
,
Jun 7 2016
shangerxin@ - Thanks for filing the issue, If you don't mind could you please provide the sample test case of the file where we can reproduce this issue from Chrome TE end for further assistance. thanks!
,
Jul 14 2016
Due to lack of user response we are closing this issue. Please feel free to file a new issue if you still encounter the issue from your end. |
|||
►
Sign in to add a comment |
|||
Comment 1 by shanger...@hotmail.com
, Jun 7 2016