Closed
Bug 664512
Opened 13 years ago
Closed 13 years ago
Can't upload attachments: files[f].fileName is undefined
Categories
(addons.mozilla.org Graveyard :: Add-on Builder, defect)
addons.mozilla.org Graveyard
Add-on Builder
Tracking
(Not tracked)
VERIFIED
FIXED
Builder 0.9.7
People
(Reporter: clouserw, Assigned: smcarthur)
References
Details
To reproduce: 1) https://builder-addons.allizom.org/addon/1000134/latest/ 2) Click [+] next to Data 3) Pick a file and click upload See this in error console: Error: files[f].fileName is undefined Source File: https://builder-addons.allizom.org/media/jetpack/js/Sidebar.js Line: 541 I'm using a nightly
Reporter | ||
Comment 1•13 years ago
|
||
This works in fx 4.0.1
Reporter | ||
Updated•13 years ago
|
Target Milestone: Builder 0.9.6 → Builder 0.9.7
Assignee | ||
Comment 3•13 years ago
|
||
This still happening in the nightlies? Even if so, this is a browser bug...
Reporter | ||
Comment 4•13 years ago
|
||
I think we concluded the browser API changed
Assignee | ||
Comment 5•13 years ago
|
||
If this is the case, I'll need a link to the new API. https://developer.mozilla.org/en/DOM/FileList currently says: // loop trough files for (var i = 0; i < files.length; i++) { // get item file = files.item(i); //or file = files[i]; alert(file.name); }
Assignee: nobody → smcarthur
Assignee | ||
Comment 6•13 years ago
|
||
ok, this has been changed in master. apparently, Fx7 is dropping support for it's non-standard .fileName property of files. We now access the standard .name property. https://github.com/mozilla/FlightDeck/commit/e7d142777e99317961e7ed69777585bde9edfecc
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 7•13 years ago
|
||
Verified FIXED using both Firefox 5, and nightlies on Windows/Mac.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•