aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #18670 - avadacatavra:interactive-metrics, r=jdmbors-servo2017-10-253-19/+181
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added time to interactive metrics <!-- Please describe your changes on the following line: --> Added time to interactive metrics and refactored metrics/lib I need to write tests, but wanted to submit the PR for review --- <!-- 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/18670) <!-- Reviewable:end -->
| * added pipelines to all task sourcesddh2017-10-253-14/+11
| | | | | | | | changed task sources to accept pipeline ids
| * added time to interactive metrics, refactored metrics to use traitsddh2017-10-243-17/+182
| | | | | | | | changed task macro to take pipeline info
* | Auto merge of #18981 - KiChjang:fold-type-destination, r=avadacatavrabors-servo2017-10-242-13/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge request type and destination Fixes #18278. <!-- 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/18981) <!-- Reviewable:end -->
| * | Merge request type and destinationKeith Yeung2017-10-232-13/+8
| | |
* | | Auto merge of #19005 - emilio:less-mako-more-joy, r=jdmbors-servo2017-10-243-1/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Move animation-name and animation-iteration-count outside of mako. <!-- 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/19005) <!-- Reviewable:end -->
| * | | style: Add a test for calc() inside animation-iteration-count.Emilio Cobos Álvarez2017-10-242-0/+25
| | | |
| * | | style: Move animation-iteration-count outside of mako.Emilio Cobos Álvarez2017-10-241-1/+1
| | | |
* | | | Auto merge of #19003 - servo:stylo_tests_windows, r=emiliobors-servo2017-10-242-0/+13
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make test-stylo compile an empty crate on Windows without Gecko That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: https://github.com/rust-lang/rust/pull/44603 <!-- 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/19003) <!-- Reviewable:end -->
| * | | Make test-stylo compile an empty crate on Windows without GeckoSimon Sapin2017-10-242-0/+13
| |/ / | | | | | | | | | | | | | | | | | | That is, in cases where it would fail to link. This will help make Rust CI be gated on compiling Stylo: https://github.com/rust-lang/rust/pull/44603
* | | Auto merge of #18951 - mrobinson:later-id-assignment-for-clip-scroll-nodes, ↵bors-servo2017-10-241-3/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=glennw,emilio Wait as late as possible to assign ClipIds <!-- Please describe your changes on the following line: --> --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they should not change behavior. <!-- 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/18951) <!-- Reviewable:end -->
| * | Wait as late as possible to assign ClipIdsMartin Robinson2017-10-241-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow Servo to create ClipScrollNodes later during display list construction, which will be necessary once rounded rectangles are removed from the LocalClip structure. Instead of keeping track of the ClipId of each ClipScrollNode, we keep track of its index in an array of ClipScrollNodes. This will allow us to access them without a hash lookup.
* | | Auto merge of #18986 - glennw:update-wr-notifier, r=jdmbors-servo2017-10-2318-0/+54
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update WR (render notifier API changes). These changes fix #13480. <!-- 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/18986) <!-- Reviewable:end -->
| * | | Update WR (render notifier API changes).Glenn Watson2017-10-2418-0/+54
| |/ /
* / / Fix the test count in grouping formatterMartin Robinson2017-10-231-1/+1
|/ / | | | | | | | | | | Now that the WPT update has settled a bit, it seems safe to make sure that the grouping_formatter properly consumes the data structure provided.
* | Auto merge of #18255 - CYBAI:prevent-reentrancy-pr18218, r=jdmbors-servo2017-10-212-10/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update concept of node filter algorithm Implement new [filter](https://dom.spec.whatwg.org/#concept-node-filter) algorithm from specification --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #18218 (github issue number if applicable). - [X] These changes do not require tests because changes are minimal and the error was triggered by a test <!-- 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/18255) <!-- Reviewable:end -->
| * Remove legacy testsCYBAI2017-10-192-10/+0
| |
* | Auto merge of #18959 - glennw:css-run, r=jdmbors-servo2017-10-201-0/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add iterpath and iterdir to CSS test runner. This allows running a subset of the CSS tests again, by specifying a directory or single test. Fixes #18931. <!-- 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/18959) <!-- Reviewable:end -->
| * | Add iterpath and iterdir to CSS test runner.Glenn Watson2017-10-201-0/+14
| | | | | | | | | | | | | | | | | | | | | This allows running a subset of the CSS tests again, by specifying a directory or single test. Fixes #18931.
* | | Auto merge of #18956 - glennw:update-wr-ellipse-bs, r=jdmbors-servo2017-10-201-3/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update WR (box shadows + per-corner radii, elliptical clips). <!-- 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/18956) <!-- Reviewable:end -->
| * | | Update WR (box shadows + per-corner radii, elliptical clips).Glenn Watson2017-10-201-3/+0
| |/ /
* | | Auto merge of #18946 - cynicaldevil:update-h5e, r=noxbors-servo2017-10-201-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update h5e version <!-- Please describe your changes on the following line: --> --- <!-- 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/18946) <!-- Reviewable:end -->
| * | | updated version in .toml filesNikhil Shagrithaya2017-10-191-1/+1
| | | |
* | | | Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵Gecko Backout2017-10-199-42/+46
| |/ / |/| | | | | | | | | | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809
* | | Auto merge of #18809 - Eijebong:bitflags, r=noxbors-servo2017-10-199-46/+42
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update bitflags to 1.0 in every servo crate It still needs dependencies update to remove all the other bitflags versions. - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because it's a dependency update <!-- 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/18809) <!-- Reviewable:end -->
| * | | Update bitflags to 1.0 in every servo crateBastien Orivel2017-10-199-46/+42
| | |/ | |/| | | | | | | | | | It still needs dependencies update to remove all the other bitflags versions.
* | | Auto merge of #18944 - servo:jemallocator2, r=noxbors-servo2017-10-192-0/+7
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop relying on linking details of std’s default allocator We’ve been bitten before by symbol names changing: https://github.com/servo/heapsize/pull/46, and upstream is planning to stop using jemalloc by default: https://github.com/rust-lang/rust/issues/33082#issuecomment-309781465 So use the (relatively) new `#[global_allocator]` attribute to explicitly select the system allocator on Windows and jemalloc (now in an external crate) on other platforms. This choice matches current defaults. <!-- 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/18944) <!-- Reviewable:end -->
| * | Stop relying on linking details of std’s default allocatorSimon Sapin2017-10-192-0/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | We’ve been bitten before by symbol names changing: https://github.com/servo/heapsize/pull/46 and upstream is planning to stop using jemalloc by default: https://github.com/rust-lang/rust/issues/33082#issuecomment-309781465 So use the (relatively) new `#[global_allocator]` attribute to explicitly select the system allocator on Windows and jemalloc (now in an external crate) on other platforms. This choice matches current defaults.
* | Auto merge of #18926 - glennw:update-wr-bs, r=jdmbors-servo2017-10-181-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | Update WR (box shadows, subpixel + alpha text) <!-- 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/18926) <!-- Reviewable:end -->
| * | Update WR (box shadows, subpixel + alpha text)Glenn Watson2017-10-181-0/+5
| | |
* | | Auto merge of #18921 - mrobinson:incremental-stacking-context-ids, r=emiliobors-servo2017-10-184-6/+8
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix duplicate stacking context creation for anonymous Flows Anonymous nodes were previously creating duplicate stacking contexts, one for each node in the anonymous node chain. This change eliminates that for tables. Additionally the use of stacking context ids based on node addresses is no longer necessary since stacking contexts no longer control scrolling. This is the first step in eliminating the dependency between node addresses and ClipScrollNodes which causes issues like #16425. <!-- Please describe your changes on the following line: --> --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they are covered by existing 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/18921) <!-- Reviewable:end -->
| * | Fix duplicate stacking context creation for anonymous FlowsMartin Robinson2017-10-184-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Anonymous nodes were previously creating duplicate stacking contexts, one for each node in the anonymous node chain. This change eliminates that for tables. Additionally the use of stacking context ids based on node addresses is no longer necessary since stacking contexts no longer control scrolling. This is the first step in eliminating the dependency between node addresses and ClipScrollNodes which causes issues like #16425.
* | | Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-181-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`.
* | style: Add some more tests for disallowed rootMargin values.Cameron McCormack2017-10-172-2/+14
|/
* Auto merge of #18899 - jdm:updatewpt5, r=jdmbors-servo2017-10-165348-303408/+5826
|\ | | | | | | | | | | | | | | | | | | | | Update web-platform-tests Now up to date at e03a9b1341ae9bdb1e4fa03765257b84d26fe2f1. <!-- 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/18899) <!-- Reviewable:end -->
| * Update web-platform-tests to revision 238e9855c35a3570f824b837826aac71e50722f4Josh Matthews2017-10-16173-5136/+228
| |
| * Update web-platform-tests to revision e03a9b1341ae9bdb1e4fa03765257b84d26fe2f1Josh Matthews2017-10-165183-298283/+5609
| |
* | Auto merge of #18875 - servo:stable-js, r=nox,jdmbors-servo2017-10-161-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | Remove the need for rust-mozjs to use unstable Rust features <!-- 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/18875) <!-- Reviewable:end -->
| * | Remove unused feature flagSimon Sapin2017-10-161-1/+1
| |/
* | Auto merge of #18890 - glennw:update-wr-clip-text-aa, r=jdmbors-servo2017-10-166-4/+15
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update WR (details below): * Add support for clip masks on text runs. * Fix atomic ordering of items with multiple shadows. * Update to bincode + ipc-channel with optimizations. * Fix some plane splitting precision errors. * Improve the anti-aliasing quality significantly. * Add internal ClipChain support. * Fix diacritic glyphs on Linux. <!-- 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/18890) <!-- Reviewable:end -->
| * Update WR (details below):Glenn Watson2017-10-166-4/+15
| | | | | | | | | | | | | | | | | | | | * Add support for clip masks on text runs. * Fix atomic ordering of items with multiple shadows. * Update to bincode + ipc-channel with optimizations. * Fix some plane splitting precision errors. * Improve the anti-aliasing quality significantly. * Add internal ClipChain support. * Fix diacritic glyphs on Linux.
* | use XML fragment serialization for outerHTML in XML documentstigercosmos2017-10-162-298/+1
| |
* | use XML fragment serialization for innerHTML in XML documentstigercosmos2017-10-161-14/+0
|/
* Auto merge of #18881 - emilio:osmesa-up, r=noxbors-servo2017-10-141-3/+0
|\ | | | | | | | | | | | | | | Update OSMesa. <!-- 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/18881) <!-- Reviewable:end -->
| * Update OSMesa.Emilio Cobos Álvarez2017-10-141-3/+0
| |
* | Update domparsing spec links to not point at WHATWGKafji2017-10-143-4/+4
|/ | | | | | - Change domparsing spec link from domparsing.spec.whatwg.org to w3c.github.io/DOM-Parsing - Remove from tidy since it's already covered by w3c.github.io - Update test manifest
* Auto merge of #18867 - emilio:parse-hack, r=heycambors-servo2017-10-142-9/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Dishonor display: -moz-box if -webkit-box was specified before This is a compatibility hack that Gecko supports that is apparently important for android. I want to remove it, but let's see... See https://bugzilla.mozilla.org/show_bug.cgi?id=1407701 for reference. <!-- 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/18867) <!-- Reviewable:end -->
| * style: Be clearer about whether a declaration comes from parsing or not.Emilio Cobos Álvarez2017-10-142-9/+16
| | | | | | | | | | | | | | | | | | | | This introduces DeclarationSource, to see if a declaration has been parsed or set from CSSOM in a declaration block. The Servo_DeclarationBlock_SetFoo and similar callers are changed to DeclarationSource::CssOm because their semantics are more CSSOM-y, but it shouldn't matter since they should all be checked before hand with Servo_DeclarationBlock_PropertyIsSet.
* | style: Remove Servo_GetStyleVariables test special case.Cameron McCormack2017-10-141-5/+1
| |
* | Use pointer casts instead of tramsutes to raw::TraitObjectSimon Sapin2017-10-131-29/+0
| | | | | | | | | | | | Casting `*const T` to `*const U` with `U: Sized` is allowed even if `T: ?Sized`. This safely extracts the data pointer out of a trait object, without relying on the memory representation of trait objects.