aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Kick the raf loop in inline sessionsautorafManish Goregaokar2020-01-021-0/+2
|
* Do not wait for rAF to be requested in render loopManish Goregaokar2019-12-293-31/+24
|
* Auto merge of #25400 - servo-wpt-sync:wpt_update_28-12-2019, r=servo-wpt-syncbors-servo2019-12-2849-227/+2300
|\ | | | | | | | | | | | | | | Sync WPT with upstream (28-12-2019) Automated downstream sync of changes from upstream as of 28-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * Update web-platform-tests to revision 070df683f5a7999245622eec274974903c3560c2WPT Sync Bot2019-12-2849-227/+2300
|/
* Auto merge of #25398 - servo-wpt-sync:wpt_update_27-12-2019, r=servo-wpt-syncbors-servo2019-12-2714-35/+29
|\ | | | | | | | | | | | | | | Sync WPT with upstream (27-12-2019) Automated downstream sync of changes from upstream as of 27-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * Update web-platform-tests to revision f8993b242928cab74d1cc2977f07e479664e0ef8WPT Sync Bot2019-12-2714-35/+29
|/
* Auto merge of #25396 - servo-wpt-sync:wpt_update_26-12-2019, r=servo-wpt-syncbors-servo2019-12-2617-34/+132
|\ | | | | | | | | | | | | | | Sync WPT with upstream (26-12-2019) Automated downstream sync of changes from upstream as of 26-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * Update web-platform-tests to revision d1e20d6e525ebf9b99876c7f08b14cb268364f79WPT Sync Bot2019-12-2617-34/+132
|/
* Auto merge of #25375 - servo-wpt-sync:wpt_update_24-12-2019, r=servo-wpt-syncbors-servo2019-12-2452-481/+1678
|\ | | | | | | | | | | | | | | Sync WPT with upstream (24-12-2019) Automated downstream sync of changes from upstream as of 24-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * Update web-platform-tests to revision 7ed322c3132993bcb5734702b40621448670fc76WPT Sync Bot2019-12-2452-481/+1678
|/
* Auto merge of #25370 - servo-wpt-sync:wpt_update_23-12-2019, r=servo-wpt-syncbors-servo2019-12-2414-26/+28
|\ | | | | | | | | | | | | | | Sync WPT with upstream (23-12-2019) Automated downstream sync of changes from upstream as of 23-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * Update web-platform-tests to revision 44e3f8a64aacebd5123aac7456cb81f423c38860WPT Sync Bot2019-12-2314-26/+28
| |
* | Auto merge of #25373 - pshaughn:ce_options_string, r=jdmbors-servo2019-12-235-18/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | let document.createElement[NS] accept a string for options The string actually does nothing, but spec and WPT don't want it to do anything. https://dom.spec.whatwg.org/#dom-document-createelement only cares about the options value when it's a dictionary, and the WPT test on the string case is just that it isn't throwing an exception. --- <!-- 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 #25008 <!-- Either: --> - [X] There are tests for these changes <!-- 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. -->
| * | createElement can now take an ignored string for optionsPatrick Shaughnessy2019-12-235-18/+24
| | |
* | | Auto merge of #25367 - pshaughn:ce_undefined_is, r=jdmbors-servo2019-12-236-244/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apply is: to Document.createElement even when name isn't registered yet The "is" option to Document.createElement should be respected even when the name hasn't been registered yet, in which case the name gets looked up again at the time the element should be upgraded. This change does that. I'm now seeing a few test timeouts that aren't in the metadata, but I suspect they're slowness on my local configuration and not actual breakage. --- <!-- 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 #25009 fix #24997 and fix #24998 <!-- Either: --> - [X] There are tests for these changes OR <!-- 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. -->
| * | | apply is: to Document.createElement even when name isn't registered yetPatrick Shaughnessy2019-12-226-244/+37
| |/ /
* | | Auto merge of #25371 - servo:rustup, r=jdmbors-servo2019-12-234-8/+11
|\ \ \ | |_|/ |/| | | | | Upgrade to rustc 1.42.0-nightly (9b98af84c 2019-12-22)
| * | Upgrade to rustc 1.42.0-nightly (9b98af84c 2019-12-22)Simon Sapin2019-12-234-8/+11
|/ /
* | Auto merge of #25366 - pshaughn:hasinstance, r=jdmbors-servo2019-12-232-85/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove obsolete HasInstance behavior per heycam/webidl #356 This turns one WPT test from fail to pass and it leaves Servo with a little less platform object special-case code to worry about. --- <!-- 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 #25039 <!-- Either: --> - [X] There are tests for these changes <!-- 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. -->
| * | Remove obsolete behavior per heycam/webidl #356Patrick Shaughnessy2019-12-222-85/+5
| |/
* | Auto merge of #25361 - servo-wpt-sync:wpt_update_22-12-2019, r=servo-wpt-syncbors-servo2019-12-2237-43/+901
|\ \ | | | | | | | | | | | | | | | | | | | | | Sync WPT with upstream (22-12-2019) Automated downstream sync of changes from upstream as of 22-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * | Update web-platform-tests to revision b048002b012a8290b7dbdb0f0d685454e8837b6fWPT Sync Bot2019-12-2237-43/+901
| |/
* | Auto merge of #25359 - pshaughn:auto_ct_header, r=jdmbors-servo2019-12-222-35/+18
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autocomputed content-type header now reaches net request The spec expects that for a DOM Request r, r.headers and r.request can actually refer to the same header list in RAM, with changes to one affecting the other. This is mostly unobservable, but it happens to come up at the point in the Request constructor that auto-infers a content type from the body, so now after inferring the content type it injects it into both header lists instead of one. Remaining test failures are due to the way Hyper crates normalize semicolons in MIME types, and an actually separate problem about content-lengths that I haven't sniffed out yet. --- <!-- 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 some WPT results from #24904 <!-- Either: --> - [X] There are tests for these changes <!-- 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. -->
| * Autocomputed content-type header now reaches net requestPatrick Shaughnessy2019-12-212-35/+18
| |
* | Auto merge of #25354 - lberrymage:dom-domroot-lint-check, r=jdmbors-servo2019-12-219-13/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add &DomRoot<T> lint check So far, the lint check code appears to work as intended. However, some trait implementations require modification to pass the lint check and I'm not sure how to fix these. Commit 92cf5d5 attempts to correct one of the implementations, but fails to compile with error: ``` --> components/script/dom/servoparser/xml.rs:76:36 | 76 | tree_builder.trace_handles(&tracer); | ^^^^^^^ expected struct `dom::bindings::root::Dom`, found struct `dom::node::Node` | = note: expected struct `dom::bindings::root::Dom<dom::node::Node>` found struct `dom::node::Node` = note: required for the cast to the object type `dyn html5ever::tree_builder::Tracer<Handle = dom::bindings::root::Dom<dom::node::Node>>` ``` I've tried to debug further but to no avail. I also don't want to mangle too much existing code unnecessarily. Any help is appreciated. <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors `./mach test-tidy --all` does, and some are directly related to this PR - [ ] These changes fix #25342 The fix is a WIP <!-- Either: --> - [X] There are tests for these changes Note that I will clean up the commit history before the final PR. <!-- 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. -->
| * | Add lint check for `&DomRoot<T>`lberrymage2019-12-219-13/+13
| | | | | | | | | | | | | | | `&DomRoot<T> is strictly less expressive than `&T`, so using it is pointless.
* | | Auto merge of #25356 - servo-wpt-sync:wpt_update_21-12-2019, r=servo-wpt-syncbors-servo2019-12-21228-2778/+6470
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | Sync WPT with upstream (21-12-2019) Automated downstream sync of changes from upstream as of 21-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * | Update web-platform-tests to revision d55d764f159f5d8dd3e0b30e9d38f75af4feb438WPT Sync Bot2019-12-21228-2778/+6470
|/ /
* | Auto merge of #25350 - jdm:wpt-debug-help, r=asajeffreybors-servo2019-12-202-5/+11
|\ \ | | | | | | | | | | | | | | | Print OSMesa environment variables when starting debugger under WPT. This helps with #25231 by making it easy to set the appropriate environment variables inside lldb before running a headless debugging session.
| * | Print OSMesa environment variables when starting debugger under WPT.Josh Matthews2019-12-202-5/+11
| | |
* | | Auto merge of #25334 - asajeffrey:gstplugins-misc-tidying-up, r=jdmbors-servo2019-12-207-135/+318
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gstreamer plugin running in wayland with surfman 0.2 <!-- Please describe your changes on the following line: --> Tidying up the gstreamer plugin. The plugin now: * uses surfman 0.2 * runs in wayland (but can't render WebGL content yet) * gets its GL configuration from gstreamer * uses GLsync if needed --- <!-- 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 #24843 - [X] These changes do not require tests because <!-- 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. -->
| * | | Disable the gstreamer plugin build for windowsAlan Jeffrey2019-12-201-3/+3
| | | |
| * | | Use gstreamer_gl metadataAlan Jeffrey2019-12-201-10/+4
| | | |
| * | | Removed outdated commentAlan Jeffrey2019-12-201-1/+0
| | | |
| * | | Updated READMEAlan Jeffrey2019-12-181-2/+5
| | | |
| * | | Make wayland happier by sharing a Connection between servo and gstreamerAlan Jeffrey2019-12-182-26/+74
| | | |
| * | | Miscellaneous gstreamer plugin fixesAlan Jeffrey2019-12-185-124/+263
| | | |
* | | | Auto merge of #25347 - servo-wpt-sync:wpt_update_20-12-2019, r=jdmbors-servo2019-12-20133-423/+1293
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Sync WPT with upstream (20-12-2019) Automated downstream sync of changes from upstream as of 20-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * | | Remove ini file from wrong directory.Josh Matthews2019-12-201-3/+0
| | | |
| * | | Add expected linux failure.Josh Matthews2019-12-201-0/+3
| | | |
| * | | Mark linux-only failure.Josh Matthews2019-12-201-0/+3
| | | |
| * | | Remove intermittent failure.Josh Matthews2019-12-201-2/+0
| | | |
| * | | Remove intermittent failure.Josh Matthews2019-12-201-2/+0
| | | |
| * | | Update web-platform-tests to revision 256b4685b8e702c14ed854347f23f4979edbfc8eWPT Sync Bot2019-12-20134-423/+1294
|/ / /
* | | Auto merge of #24123 - gterzian:redo_blob, r=jdmbors-servo2019-12-1929-480/+982
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restructure Blob, structured serialization <!-- Please describe your changes on the following line: --> FIX #24052 and also address the "cloning" half of FIX #23917 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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/24123) <!-- Reviewable:end -->
| * | re-structure blob, structured serializationGregory Terzian2019-12-1131-480/+988
| | |
* | | Auto merge of #25338 - warren-fisher:master, r=jdmbors-servo2019-12-195-18/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove Optional pipeline_id <!-- Please describe your changes on the following line: --> All code that creates a WorkerScriptLoadOrigin passes a Some value for the pipeline, so we should remove the Option from the struct member field. I changed the `WorkerScriptLoadOrigin` struct in `components/script_traits/lib.rs` to have a PipelineId and not an Option<PipelineId>. In `components/script/dom/worker.rs` and `components/script/dom/serviceworkerregistration.rs` it was changed so that `WorkerScriptLoadOrigin` was instantiated with a non-Optional. In `components/script/dom/dedicatedworkerglobalscope.rs` testing for if pipeline_id is an Optional is removed. In `components/script/dom/serviceworkerglobalscope.rs` and `components/script/dom/dedicatedworkerglobalscope.rs` a `PipelineId` was provided as an Optional to a `RequestBuilder` and I changed it to provide a `Some(pipeline_id)` instead. I am not sure changing the [RequestBuilder struct](https://github.com/warren-fisher/servo/blob/5c3bda025144118fc8dd67a3f975d8f91fd25e78/components/net_traits/request.rs#L118-L159) at line 147 to accept a non-optional was within this issue so I left it as is. I was able to successfully build it so I assume these changes worked, however I am not sure about the implications of the changes made in the unsafe block in `components/script/dom/dedicatedworkerglobalscope.rs`. <!-- 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 #24772 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because the issue says so <!-- 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. -->
| * | | Remove Optional pipeline_idWarren Fisher2019-12-195-18/+14
| | | |
* | | | Auto merge of #25339 - servo-wpt-sync:wpt_update_19-12-2019, r=servo-wpt-syncbors-servo2019-12-19261-961/+5508
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Sync WPT with upstream (19-12-2019) Automated downstream sync of changes from upstream as of 19-12-2019. [no-wpt-sync] r? @servo-wpt-sync
| * | | Update web-platform-tests to revision 1268bd5901289acc95b1a576f108bdf382d82e44WPT Sync Bot2019-12-19261-961/+5508
|/ / /