Re: [dev-servo] servo command line paths - why relative to cwd?

2013-04-11 Thread joshmoz
I see, maybe we just need to teach it about absolute paths. I'll put something together and submit a pull request soon. ___ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo

Re: [dev-servo] servo command line paths - why relative to cwd?

2013-04-11 Thread Brian Anderson
On 04/11/2013 03:55 PM, josh...@gmail.com wrote: Is there a reason the file path is considered relative by default for servo's command line? It's unexpected and there is no indication that the path isn't valid, I just get a white rect rendered. It is relative so that `./servo ../src/test/abo

[dev-servo] servo command line paths - why relative to cwd?

2013-04-11 Thread joshmoz
I was taking servo for a spin, my cwd was the servo build dir, and I tried to point it to a file on my desktop, like so: ./servo ~/Desktop/css-selectors.html This results in a blank page because the path generated internally is: file:/Users/josh/src/mozilla/bdaehlie-servo/build/Users/josh/Deskt