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

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Aug 2012
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Restricted
  • Only users with EditIssue permission may comment.



Sign in to add a comment
link

Issue 144107: pepperflash root.loaderInfo.bytes is null

Reported by daniel.b...@gmail.com, Aug 22 2012

Issue description

Chrome Version       : 21.0.1180.83 (Offizieller Build 152131) m, Flash	11.3.31.230
URLs (if applicable) :
Other browsers tested:
  tested with chrome (same version as above), but with flash 11,3,300,271 (adobe plugin)

What steps will reproduce the problem?
1. create an AS3.0 
2. when file is complete (listen to Event.COMPLETE), try to access this.root.loaderInfo.bytes

What is the expected result?
this.root.loaderInfo.bytes should return the bytes of the loaded object; in my case the main SWF file. the reason is that i need to calculate an MD5sum of the flash file and compare it with the server's version, to be sure no one altered it.
the access may also throw a securityError as described here: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/LoaderInfo.html#bytes

What happens instead?
the property is "null"

Please provide any additional information below. Attach a screenshot if
possible.
 

Comment 1 by meh...@chromium.org, Aug 22 2012

Labels: -Area-Undefined Area-Internals Feature-Flash

Comment 2 by meh...@chromium.org, Aug 22 2012

Labels: Feature-Plugins-Pepper

Comment 3 by viettrungluu@chromium.org, Aug 22 2012

Labels: Action-FeedbackNeeded
It's typically easier for us if you include a sample file (AS source and compiled swf) that reproduces the problem, since it saves us a lot of time. So if it isn't too much trouble, could you do so?

Comment 4 by viettrungluu@chromium.org, Aug 22 2012

Owner: viettrungluu@chromium.org
Status: Assigned

Comment 5 by daniel.b...@gmail.com, Aug 22 2012

in the attached 7zip file, you'll find a FlashDevelop project with source and binary swf.
root.loaderInfo.bytes.7z
8.8 KB Download

Comment 6 by viettrungluu@chromium.org, Aug 22 2012

Labels: -Action-FeedbackNeeded

Comment 7 by viettrungluu@chromium.org, Aug 22 2012

Yargh, this is a regression from version 11.3.31.208.

Comment 8 by daniel.b...@gmail.com, Aug 22 2012

if i can do anything to help, just let me know

Comment 9 by jjh...@bueller.us, Aug 22 2012

Yup, I think we're seeing this at PicMonkey as well. In our case, we're trying to parse EXIF tags.

Comment 10 by viettrungluu@chromium.org, Aug 22 2012

Status: Started

Comment 11 by viettrungluu@chromium.org, Aug 23 2012

This should be fixed in tomorrow's Canary (Pepper Flash version 11.3.31.321).

Comment 12 by daniel.b...@gmail.com, Aug 23 2012

awesome! i appreciate your very fast response.

Comment 13 by jjh...@bueller.us, Aug 23 2012

Very nice. Thanks for the quick fix!

Comment 14 by viettrungluu@chromium.org, Aug 23 2012

Labels: Mstone-21 Merge-Requested
Status: Fixed

Comment 15 by kareng@google.com, Aug 24 2012

this is the fix for what the other fix broke? it's safe?

Comment 16 by chrissuf...@gmail.com, Aug 24 2012

Pepper Flash version 11.3.31.321 fixed my issue ( Issue 144366 ). Can anyone say how long till it gets rolled out to the public?

Comment 17 by kareng@google.com, Aug 24 2012

Labels: -Merge-Requested Merge-Approved

Comment 18 by viettrungluu@chromium.org, Aug 24 2012

 Issue 144366  has been merged into this issue.

Comment 19 by vfedorov@chromium.org, Aug 24 2012

 Issue 144366  has been merged into this issue.

Comment 20 by vfedorov@chromium.org, Aug 24 2012

 Issue 144366  has been merged into this issue.

Comment 21 by viettrungluu@chromium.org, Aug 24 2012

Cc: nepper@chromium.org bauerb@chromium.org jeffreyc@chromium.org
 Issue 144510  has been merged into this issue.

