Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up./mach run --browserhtml on Windows #10943
Conversation
highfive
commented
Apr 30, 2016
|
Heads up! This PR modifies the following files:
|
|
I'm not totally convinced by converting it to a relative path. But it happens to work around the problem of msys python generating a unix format path, and servo expecting paths in windows' format. |
|
@bors-servo r+ I'm approving this so that it can be tested, but I do not expect browser.html to work at all well with the default CPU renderer. Like most other browser engines, it does quite poorly on such a complicated page. |
|
|
./mach run --browserhtml on Windows This adds some windows specific behaviour to the ./mach run --browserhtml command: Remove the webrender option Convert the browserhtml path into a relative path to avoid a mingw->windows path conversion. @larsbergstrom said that webrender support will come to windows ( #10243 (comment) ), which will remove the need for part of this soon. But it makes testing slightly nicer. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10943) <!-- Reviewable:end -->
|
|
|
I'll fix the tidy problems & push a new commit soon |
|
With servo/webrender#247 made Webrender actually work well on Windows. I've been testing it for a month now. EDIT: Browser.html, via |
|
Now that Webrender PR for Windows was merged, may i suggest to exclude command |
|
That seems sensible |
|
Does disabling the titlebar work on Linux? It might make more sense to only pass -b if it's running on a mac |
No. |
Pass browserhtml path as relative path to avoid a mingw->windows path conversion
highfive
commented
May 4, 2016
|
New code was committed to pull request. |
|
I don't have an appropriate box to test this on, but borderless should now only enable on OSX. When the dependency on webrender is updated past servo/webrender@672a360 --browserhtml will also work on Windows |
|
|
|
Windows webrender seems to work fine on master. What am I missing?
|
|
I don't think we need this anymore, now that WebRender on master works on Windows. Hooray! |
|
@larsbergstrom Webrender is solved, but latest commit disable useless borderless window and fix browser.html path related issue (described above). |
Fix ./mach --browserhtml Rebased #10943 and simplified by #10943 (comment). Fixes path related issue with browser.html on Windows and enable borderless window only on OSX. r? @metajack <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11543) <!-- Reviewable:end -->
…l); r=metajack Rebased servo/servo#10943 and simplified by servo/servo#10943 (comment). Fixes path related issue with browser.html on Windows and enable borderless window only on OSX. r? metajack Source-Repo: https://github.com/servo/servo Source-Revision: 28c0b869cab72020edbc54e5ccd761dc2dbb92b2 UltraBlame original commit: 3b982de13bc0b3ae90d52eba9977d10c33266c9a
…l); r=metajack Rebased servo/servo#10943 and simplified by servo/servo#10943 (comment). Fixes path related issue with browser.html on Windows and enable borderless window only on OSX. r? metajack Source-Repo: https://github.com/servo/servo Source-Revision: 28c0b869cab72020edbc54e5ccd761dc2dbb92b2 UltraBlame original commit: 3b982de13bc0b3ae90d52eba9977d10c33266c9a
…l); r=metajack Rebased servo/servo#10943 and simplified by servo/servo#10943 (comment). Fixes path related issue with browser.html on Windows and enable borderless window only on OSX. r? metajack Source-Repo: https://github.com/servo/servo Source-Revision: 28c0b869cab72020edbc54e5ccd761dc2dbb92b2 UltraBlame original commit: 3b982de13bc0b3ae90d52eba9977d10c33266c9a
adamncasey commentedApr 30, 2016
•
edited by larsbergstrom
This adds some windows specific behaviour to the ./mach run --browserhtml command:
Remove the webrender option
Convert the browserhtml path into a relative path to avoid a mingw->windows path conversion.
@larsbergstrom said that webrender support will come to windows ( #10243 (comment) ), which will remove the need for part of this soon. But it makes testing slightly nicer.
This change is