New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 704248 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

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.
 
Labels: Needs-Triage-M59
Cc: brajkumar@chromium.org
Labels: Needs-Feedback
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!
Here you go: goo.gl/Vbbmg2
test_cloning.zip
692 KB Download
Project Member

Comment 4 by sheriffbot@chromium.org, Mar 23 2017

Labels: -Needs-Feedback
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
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

On FP 25.0.0.143 this bug disappear!

Thank you!
Status: WontFix (was: Unconfirmed)
As per comment#6, changing the status to 'Wontfix'.
Please feel free to log a new defect if the issue occurs again.
Thank you!!
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