Use 'exceptionCode' when converting to DOMString.

This change allows us to use the code even in cases where we return a
Result type rather than a JSBool. Interface, primitive and union types
already get this right.
Merge the 'new' and 'Init' functions for dictionaries.

This moves the code in callers more in line with conversions for other types
and ensures the default values given to the dictionary fields (as defined by
the defaultValue function in CGDictionary.impl) do not escape the 'new'
method. The new code is also more in line with the code used by the
FromJSValConvertible trait.

This is the first step of my planned rewrite of the dictionary initialization
that will remove the default values entirely and reduce the code
duplication in the 'Init' (now 'new') function.
auto merge of #2164 : Ms2ger/servo/dictionary-init, r=jdm
Introduce a get_dictionary_property function to reduce duplicated code in the dictionary conversion codegen.

This also explicitly disallows dictionary members without a default value, as
the code for those doesn't currently compile.

This is the second step of my planned rewrite of the dictionary initialization
that will remove the default values we currently use to initialize the
dictionary struct in the 'new' function.
Don't panic on https #2104
auto merge of #2167 : Ms2ger/servo/get_dictionary_property, r=jdm

...the dictionary conversion codegen.

This also explicitly disallows dictionary members without a default value, as
the code for those doesn't currently compile.

This is the second step of my planned rewrite of the dictionary initialization
that will remove the default values we currently use to initialize the
dictionary struct in the 'new' function.
Add expected failures.
auto merge of #2169 : Ms2ger/servo/wpt-expected, r=jgraham
Mention automake and cmake

Fixes #2168
auto merge of #2171 : evilpie/servo/patch-1, r=pcwalton

Fixes #2168
auto merge of #2166 : campadrenalin/servo/https-dont-panic, r=jdm

This is a stab at #2401 - I think this was what @jdm had in mind for a fix.

I've also included a test. There's no "i tried" star, I'm too much of a newb for that, but hopefully the test at least confirms that servo doesn't crash on HTTPS requests.
Fix most defaultPrevented test failures (#2172)
Use position in FindEnumStringIndex.

This is a shorter and probably slightly more efficient to write the loop.
auto merge of #2175 : Manishearth/servo/domtests-createevent, r=Ms2ger

#2172

All subtests of `dom/events/Event-defaultPrevented.html` pass now.

CustomEvent has yet to be implemented.(#2173)
Rename Event::default_prevented -> Event::canceled to better match spec (#2177)
Propagate the result of wptrunner.run_tests out of run.py.

This ensures that unexpected results cause 'make check-wpt' to fail.
auto merge of #2179 : Manishearth/servo/refactor-canceled, r=Ms2ger



See #2177
Update test expectations for #2172.
Update the expectations for Document-createEvent.html.
auto merge of #2178 : Ms2ger/servo/enum-position, r=jdm

This is a shorter and probably slightly more efficient to write the loop.