Closed
Bug 1030481
Opened 10 years ago
Closed 4 years ago
Remove the file/blob mImmutable member
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
RESOLVED
FIXED
mozilla74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: baku)
References
Details
Attachments
(1 file, 1 obsolete file)
Ben says that mImmutable is no longer useful.
For the sicking told me so.
Well.. I'm not sure. I thought the only reason we had that was to enable lazily getting the size. But it sounded like the only code path that I knew of where we would need to lazily get the size now eagerly gets the size. Code inspection should tell you if mImmutable is ever used for anything useful, no?
Reporter | ||
Comment 3•10 years ago
|
||
<http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsDOMFile.cpp#715> seems to be the only place where this does something useful. There's also a bunch of places where we assert its value.
Comment 4•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Assignee | ||
Comment 5•4 years ago
|
||
nsIMutable is used only by DOM Blob/File. But Blobs are immutable by spec.
FileBlobImpl has a couple of lazy member values, but those are called when
the object is cloned in order to be sent to a different thread/process.
Updated•4 years ago
|
Assignee: nobody → amarchesini
Status: NEW → ASSIGNED
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/61101e3eebb3 Remove nsIMutable, r=smaug
Assignee | ||
Comment 7•4 years ago
|
||
nsIMutable is used only by DOM Blob/File. But Blobs are immutable by spec.
FileBlobImpl has a couple of lazy member values, but those are called when
the object is cloned in order to be sent to a different thread/process.
Comment 8•4 years ago
|
||
Backed out changeset 61101e3eebb3 (Bug 1030481) for mochitest failures at test_file.xhtml.
https://hg.mozilla.org/integration/autoland/rev/a58cc727dc9423e6b63c1fcc7d6395856a9f91da
Failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=283835524&repo=autoland&lineNumber=23275
Flags: needinfo?(amarchesini)
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e2a2413fa317 Remove nsIMutable, r=smaug
Comment 10•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Updated•4 years ago
|
Attachment #9118711 -
Attachment is obsolete: true
Assignee | ||
Updated•4 years ago
|
Flags: needinfo?(amarchesini)
You need to log in
before you can comment on or make changes to this bug.
Description
•