Closed
Bug 1307467
Opened 10 years ago
Closed 9 years ago
Remove RemoteFileOpen, and all app:// related code from JAR channels.
Categories
(Core :: Networking: JAR, defect)
Core
Networking: JAR
Tracking
()
RESOLVED
FIXED
mozilla52
| Tracking | Status | |
|---|---|---|
| firefox52 | --- | fixed |
People
(Reporter: jduell.mcbugs, Assigned: valentin)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-active])
Attachments
(3 files)
Bug 1285170 removed the app:// protocol, but JAR channels still contain a bunch of logic that is app-specific, including nsIJarChannel.setJarUri(), and the logic that uses remoteopenfile for app:// requests.
Basically we should get rid of anything that was added in bug 815523 but wasn't already removed in bug 1285170.
| Reporter | ||
Comment 1•10 years ago
|
||
Note that AFAICT this also includes ripping out RemoteOpenFile (hallelujah!). I don't see any other uses of it in the tree. And it really deserves to die :)
| Reporter | ||
Updated•10 years ago
|
Summary: Remove setAppUri and all app:// related code from JAR channels. → Remove RemoteFileOpen, and all app:// related code from JAR channels.
| Reporter | ||
Comment 2•10 years ago
|
||
I suppose we may need similar code to this to support jar:// in child processes once we have sandboxing. I say we rip all this code out for now and restore bits as needed when and if we actually get close to sandboxing I/O in child processes.
| Assignee | ||
Updated•10 years ago
|
Whiteboard: [necko-next]
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Assignee | ||
Comment 5•10 years ago
|
||
Whiteboard: [necko-next] → [necko-active]
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment on attachment 8803011 [details]
Bug 1307467 - Remove RemoteFileOpen, and all app:// related code from JAR channels.
https://reviewboard.mozilla.org/r/87268/#review86900
Lovely!
Attachment #8803011 -
Flags: review?(daniel) → review+
Comment 10•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8803012 [details]
Bug 1307467 - Remove code that preopens and sends application.zip fd (bug 835698)
https://reviewboard.mozilla.org/r/87270/#review86902
I like the smell of removing a lot of code!
Attachment #8803012 -
Flags: review?(daniel) → review+
Comment 11•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8803169 [details]
Bug 1307467 - Remove mAppURI from nsJARChannel
https://reviewboard.mozilla.org/r/87400/#review86904
Attachment #8803169 -
Flags: review?(daniel) → review+
Comment 12•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8803012 [details]
Bug 1307467 - Remove code that preopens and sends application.zip fd (bug 835698)
https://reviewboard.mozilla.org/r/87270/#review88528
Attachment #8803012 -
Flags: review?(amarchesini) → review+
Comment 13•9 years ago
|
||
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/dce4d4b3e4e8
Remove RemoteFileOpen, and all app:// related code from JAR channels. r=bagder
https://hg.mozilla.org/integration/autoland/rev/4b76a90d5caf
Remove code that preopens and sends application.zip fd (bug 835698) r=bagder,baku
https://hg.mozilla.org/integration/autoland/rev/7d4b390b36e8
Remove mAppURI from nsJARChannel r=bagder
Comment 14•9 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/dce4d4b3e4e8
https://hg.mozilla.org/mozilla-central/rev/4b76a90d5caf
https://hg.mozilla.org/mozilla-central/rev/7d4b390b36e8
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•