Use position in FindEnumStringIndex.

This is a shorter and probably slightly more efficient to write the loop.
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 #2178 : Ms2ger/servo/enum-position, r=jdm

This is a shorter and probably slightly more efficient to write the loop.
auto merge of #2180 : Ms2ger/servo/wpt-result, r=jdm

This ensures that unexpected results cause 'make check-wpt' to fail.
Remove not-yet-implemented methods from CharacterData.

This speeds up a web-platform-tests run by about 45 seconds (of 11-12 minutes)
by avoiding three timeouts.
auto merge of #2181 : Ms2ger/servo/update-expectation, r=jdm
auto merge of #2184 : Ms2ger/servo/remove-nyi-characterdata, r=jdm

This speeds up a web-platform-tests run by about 45 seconds (of 11-12 minutes)
by avoiding three timeouts.
Track MANIFEST.json
auto merge of #2187 : Manishearth/servo/manifest, r=Ms2ger

Since we are keeping the results of previous tests locally (in metadata/), we should probably also track the generated MANIFEST file.
It won't get updated locally when the ini files are updated, which can lead to an outdated manifest.
Implement CharacterData.{deleteData, insertData, replaceData}
set the right flags and attrs for InitEvent
Remove JSPageInfo::js_compartment.

A js::rust::Compartment is little more than a glorified pointer to the
reflector of a window, so there's no good reason to use it. Instead, this
commit passes a JS<Window> directly when it's necessary.

This also means that we now have to use JS_DefineFunctions rather than
Compartment::define_functions; I believe the former is clearer to the reader
than the extra indirection involved in the latter calling through three
reopsitories.

This commit also simplifies ScriptTask::load to reuse the 'cx' local that is
in scope already, rather than refetching it through js_info.
Implement DOMImplementation::createDocument

Spec:
http://dom.spec.whatwg.org/#dom-domimplementation-createdocument

Closes #1509.
Added content tests for DOMImplementation.createDocument
auto merge of #2198 : Ms2ger/servo/js_compartment, r=jdm

A js::rust::Compartment is little more than a glorified pointer to the
reflector of a window, so there's no good reason to use it. Instead, this
commit passes a JS<Window> directly when it's necessary.

This also means that we now have to use JS_DefineFunctions rather than
Compartment::define_functions; I believe the former is clearer to the reader
than the extra indirection involved in the latter calling through three
reopsitories.

This commit also simplifies ScriptTask::load to reuse the 'cx' local that is
in scope already, rather than refetching it through js_info.
Implement Element.prefix (Fixes #1737)
auto merge of #2199 : sankha93/servo/prefix-impl, r=Ms2ger

See #1737.

r? @ms2ger
auto merge of #2072 : brunoabinader/servo/domimpl-createdocument, r=Ms2ger

Spec:
http://dom.spec.whatwg.org/#dom-domimplementation-createdocument

Closes #1509.
Ensure JS-owned memory is not leaked if a script task fails. Fixes #2201.
auto merge of #2196 : hazz/servo/initevent, r=Ms2ger

Should fix #2189

This is my first PR for servo (and first time using Rust), so apologies if anything is horribly wrong.