The default bug view has changed. See this FAQ.

Make nsIDOMFile subclasses immutable when shared across threads.

RESOLVED FIXED in mozilla8

Status

()

Core
DOM
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: wchen, Assigned: khuey)

Tracking

unspecified
mozilla8
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
nsIDOMFiles should be immutable so that they may safely passed to web workers.
(Reporter)

Updated

6 years ago
Assignee: nobody → khuey
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Summary: Make nsIDOMFile subclasses immutable. → Make nsIDOMFile subclasses immutable when shared across threads.
Created attachment 545408 [details] [diff] [review]
Make DOM Files implement nsIMutable so they can be made immutable for sharing across threads.
Attachment #545408 - Flags: review?(jonas)
Comment on attachment 545408 [details] [diff] [review]
Make DOM Files implement nsIMutable so they can be made immutable for sharing across threads.

Review of attachment 545408 [details] [diff] [review]:
-----------------------------------------------------------------

Also make sure that nsDOMFileFile::Initialize throws if called on an immutable file.
Attachment #545408 - Flags: review?(jonas) → review+
http://hg.mozilla.org/mozilla-central/rev/398402eabdb0
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in before you can comment on or make changes to this bug.