servo/tests
bors-servo ea24389b85 Auto merge of #10114 - matthewbentley:master, r=Manishearth
Load prefs.json from profile-dir if --profile-dir is specified at launch

In response to #10098
Tries to load `prefs.json` from the profile-dir and merge them into the preferences if `--profile-dir` is specified at launch.  The profile-dir preferences take precedence over the default preferences, but command line preferences still take precedence over everything.

Also adds some tests for `prefs.rs`.  These rely on the contents of `resources/prefs.json` (at least `test_get_set_reset_extend()` does), so they may need to be re-worked a bit.

<!-- 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/10114)
<!-- Reviewable:end -->
2016-04-02 08:33:42 +05:30
..
compiletest Added compiler lint ban on DOMRefCell 2016-03-09 23:48:32 +02:00
dromaeo
heartbeats Heartbeats now on crates.io. 2016-03-09 15:47:37 -06:00
html Implement initial pieces of form validation. 2016-03-24 09:07:38 -04:00
jquery Update expected results for the jquery tests. 2016-03-16 14:48:10 +01:00
power
unit Add testing for prefs 2016-04-01 21:39:56 -04:00
wpt Auto merge of #10331 - pcwalton:simplify-complex-clipping-regions, r=glennw 2016-04-02 05:03:07 +05:30