Opened 5 years ago

Closed 4 years ago

#18581 closed defect (invalid)

Bug: dojo/_base/lang clone method - Error when an object contain a Javascript File object

Reported by: moroine Owned by: moroine
Priority: undecided Milestone: 1.13
Component: Core Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

I simply try to clone an object containing File instance.

Find my jsbin here:

http://jsbin.com/homarazeqa/9/edit?html,console,output

Change History (4)

comment:1 Changed 5 years ago by bill

Component: GeneralCore

comment:2 Changed 4 years ago by dylan

Milestone: tbd1.12

I'm inclined to say "don't do that!" :)

What would you expect the behavior to be? Fail more gracefully? In general, file objects are write only for JS in a browser.

comment:3 Changed 4 years ago by dylan

Owner: set to moroine
Status: newpending

comment:4 Changed 4 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.