servo/components
bors-servo 4625160f0a
Auto merge of #21882 - dguenther:update-document-open, r=nox
Update document.open to latest spec

<!-- Please describe your changes on the following line: -->

This is one of my first contributions, so I might need some direction cleaning it up -- I ran web-platform-tests locally, but the suite has several intermittent passes/failures for me. Thanks!

Few notes:

* I may have been wrong to eliminate all of the resets listed in what was formerly Step 18 (starts with `self.implementation.set(None);`). It's not clear to me that they're still needed or if so, what step they would fall under, but I didn't notice any web platform tests break as a result.
* <s>If I'm reading the spec right, there's a discrepancy in the error returned by the three-parameter overload of Document.open between the spec and web-platform-tests/implementations in other browsers. As written, I favored the spec, but it causes one web-platform-test to fail.</s> This has been resolved in https://github.com/whatwg/html/pull/4066
* I'm not 100% certain that tests pass as expected, I had several intermittent failures that disappeared when re-run.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21445

<!-- Either: -->
- [x] There are tests for these changes (existing web-platform-tests)

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21882)
<!-- Reviewable:end -->
2018-10-16 04:50:43 -04:00
..
allocator Format component allocator #21373 2018-08-16 15:44:54 +08:00
atoms Media element duration param 2018-10-08 16:12:03 +02:00
bluetooth Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
bluetooth_traits Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
canvas Auto merge of #21725 - pyfisch:update-wr, r=jdm 2018-10-12 12:49:23 -04:00
canvas_traits Share some code between 2D canvas and WebGL 2018-10-09 14:57:02 +02:00
channel add servo_channel crate 2018-09-12 11:25:45 +08:00
compositing Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
config Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
constellation Provide webrender_api::RenderApiSender to ScriptThread and DOM Window 2018-10-08 16:11:59 +02:00
debugger Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
deny_public_fields Format components debugger and deny_public_fields #21373 2018-09-01 09:44:53 +08:00
devtools DevTools - add Emulation Actor 2018-10-15 08:48:30 +02:00
devtools_traits Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
dom_struct Format components dom_struct, domobject_derive and embedder_traits #21373 2018-09-03 08:19:25 +08:00
domobject_derive Format components dom_struct, domobject_derive and embedder_traits #21373 2018-09-03 08:19:25 +08:00
embedder_traits Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
fallible Partially revert #21746. 2018-09-22 18:51:42 +02:00
geometry Move malloc_size_of_derive to proper position 2018-09-04 11:29:38 +08:00
gfx Fix windows build errors. 2018-10-11 22:34:33 -04:00
gfx_traits Format gfx_traits #21373 2018-09-09 10:11:08 +08:00
hashglobe Format hashglobe #21373 2018-09-09 10:14:36 +08:00
jstraceable_derive Format jstraceable_derive #21373 2018-09-10 11:03:38 +08:00
layout style: More useful logging for transition-related stuff. 2018-10-15 14:50:13 +02:00
layout_thread Make layout use available image data before querying the image cache. 2018-10-12 21:55:09 -04:00
layout_traits Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
malloc_size_of Update webrender to 923ee495bd9b0fda8a4a94c5a6cf42e2f0548731. 2018-10-09 18:23:19 -04:00
malloc_size_of_derive Rustfmt malloc_size_of & derive 2018-09-05 10:32:44 +02:00
metrics Auto merge of #21325 - gterzian:crossbeam_integration, r=SimonSapin,jdm 2018-09-12 13:33:45 -04:00
msg Format msg #21373 2018-09-11 15:04:55 +08:00
net Auto merge of #21877 - servo:webgl, r=jdm 2018-10-09 20:15:40 -04:00
net_traits Remove Origin::unicode_serialization 2018-10-12 10:25:03 +02:00
pixels Share some code between 2D canvas and WebGL 2018-10-09 14:57:02 +02:00
profile Add support for IpcBytesReceiver in profile_traits::ipc - #21704 2018-09-20 21:36:34 -04:00
profile_traits Add support for IpcBytesReceiver in profile_traits::ipc - #21704 2018-09-20 21:36:34 -04:00
rand Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
range format components/range using rustfmt 2018-09-12 12:32:31 +05:30
remutex format components/remutex 2018-09-12 12:37:11 +05:30
script Auto merge of #21882 - dguenther:update-document-open, r=nox 2018-10-16 04:50:43 -04:00
script_layout_interface Make layout use available image data before querying the image cache. 2018-10-12 21:55:09 -04:00
script_plugins Format components/script_plugins 2018-09-13 01:01:35 +09:00
script_traits Rustfmt and make tidy happy 2018-10-08 16:12:03 +02:00
selectors Partially revert #21746. 2018-09-22 18:51:42 +02:00
servo Update webrender to 923ee495bd9b0fda8a4a94c5a6cf42e2f0548731. 2018-10-09 18:23:19 -04:00
servo_arc Fix tidy issues. 2018-09-18 11:46:01 +02:00
size_of_test Format component size_of_test 2018-09-10 21:31:38 +09:00
std_test_override Make mach test-unit not recompile components after mach build 2018-10-07 13:27:23 +02:00
style Auto merge of #20757 - emilio:animations, r=jdm 2018-10-15 19:03:07 -04:00
style_derive style: Teach ComputeSquaredDistance derive about #[animation(constant)]. 2018-09-15 17:56:41 +02:00
style_traits Format component of style_traits 2018-09-08 13:28:13 +09:00
url Remove Origin::unicode_serialization 2018-10-12 10:25:03 +02:00
webdriver_server Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
webvr Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00
webvr_traits Replace mpsc with crossbeam/servo channel, update ipc-channel 2018-09-12 13:33:32 +08:00