Re: Intent to unship: jar: URIs from content

2015-10-19 Thread Boris Zbarsky
On 10/19/15 4:07 PM, Gregory Szorc wrote: Or you could register a custom content type handler (possibly via a special "Gecko Hackers" Firefox add-on) that runs an appropriate mach command when said file is downloaded. This ignores the point about running the file after downloading having diffe

Re: Intent to unship: jar: URIs from content

2015-10-19 Thread Gregory Szorc
On Sat, Oct 17, 2015 at 3:48 PM, Ben Kelly wrote: > On Oct 16, 2015 6:17 PM, "Robert O'Callahan" wrote: > > I guess the right fix would be to have a Web proxy service that accepts > > URLs in a custom format, unpacks ZIP files and serves their contents. > > Bugzilla could do this in a service wo

Re: Intent to unship: jar: URIs from content

2015-10-17 Thread Ben Kelly
On Oct 16, 2015 6:17 PM, "Robert O'Callahan" wrote: > I guess the right fix would be to have a Web proxy service that accepts > URLs in a custom format, unpacks ZIP files and serves their contents. Bugzilla could do this in a service worker. ___ dev-pla

Re: Intent to unship: jar: URIs from content

2015-10-16 Thread Robert O'Callahan
On Sat, Oct 17, 2015 at 6:13 AM, Gregory Szorc wrote: > On Thu, Oct 15, 2015 at 4:08 PM, Robert O'Callahan > wrote: > >> I'm sad that I won't be able to use jar: URLs to load testcases in ZIP >> files uploaded to Bugzilla, but this sounds like the right thing to do. >> > > If this is a common us

Re: Intent to unship: jar: URIs from content

2015-10-16 Thread Boris Zbarsky
On 10/16/15 1:13 PM, Gregory Szorc wrote: On Thu, Oct 15, 2015 at 4:08 PM, Robert O'Callahan wrote: I'm sad that I won't be able to use jar: URLs to load testcases in ZIP files uploaded to Bugzilla, but this sounds like the right thing to do. If this is a common use case, then `mach test` s

Re: Intent to unship: jar: URIs from content

2015-10-16 Thread Gregory Szorc
On Thu, Oct 15, 2015 at 4:08 PM, Robert O'Callahan wrote: > I'm sad that I won't be able to use jar: URLs to load testcases in ZIP > files uploaded to Bugzilla, but this sounds like the right thing to do. > If this is a common use case, then `mach test` should be able to accept a bz://123456 URL

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Ehsan Akhgari
On 2015-10-15 7:08 PM, Robert O'Callahan wrote: I'm sad that I won't be able to use jar: URLs to load testcases in ZIP files uploaded to Bugzilla, but this sounds like the right thing to do. When speaking with Boris on IRC today he also mentioned that he does use jar URLs in this way. You can

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Neil
Robert O'Callahan wrote: I'm sad that I won't be able to use jar: URLs to load testcases in ZIP files uploaded to Bugzilla Or indeed any ZIP-like file, once you flip the appropriate pref. -- Warning: May contain traces of nuts. ___ dev-platform mai

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Robert O'Callahan
I'm sad that I won't be able to use jar: URLs to load testcases in ZIP files uploaded to Bugzilla, but this sounds like the right thing to do. Rob -- lbir ye,ea yer.tnietoehr rdn rdsme,anea lurpr edna e hnysnenh hhe uresyf toD selthor stor edna siewaoeodm or v sstvr esBa kbvted,t rdsme,ao

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Nicholas Alexander
On Thu, Oct 15, 2015 at 10:58 AM, Ehsan Akhgari wrote: > We currently support URLs such as http://mxr.mozilla.org/mozilla-central/source/modules/libjar/test/mochitest/bug403331.zip?raw=1&ctype=application/java-archive!/test.html>. > This is a Firefox specific feature that no other engine impleme

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Jason Duell
OMG yes please. Jason On Thu, Oct 15, 2015 at 11:31 AM, Ehsan Akhgari wrote: > On 2015-10-15 1:58 PM, Ehsan Akhgari wrote: > >> We currently support URLs such as >> > http://mxr.mozilla.org/mozilla-central/source/modules/libjar/test/mochitest/bug403331.zip?raw=1&ctype=application/java-archive!/

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Ehsan Akhgari
On 2015-10-15 1:58 PM, Ehsan Akhgari wrote: We currently support URLs such as http://mxr.mozilla.org/mozilla-central/source/modules/libjar/test/mochitest/bug403331.zip?raw=1&ctype=application/java-archive!/test.html>. This is a Firefox specific feature that no other engine implements, and it in

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Bobby Holley
Huzzah! Thanks for fixing this Ehsan. On Thu, Oct 15, 2015 at 10:58 AM, Ehsan Akhgari wrote: > We currently support URLs such as http://mxr.mozilla.org/mozilla-central/source/modules/libjar/test/mochitest/bug403331.zip?raw=1&ctype=application/java-archive!/test.html>. > This is a Firefox specif

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Aaron Klotz
SGTM! On 10/15/2015 11:58 AM, Ehsan Akhgari wrote: We currently support URLs such as http://mxr.mozilla.org/mozilla-central/source/modules/libjar/test/mochitest/bug403331.zip?raw=1&ctype=application/java-archive!/test.html>. This is a Firefox specific feature that no other engine implements,

Intent to unship: jar: URIs from content

2015-10-15 Thread Ehsan Akhgari
We currently support URLs such as http://mxr.mozilla.org/mozilla-central/source/modules/libjar/test/mochitest/bug403331.zip?raw=1&ctype=application/java-archive!/test.html>. This is a Firefox specific feature that no other engine implements, and it increases our attack surface unnecessarily. A