Re: Replacing Gecko's URL parser

2013-07-02 Thread Anne van Kesteren
On Tue, Jul 2, 2013 at 12:51 AM, Mike Hommey wrote: > Note that some "custom" schemes may be relying on empty host names. In > Gecko, we have about:foo as well as resource:///foo. In both cases, foo > is the path part. about URLs don't have a host name. resource URLs might I suppose. Do resource

Re: Replacing Gecko's URL parser

2013-07-02 Thread Benjamin Smedberg
On 7/2/2013 6:55 AM, Anne van Kesteren wrote: On Tue, Jul 2, 2013 at 12:51 AM, Mike Hommey wrote: Note that some "custom" schemes may be relying on empty host names. In Gecko, we have about:foo as well as resource:///foo. In both cases, foo is the path part. about URLs don't have a host name.

Re: Replacing Gecko's URL parser

2013-07-02 Thread Mike Hommey
On Tue, Jul 02, 2013 at 07:09:04AM -0400, Benjamin Smedberg wrote: > On 7/2/2013 6:55 AM, Anne van Kesteren wrote: > >On Tue, Jul 2, 2013 at 12:51 AM, Mike Hommey wrote: > >>Note that some "custom" schemes may be relying on empty host names. In > >>Gecko, we have about:foo as well as resource:///f

Reparenting a XulRunnner window in a Firefox Window

2013-07-02 Thread Paul Rouget
The Firefox OS Simulator is a XulRunner instance run from Firefox. Two processes, two windows, two different version of gecko. It would be very useful if we could display the simulator as part of Firefox. Inside a tab. With Linux, we could use XReparentWindow [1]. I don't know about Windows and M

Re: Reparenting a XulRunnner window in a Firefox Window

2013-07-02 Thread Jim Mathies
For Windows there is only one window (the main desktop window that contains the content tabs and chrome) so reparenting probably isn't an option. The one exception to this is with plugins, which own their own child window, but I don’t think you want to mess with that. Jim -Original Messag

[ann] |mach python| command for running the Python in the object directory's virtual environment

2013-07-02 Thread Nick Alexander
Hello all, Bug 818744 just landed a new |mach python| command that runs the Python in the object directory's virtual environment. Command line arguments are passed along as is, so |mach python --version| prints the version, and input and output are passed through, so |mach python| starts the

Re: Replacing Gecko's URL parser

2013-07-02 Thread Anne van Kesteren
On Tue, Jul 2, 2013 at 12:09 PM, Benjamin Smedberg wrote: > Both resource: and chrome: have host names and need to support relative > URIs. Neither of them is a candidate for standardization, though. We should > just add them as special known schemes in our parser. Well, either we have to standar