Comment 22 by to...@kainbacher.com, Aug 25 2012

Does anyone know when this update will be shipped? it's been labled "fixed" for nearly two days!

Comment 23 by Deleted ...@, Aug 26 2012

We are very eager for this update to be released too, because this issue totally prevents all our Chrome users from playing our game Transformice (64% of our web users). Any ETA ?

Comment 24 by viettrungluu@chromium.org, Aug 27 2012

Cc: wiltzius@chromium.org vangelis@chromium.org brettw@chromium.org viettrungluu@chromium.org
 Issue 144829  has been merged into this issue.

Comment 25 by nepper@chromium.org, Aug 27 2012

@16,22,23: This fix has already been shipped to Canary users. We are planning to include it with our next stable channel update. Thanks for bearing with us!

Comment 26 by viettrungluu@chromium.org, Aug 29 2012

 Issue 144385  has been merged into this issue.

Comment 27 by nepper@chromium.org, Aug 29 2012

 Issue 144510  has been merged into this issue.

Comment 28 by vivianz@chromium.org, Aug 29 2012

 Issue 144385  has been merged into this issue.

Comment 29 by vivianz@chromium.org, Aug 29 2012

Status: Verified
verify as fixed in Chrome 21.0.1180.87. verify all problematic sites filed in dup reports. undupe and re-assign  issue 144385 , this issue has different cause, now reproducible on both canary and stable 87.

Comment 30 by vivianz@chromium.org, Aug 29 2012

 Issue 144385  has been merged into this issue.

Comment 31 by rokm...@gmail.com, Sep 5 2012

Chrome 21.0.1180.89 (pepperflash 11.3.31.232) - problem exists
Chrome canary 23.0.1255.0 (pepperflash 11.3.31.327) - problem exists
var bytes:ByteArray = loaderInfo.bytes, bytes always reported as null
Even standard flex component <s:BitmapImage /> not working :(
test1.mxml
407 bytes Download

Comment 32 by daniel.b...@gmail.com, Sep 5 2012

is this related to the SWFs topmost loaderInfo at root.loaderInfo.bytes, or is it related to a Loader object loading an external image only?

Comment 33 by rokm...@gmail.com, Sep 5 2012

I think it is related to a loader object loading an external image. 
I have modified your script to load image and now when I'm executing your original script it shows "root.loaderInfo.bytes is set; length: XXXXX". But when I'm executing my script it shows "loaderInfo.bytes is NULL, BUT loaderInfo.bytesTotal is XXXX" 
I've attached my script
Main.as
2.5 KB View Download

Comment 34 by bugdroid1@chromium.org, Oct 14 2012

Project Member
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.

Comment 35 by bugdroid1@chromium.org, Oct 14 2012

Project Member
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.

Comment 36 by k...@google.com, Jan 14 2013

Labels: -Merge-Approved

Comment 37 by bugdroid1@chromium.org, Mar 10 2013

Project Member
Labels: -Area-Internals -Feature-Flash -Feature-Plugins-Pepper -Mstone-21 M-21 Cr-Content-Plugins-Flash Cr-Internals Cr-Content-Plugins-Pepper

Comment 38 by bugdroid1@chromium.org, Mar 14 2013

Project Member
Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue

Comment 39 by bugdroid1@chromium.org, Apr 6 2013

Project Member
Labels: Cr-Blink

Comment 40 by bugdroid1@chromium.org, Apr 6 2013

Project Member
Labels: -Cr-Content-Plugins-Flash Cr-Internals-Plugins-Flash

Comment 41 by bugdroid1@chromium.org, Apr 6 2013

Project Member
Labels: Cr-Internals-Plugins

Comment 42 by bugdroid1@chromium.org, Apr 6 2013

Project Member
Labels: -Cr-Content-Plugins-Pepper Cr-Internals-Plugins-Pepper

Comment 43 by laforge@google.com, Jul 24 2013

Cc: -jeffreyc@chromium.org

Sign in to add a comment