FlashPlayer Bytearray write/read Rectangle ERROR
Reported by
develope...@gmail.com,
Mar 22 2017
|
||||
Issue description
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3048.0 Safari/537.36
Steps to reproduce the problem:
var testRect:Rectangle = new Rectangle(1,2,3,4);
ExternalInterface.call('console.log', "testRect (" + testRect.x + ", " + testRect.y + ", " + testRect.width + ", " + testRect.height + ")\n");
var clonedRect:Rectangle = ObjectUtil.clone(testRect) as Rectangle;
ExternalInterface.call('console.log', "clonedRect (" + clonedRect.x + ", " + clonedRect.y + ", " + clonedRect.width + ", " + clonedRect.height + ")\n");
var buffer:ByteArray = new ByteArray();
buffer.writeObject(clonedRect);
buffer.position = 0;
var clonedRect2:Rectangle = buffer.readObject() as Rectangle;
ExternalInterface.call('console.log',"clonedRect2 (" + clonedRect2.x + ", " + clonedRect2.y + ", " + clonedRect2.width + ", " + clonedRect2.height + ")\n");
What is the expected behavior?
console:
testRect (1, 2, 3, 4)
clonedRect (1, 2, 3, 4)
clonedRect2 (1, 2, 3, 4)
What went wrong?
console:
testRect (1, 2, 3, 4)
clonedRect (1, 2, 3, 6)
clonedRect2 (1, 2, 3, 8)
Cloning writing/reading object Rectangle is always adding y to height!
Did this work before? No
Chrome version: 59.0.3048.0 Channel: canary
OS Version: 10.0
Flash Version: Shockwave Flash 25.0 r0
On Chrome 57.0.2987.110 x32 works fine...
Also installing flashplayer works fine, only ppapi x64 gives this error.
,
Mar 23 2017
Reporter@ Could you please provide any sample test case file as an attachment or js fiddle to test this issue from Chrome-TE end. Thanks!
,
Mar 23 2017
Here you go: goo.gl/Vbbmg2
,
Mar 23 2017
Thank you for providing more feedback. Adding requester "brajkumar@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Mar 23 2017
This issue is happening on all imacs of our company.. ex: OSX Yosemite 10.10.5 Core i5 Adobe Flash Player - Versão: 25.0.0.127
,
Mar 23 2017
On FP 25.0.0.143 this bug disappear! Thank you!
,
Mar 24 2017
As per comment#6, changing the status to 'Wontfix'. Please feel free to log a new defect if the issue occurs again. Thank you!!
,
Mar 24 2017
The version 57.0.2987.110 (64 bits) on windows 7, presents the same error! On my computer, the same version 57.0.2987.110 (32 bits) is OK Please release the update for FP 25.0.0.143! |
||||
►
Sign in to add a comment |
||||
Comment 1 by manoranj...@chromium.org
, Mar 22 2017