This is a quick and dirty hack to get treeherder to show pytest failures. Long term, we might
want to investigate using something like pytest-mozlog. But the benefit of this approach is
we get to keep pytest's fantastic default log format.
MozReview-Commit-ID: Gcsz6z8MeOi
--HG--
extra : rebase_source : 00ee7973eadf86c081b548d5e79c48ca951e25a6
When filtering for which elements to hide when the user is viewing a
subcategory, <preferences> elements are excluded (though they must still match
the category search).
MozReview-Commit-ID: 5pCmaGp3XWl
--HG--
extra : rebase_source : 9e50ad004be469f8e4cc0f7d23b51c39d0a2699f
Follow up of #18225
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
Source-Repo: https://github.com/servo/servo
Source-Revision: d6858ab2061f4ae9b81b567e594d46e1a6c8da7e
--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4936ba6f71ece7a7a6075e69d66722cf58200bd6
Marionette has issues with repositioning/resizing the window when one
of width/height/x/y is the rect's existing value. This is an edge case
it is worth testing for.
MozReview-Commit-ID: 7E46ly2lIiY
--HG--
extra : rebase_source : 2350538b3ec712170912608e3d403c0aa727f9d9
Set Window Rect is meant to accept JSON Numbers, which can either be
integers or floats.
MozReview-Commit-ID: 591s7UVoUhM
--HG--
extra : rebase_source : cc71693baffe3b0955733dd956890594fe35be64
This patch splits types and bounds checks into two tests for clarity
and reduces unnecessary fields for readability.
It also covers a few missing eventualities and edge cases.
MozReview-Commit-ID: GTBw0fZOgwY
--HG--
extra : rebase_source : 7044a4ac8a1dd65f2f5becac19f6fc730648c892
This covers step 1 of the Set Window Rect algorithm.
MozReview-Commit-ID: 5DqDEiiMwXt
--HG--
extra : rebase_source : b90bf0a215475e93a6f8eefe08a2a41ac5c79208
Implements the following optimizations:
- Resize the destination buffer to the maximum size possible, write to it
directly, and then shrink it back to the actual size written.
- Avoid iterating over non-special-character runs multiple times.
- Use a lookup table to determine both if we should escape the character
what the character after the escape sequence should be if so.
- Converts the destination buffer to the correct character type in advance of
stringifying, instead of checking every character in the inner loop.
MozReview-Commit-ID: 7iWRqm3EopX
--HG--
extra : rebase_source : 1b18faee586718ec54b922222a28a31e3899d771
In some cases, they are false positives. In other cases, the callsite is #ifdef-ed
out, so it's a true positive, but not one we would correct.
MozReview-Commit-ID: 6ThZH3wEXTp
--HG--
extra : rebase_source : aabdb93cb924e74cf9592a93c86062c4435ceaad
<!-- Please describe your changes on the following line: -->
Bug 1376883 - stylo: Drop thread pool stack size to 100k. r=bholley.
---
<!-- 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. -->
Source-Repo: https://github.com/servo/servo
Source-Revision: 7fa6e355836901726e20af0d5e74cf3d37b944db
--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : eeac903d3db70a77e940762fa1fc81a60cb07d2c
``print()`` has no business being in library code like this. It was
a holdover from this code being copied from bootstrap. So remove it.
While we're here, replace the generic exception with a specific one.
We don't want to be swallowing bugs via ``except Exception``.
MozReview-Commit-ID: 49goUstfPBz
--HG--
extra : rebase_source : a821159bd12a449ed1a0edf21a1f9eb29711ad95
The convention is to use fromJSON (instead of fromJson) because this
gives parity to toJSON which is supported by JSON.stringify.
MozReview-Commit-ID: 9dX14pFO2Bj
--HG--
extra : rebase_source : d0c1d657eee1f84d34e5a7116d8bb9ca579c8b51
Telemetry and some performance profiles show that Msg_NotifyIMEFocus can take
a few seconds to complete, and jank the browser. With bug 1217700, it removes
the necessity of sync Msg_NotifyIMEFocus, so in this patch we make this async
for performance improvement.
MozReview-Commit-ID: 15eUwMJ2Q7H
--HG--
extra : rebase_source : b463e6e881ca5ebec00d0f76e29ca103059b3ddd