Commit Graph

10899 Commits

Author SHA1 Message Date
Andreea Pavel
172683ac43 Backed out 1 changesets because the gecko part (bug 1420117) has to be backed out for the mochitests r=backout on a CLOSED TREE
Backed out changeset baada68cad47
2017-12-05 02:15:45 +02:00
Simon Wörner
cb32d51a05 servo: Merge #19379 - Implemented sanitize_value for time input (from SWW13:htmlinput_sanitize_time); r=KiChjang
Implemented value sanitization for `<input type=time/>`.
The value has the be valid time string (https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-time-string) or set to empty string.

---

The following test results look expected to me, but I'm not sure:
```
  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/type-change-state.html:
  │ FAIL [expected PASS] change state from time to text
  │   → assert_equals: input.value should be   foobar   after change of state expected "  foobar  " but got ""
  │ FAIL [expected PASS] change state from time to search
  │   → assert_equals: input.value should be   foobar   after change of state expected "  foobar  " but got ""
  │ FAIL [expected PASS] change state from time to tel
  │   → assert_equals: input.value should be   foobar   after change of state expected "  foobar  " but got ""
  │ FAIL [expected PASS] change state from time to url
  │   → assert_equals: input.value should be foobar after change of state expected "foobar" but got ""
  │ FAIL [expected PASS] change state from time to password
  │   → assert_equals: input.value should be   foobar   after change of state expected "  foobar  " but got ""
  │
  │ @http://web-platform.test:8000/html/semantics/forms/the-input-element/type-change-state.html:53:15
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1489:20
  │ test@http://web-platform.test:8000/resources/testharness.js:511:9
  └ @http://web-platform.test:8000/html/semantics/forms/the-input-element/type-change-state.html:37:9

  ▶ Unexpected subtest result in /html/semantics/forms/the-input-element/type-change-state.html:
  │ FAIL [expected PASS] change state from color to time
  │   → assert_equals: input.value should be #000000 after change of state expected "#000000" but got ""
  │
  │ @http://web-platform.test:8000/html/semantics/forms/the-input-element/type-change-state.html:55:15
  │ Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:1489:20
  │ test@http://web-platform.test:8000/resources/testharness.js:511:9
  └ @http://web-platform.test:8000/html/semantics/forms/the-input-element/type-change-state.html:37:9
```

All other tests do now `PASS` instead of `FAIL`.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix *part of* #19172
- [x] There are tests for these changes
  - [x] All tests `PASS`

Source-Repo: https://github.com/servo/servo
Source-Revision: eed3adc957fb3c52de24c560112533963572f525

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0da8c76b388e47205d00c739b2737b05a7606187
2017-12-04 15:44:58 -06:00
Cameron McCormack
f99309301e servo: Merge #19441 - add FFI functions for Gecko @counter-style value parsing (from heycam:counter-parse); r=upsuper
Servo-side part of https://bugzilla.mozilla.org/show_bug.cgi?id=1420117, reviewed there by Xidorn.

Source-Repo: https://github.com/servo/servo
Source-Revision: 221d72a81ed9300e260d33d2d2d6557b5a118fac

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 73e138d1c06d8e7f29fc9d084ebda2bd1950c03b
2017-12-04 14:36:32 -06:00
Alan Jeffrey
ff8de48862 servo: Merge #19474 - Move the trap instruction in /etc/ci/performance/test_all.sh (from asajeffrey:test-perf-move-trap); r=jdm
<!-- Please describe your changes on the following line: -->

At the moment if the performance tests fail, the local server doesn't get killed, because the trap instruction is after the test run. This PR moves it to before.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 9f117ae0abe49e189eb7015e44425a0656ce0fa7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2d5d0a9ec9d09362291a3805a448fd03905181f4
2017-12-04 11:32:13 -06:00
Emilio Cobos Álvarez
fbf9d655be servo: Merge #19462 - style: Cleanup Angle parsing (from emilio:angle-parsing); r=nox
This PR also contains a functional change, allowing to parse unitless zero angles in hue-rotate().

See the links and the comments for why.

Source-Repo: https://github.com/servo/servo
Source-Revision: e4dba3abef2a4941c5a4d95d58ae0b864ad10961

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ca23c77ffb43f42fc16b8934780f0ce94ce890a0
2017-12-03 09:14:59 -06:00
Emilio Cobos Álvarez
6ac9b1e2d9 servo: Merge #19463 - style: Remove free parsing functions, use Integer::parse and Number::parse instead (from emilio:bye-parse-functions); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 14f757817e16a873e60035c1946ae82535038641

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ebb08a34ecae53148c89dc1118b7422e21211d94
2017-12-03 06:02:12 -06:00
Ting-Yu Lin
dd31a370eb servo: Merge #19436 - style: Support 'shape-image-threshold' property (from aethanyc:shape-image-threshold); r=heycam
This has been reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1265343

Source-Repo: https://github.com/servo/servo
Source-Revision: d198caa9ff9fc4e7210085576df189b7fbf56374

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a22ad7503bfdaadd6bea511c3fdfeaa4e8f27a44
2017-12-02 10:03:16 -06:00
Emilio Cobos Álvarez
54299ade5a servo: Merge #19454 - style: Add a missing fast-path in GeckoElement::each_class (from emilio:has-class-is-stupid); r=upsuper
This shows up when inserting elements in the bloom filter.

Source-Repo: https://github.com/servo/servo
Source-Revision: 45bbbac9d934bc375c735fd167730e37ce063325

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0d8775c67ddbc18f5708796b9362f0f774b6a1a1
2017-12-02 01:40:00 -06:00
Emilio Cobos Álvarez
ddb93e1de5 servo: Merge #19452 - style: Remove pretty useless layer of abstraction (from emilio:layers-as-an-onion); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e8593e29633a67e6a8f61a213217a19278aa2739

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1be2c6957976b130222813f9f23016c02c9cd367
2017-12-01 22:08:22 -06:00
Emilio Cobos Álvarez
e61587fcae servo: Merge #19455 - style: Don't waste an allocation when failing to parse a CSSParserColor (from emilio:color-does-stupid-things-too); r=upsuper
I see that allocation show up in the profiles, and it makes sense, because
system colors and such are common in Firefox, and they're just wasting it.

Note that the clone() added is refcounted.

Source-Repo: https://github.com/servo/servo
Source-Revision: 49e6594bc9f4c8178175232ab4a61581144dfa8e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9cbfebb4036f9b67e1346da0c681b93aa19a91cf
2017-12-01 18:03:11 -06:00
Emilio Cobos Álvarez
4b8603c01c servo: Merge #19451 - style: Inline some things that should never ever appear in a profile (from emilio:inlining-is-fun); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: f7aa22a87ee2571d3cdb90bfe361b22ba45ddb23

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb3fcff96422313c36f06435a585eed84c82d62b
2017-12-01 16:52:34 -06:00
Emilio Cobos Álvarez
6d8177ca14 servo: Merge #19453 - style: Add a fast-path for GeckoElement::is_root (from emilio:is-root-is-slow); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: bca8951182dc3608f3d8c6948bcce636f7860529

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : da8b2d4567782e69c382bc63f3d050720e62353c
2017-12-01 15:14:13 -06:00
Emilio Cobos Álvarez
334f5f8700 servo: Merge #19447 - servo_arc: Add some #[inline] and repr(C) annotations (from emilio:arc-soundness); r=jdm
inline is probably unnecessary, but anyway... We rely on those being repr(C), so
they rather have some.

Source-Repo: https://github.com/servo/servo
Source-Revision: 210d0ab30a72b58c2797d29db3c2a5521730285e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d675471a908fe1b961aa39e2fd0b637d29bdc175
2017-12-01 12:58:11 -06:00
ddh
247165dd5b servo: Merge #19307 - change parse_own_css to queue event not fire synchronously (from avadacatavra:domrefcellpanic); r=jdm
<!-- Please describe your changes on the following line: -->
fixes a panic and aligns with spec

I've also added checks around each mutable borrow of the tokenizer to see if we can catch any other panics

---
<!-- 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 #18930 (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: 712d75af01e02fe9689d18d7a94c89318e39f52b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66a16b12a0302d6a108f7b6345a0554794c0f8de
2017-12-01 11:41:47 -06:00
Emilio Cobos Álvarez
bde5c06616 servo: Merge #19446 - style: Make -moz-border-colors chrome only (from emilio:bye-moz-border-colors); r=xidorn
This also makes the `border` shorthand not reset them.

Bug: 1417200
Reviewed-by: xidorn
MozReview-Commit-ID: KNais1e5FnE
Source-Repo: https://github.com/servo/servo
Source-Revision: af8d53372f1cb7364b07f48bbd3d9ecd01d9b69a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 20695ab01754b373d7f8514f5303c768d0edb3b1
2017-12-01 10:41:33 -06:00
Alan Jeffrey
9ee1f72e41 servo: Merge #19344 - Download the buildbot statistics and save them as CSV (from asajeffrey:buldbot-perf-download-json); r=jdm
<!-- Please describe your changes on the following line: -->

Download timing data from build.servo.org, and convert it to CSV for feeding to Google Data Studio.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 9da7663e29af1a00980c3e7f30f8e0ae4760979d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7cf8bcbc2c6636c2346a9357f16564ee66e96653
2017-12-01 06:52:26 -06:00
Alan Jeffrey
b7449e03bd servo: Merge #19440 - Added explicit UTF-8 encoding to test-perf (from asajeffrey:test-perf-utf8); r=jdm
<!-- Please describe your changes on the following line: -->

Added explicit UTF-8 encoding to test-perf, to try to avoid:
```
Traceback (most recent call last):
  File "runner.py", line 371, in <module>
    main()
  File "runner.py", line 361, in main
    save_result_csv(results, args.output_file, testcases, args.runs, args.base)
  File "runner.py", line 287, in save_result_csv
    writer.writerows(results)
  File "/usr/lib/python3.4/csv.py", line 159, in writerows
    return self.writer.writerows(rows)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 101-107: ordinal not in range(128)
```
http://build.servo.org/builders/linux-nightly/builds/526/steps/test/logs/stdio

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: b7bb6ffbb85aed4e94f36a71fac112ae64d46911

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ad9fe0f3b169941176e91eaaf34ddfa6d8c4d367
2017-11-30 13:46:15 -06:00
Simon Sapin
34aa40c687 servo: Merge #19437 - Remove 5 second pause in ./mach test-unit (from servo:SimonSapin-patch-1); r=jdm
Details of why this pause happens in the first place are at https://github.com/servo/servo/issues/19439.

Source-Repo: https://github.com/servo/servo
Source-Revision: ba0240a3887e828a084929ab5c8952800ab01123

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4c0b1e68939a749f50714e8f0f5c7dfdcbddfe15
2017-11-30 12:15:45 -06:00
Emilio Cobos Álvarez
99b58138da servo: Merge #19438 - style: Remove redundant style sharing check (from emilio:redundant-sharing); r=upsuper
We check that a few lines before calling test_candidate.

Source-Repo: https://github.com/servo/servo
Source-Revision: ec794c82978a60dd0d5fb65b7712138c3535b714

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 48c3487be52f9a09cf5a16c4ec337aef54110042
2017-11-30 10:45:14 -06:00
Anthony Ramine
b7f989e2f9 servo: Merge #19433 - Update openssl to 0.9.22 (from servo:bumps); r=emilio
This removes foreign-types 0.2.

Source-Repo: https://github.com/servo/servo
Source-Revision: d85641bcbbab546e2e3a1cb4c7db01d95c77c78f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 41dedb605eaaa0d5adbae4a4f09249652d46bdbc
2017-11-30 09:33:20 -06:00
Xidorn Quan
a96c0d5b96 servo: Merge #19429 - Don't try to share style on quirks mode whenever two elements have different id (from upsuper:sharing-quirks-id); r=emilio
This fixes [bug 1420946](https://bugzilla.mozilla.org/show_bug.cgi?id=1420946).

Source-Repo: https://github.com/servo/servo
Source-Revision: fce44a2e139478a5fc3524c2fd72fbeea6e3eec1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c90308252a2d4f0d49388aa6210514f88144d61c
2017-11-30 08:23:07 -06:00
Emilio Cobos Álvarez
0a671ea58c servo: Merge #19434 - style: Disable @-moz-document on author sheets on nightly and early beta (from emilio:moz-document); r=xidorn
Bug: 1035091
Reviewed-by: xidorn
MozReview-Commit-ID: AAUs1jJifjS
Source-Repo: https://github.com/servo/servo
Source-Revision: 3b78cf1045939754526e636d1b72fafbb5cefbb4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 12a18445715cf7303dc7b956e46161003cf5766e
2017-11-30 07:24:27 -06:00
Emilio Cobos Álvarez
b941bc4b3f servo: Merge #19432 - style: Bail out from invalidation if we're the root and got tons of descendant invalidations (from emilio:invalidation-bail); r=heycam
Bug: 1420741
Reviewed-by: heycam
MozReview-Commit-ID: 4Kja20Ep9qD
Source-Repo: https://github.com/servo/servo
Source-Revision: e4d5e9699b9e784e5eba0aec316a35d048786052

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 705ee3ef74c8f09702fa0e09bd9924f58bfc8ac7
2017-11-30 05:30:01 -06:00
Ting-Yu Lin
c488e7bfef servo: Merge #19406 - Add a new value inner-spin-button to -moz-appearance in stylo (from ghoo1125:add_inner_spin); r=heycam
<!-- Please describe your changes on the following line: -->
Add a new value inner-spin-button to -moz-appearance. See bug 1417751.
https://reviewboard.mozilla.org/r/200244/diff/6#index_header

---
<!-- 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: cc8f9305e415fbe773d1ea899db0755cd4a9145c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6bdeacd007685540cda0a86dcaaab1c629ef8aa5
2017-11-29 19:14:41 -06:00
Emilio Cobos Álvarez
a1ac90919c servo: Merge #19426 - style: Require an nth-index cache for invalidation (from emilio:cache-invalidation); r=xidorn
Source-Repo: https://github.com/servo/servo
Source-Revision: 95aac490a5150fd1a354f25c61b01ee0406a1e84

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ca65470776263fe2a7f0bb65ad54a64034c956d5
2017-11-29 16:36:48 -06:00
CYBAI
6c6269e554 servo: Merge #19412 - style: Move grid-template-areas outside of mako (from CYBAI:grid-template-areas-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19409
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: fa3f3896d349053a74c1bdc4c32cec61f3d05b1b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ef7a1dbaf74de18e8daa9452b598ed3953a14c98
2017-11-29 15:24:33 -06:00
Emilio Cobos Álvarez
a991a8ccee servo: Merge #19425 - style: Log a bit more information about invalidation collection (from emilio:log-invalidation); r=xidorn
Source-Repo: https://github.com/servo/servo
Source-Revision: 05b57e67b6f57ac8af8008c63134deeb5b5c1e12

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e62bc48cb6ec1979ebdb25a1f1415ea19cc17a32
2017-11-29 14:14:58 -06:00
Matt Brubeck
21cbde587b servo: Merge #19424 - Remove unused generic from push_applicable_declarations (from mbrubeck:veclike); r=emilio
This function is only ever used with one type.

This gets rid of the only use of the `smallvec::VecLike` trait, which we may want to deprecate (servo/rust-smallvec#35).  If we do need to make this function generic in the future, we can do it using standard traits instead.

---
- [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 they are removing unused code

Source-Repo: https://github.com/servo/servo
Source-Revision: dbe3136a055008d2c27c7d96f20e0c9ce4b1cb1c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fd711a25e3eeb999712269c39a74c99981975a63
2017-11-29 11:47:33 -06:00
Anthony Ramine
49e723f986 servo: Merge #19423 - Update cbindgen to 0.3.2 (from servo:bumps); r=jdm
Should help us understand #19418.

Source-Repo: https://github.com/servo/servo
Source-Revision: f1fe370117bc93da7a7578b926c9b3a0d3e85fcc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a674ea6cd870b28fcf03f1a78b891d516ac2eb24
2017-11-29 10:26:46 -06:00
Anthony Ramine
b69f221997 servo: Merge #19419 - Update openssl to 0.9.21 (from servo:bumps); r=avadacatavra
This replaces bitflags 0.8.2 by 0.9.1.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d602a7bb9f452fc45f9367a09fbf2fe52d3e20e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : eb934fdb0e4a6d44f4a4181ba498b8d200fa5d6a
2017-11-29 06:25:46 -06:00
Josh Matthews
ce2eb12862 servo: Merge #19413 - Don't confuse Cargo when building dependencies (from servo:jdm-patch-9); r=avadacatavra
It's not totally clear why this is experienced intermittently (see #19402), but this allowed mp4parse-capi to actually build on my machine.

Source-Repo: https://github.com/servo/servo
Source-Revision: 462409ada54b002689d01c7c7243f0d9fe90df26

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 182fa4cffbe71a92d7ad424966a75cee6d151ffc
2017-11-29 05:24:48 -06:00
Ting-Yu Lin
f050f169f0 servo: Merge #19415 - style: Support shape-image: <image> (from aethanyc:shape-image); r=heycam
This was reviewed in nhttps://bugzilla.mozilla.org/show_bug.cgi?id=1418224

Reland #19376

Source-Repo: https://github.com/servo/servo
Source-Revision: 1f30196a3721290a6e3b4c59f8f2d51284413f06

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 05eff558ff1a6b3a3dec57c00c006d011277fb87
2017-11-28 21:34:16 -06:00
Anthony Ramine
721e87b91d servo: Merge #19402 - Update gecko-media and clap (from servo:bumps); r=emilio
This removes moz-cheddar and thus syntex from Servo's dependencies.

Source-Repo: https://github.com/servo/servo
Source-Revision: 077d74795a2f0b06f9a65d8062676cec35481fc1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 879f2cb568bbb94b45bb96a6bd51fa89400c25be
2017-11-28 16:10:17 -06:00
Simon Sapin
681567b0a4 servo: Merge #19411 - Replace parse-hosts crate with 10 lines of code (from servo:parse-hosts); r=nox
This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait.

One of these crates doesn’t build in today’s Nightly: https://github.com/rust-lang/rust/issues/46328

Source-Repo: https://github.com/servo/servo
Source-Revision: ae3c3ba1c2f265e01a377f73f4a9016aded54367

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b7d289b529cbdba3679c1e6c626264d90dd648d2
2017-11-28 09:20:44 -06:00
Simon Sapin
c3d79c4968 servo: Merge #19410 - Firefox is now on Rust 1.21 (from servo:SimonSapin-patch-1); r=nox
https://bugzilla.mozilla.org/show_bug.cgi?id=1409533

Source-Repo: https://github.com/servo/servo
Source-Revision: 2eb266b314dce2d4f130ada717a802875eb457e0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a1e40459923c2992786ba089e31c1d783591062a
2017-11-28 07:33:38 -06:00
CYBAI
78fd0c5b9b servo: Merge #19378 - style: Move grid-auto-flow outside of mako (from CYBAI:grid-auto-flow-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19375
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 66d0a41127a350d162c6a809053290c3da30c7eb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 16855a4491275c8c831d6815d02d6698346a4ac2
2017-11-28 05:16:49 -06:00
CYBAI
5ad2eebeb0 servo: Merge #19384 - Call children_changed on the parent node consistently (from CYBAI:fix-19177); r=emilio
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19177
- [x] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 5568c4e3d30c4f777ee25f1a5d1765755b2c1a32

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6ec5ce1e18ad67e7428c4575e3019fb61d8ca4f6
2017-11-28 04:08:51 -06:00
Boris Chiou
0f040a0d3f servo: Merge #19388 - stylo: Implement Servo_ParseTransformIntoMatrix (from BorisChiou:stylo/dommatrix/parser); r=emilio,heycam
This is an inter-dependent patch of Bug 1408310.

DOMMatrix needs to convert a specified transform list into a matrix, so we rewrite
to_transform_3d_matrix by generics for both specified and computed transform lists.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1408310](https://bugzilla.mozilla.org/show_bug.cgi?id=1408310).
- [X] These changes do not require tests because we can count on the wpt tests for DOMMatrix on Gecko side.

Source-Repo: https://github.com/servo/servo
Source-Revision: 823da9e34aacca750942c0fb53a29d6ca16c394d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 15f0da28648677213a6642cf2b377a3d7f3e7073
2017-11-27 20:13:34 -06:00
Glenn Watson
e8053bcf9f servo: Merge #19399 - Update WR (rasterize test in transform space, render target optimizations) (from glennw:update-wr-xf-text); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: c93f989e11b954e5cc104502684bd8e3f353d5f3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e8405320ab9936ed689edad10f7e3a1bab118101
2017-11-27 18:53:41 -06:00
Emilio Cobos Álvarez
bc6d1d8988 servo: Merge #19391 - style: Add a comment about why early properties are early (from emilio:early-props-docs); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: df50a9a81cfef5161c0dbb6b47d7d1df2b921bf5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3525d4e0511d10ebf4965b0e26bca0d3ef2da4d0
2017-11-27 17:42:50 -06:00
Alan Jeffrey
c841d86c08 servo: Merge #19323 - Run test-perf on linux-nightly (from asajeffrey:test-perf-run-nightly); r=edunham
<!-- Please describe your changes on the following line: -->

Run test-perf on linux-nightly.

---
<!-- 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 #12988
- [X] These changes do not require tests because this is test infrastructure

<!-- 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: 8b6b2e97c87528c4b78c20f92f7e036fca7aa962

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9419a74c788e141a082897bcf2d1400608b822da
2017-11-27 16:12:14 -06:00
Emilio Cobos Álvarez
e264f3413f servo: Merge #19398 - style: Disable :visited if the document is being used as an image (from emilio:visited-as-an-image); r=dholbert
Bug: 1420001
Reviewed-by: dholbert
MozReview-Commit-ID: F9MeT1kXZER
Source-Repo: https://github.com/servo/servo
Source-Revision: 7c99ae3bb8056f7e30a3b40340200eced385902d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1dbc92124efa960b3c4e4b83dd6aa02576dc0ade
2017-11-27 14:57:57 -06:00
Emilio Cobos Álvarez
58cb2b2abf servo: Merge #19380 - style: Bring back the optimization to avoid traversing XBL subtrees that will likely change (from emilio:my-existence-seems-a-continuous-fight-with-xbl); r=heycam
Bug: 1420496
Reviewed-by: heycam
MozReview-Commit-ID: 3sIGtcVOt0r
Source-Repo: https://github.com/servo/servo
Source-Revision: 769b643c0f03054ed58542005356085312c77d9f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f094a1d45de724ccc72f72b056efc8fd3d0a2634
2017-11-27 13:35:28 -06:00
Emilio Cobos Álvarez
6d09e3b33f servo: Merge #19390 - style: Minor cleanups while the sync service is down (from emilio:never-enough-cleanup); r=nox
I cannot land my Gecko-dependent patches, so let's do some cleanup in the meantime.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6d49ec83a15f440f85cb9a045eaf104f30bd3053

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9e7ca996dadd40cba10a28a3c950328686c930fa
2017-11-27 08:41:46 -06:00
Emilio Cobos Álvarez
3babb12b90 servo: Merge #19382 - style: Deindent some property declaration code (from emilio:pdb-deindent); r=canaltinova
Source-Repo: https://github.com/servo/servo
Source-Revision: ac6e04ebfbf27317fea00ea93e855520237b538d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d2765dbe94552a630170d2c60a58277058542fe0
2017-11-26 12:45:41 -06:00
Josh Matthews
4d0e223be0 servo: Merge #19383 - Add clang packages for non-debian linuxes (from emilio:rerere); r=emilio
This relands #19381. Hopefully the sync service lands this PR and everything can go back to normal.

Source-Repo: https://github.com/servo/servo
Source-Revision: e44c0b74967298c098be8ee2ea9a956b1f42e300

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bc6a32fd758fb419f4346c9d56d025574bbeb9fd
2017-11-26 10:53:33 -06:00
Emilio Cobos Álvarez
7ec56ef8cd servo: Merge #19381 - Revert "Add clang packages for non-debian linuxes." (from emilio:sync-service-broken); r=emilio
This reverts commit 1d2456e076249c85dbaa1e1d9c28204b173f0cb8, in an attempt to
restore the sync state across repos. Will reland if this fixes it (and if it
doesn't too).

Source-Repo: https://github.com/servo/servo
Source-Revision: a8c7940ea38157bc4dfc2c1f0c9bc2e9852baeeb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c7b49f0306510ee20bb9b361d17217e7de7242b
2017-11-26 09:56:35 -06:00
Josh Matthews
399a7f38c1 servo: Merge #19353 - Add clang packages for non-debian linuxes (from servo:jdm-patch-7); r=KiChjang
Per https://github.com/servo/gecko-media/issues/71#issuecomment-346606660.

Source-Repo: https://github.com/servo/servo
Source-Revision: 10e5ae2c65575aeea4681a89da8ba6aead23af54

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 527e88303ca768901dd1c2f68eae77916f0c574e
2017-11-27 13:48:51 -05:00
Csoregi Natalia
e06f6769a6 Backed out changeset 077ce85c466b for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE 2017-11-26 13:01:43 +02:00
Csoregi Natalia
7d839a753c Backed out changeset 1fdcd69d2524 for Build Bustage. r=backout on a CLOSED TREE 2017-11-26 12:59:10 +02:00
Ting-Yu Lin
6c9d3c567e servo: Merge #19376 - style: Support shape-image: <image> (from aethanyc:shape-image); r=heycam
This is reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1404222

Source-Repo: https://github.com/servo/servo
Source-Revision: 286ac51c0727c43239c782d9fc4759f0c0d4690b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : eed86f694275322017819d3876c96f36cdab063d
2017-11-26 03:30:39 -06:00
Cameron McCormack
5c3c6a548e servo: Merge #19374 - geckolib: Return from Servo_ComputeColor whether the value was currentcolor (from heycam:compute-color); r=TYLin
Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1420026, reviewed there by TYLin.

Source-Repo: https://github.com/servo/servo
Source-Revision: b8b5c5371f66a95da9ffb238cba2c549f4c85f59

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : abb4932506d8df0e29b9485f10f7e085c8e48638
2017-11-25 21:25:16 -06:00
Jon Leighton
22939c4977 servo: Merge #19358 - Move selection to end when textarea value is assigned (from jonleighton:issue-19171-3); r=KiChjang
Issue #19171

Source-Repo: https://github.com/servo/servo
Source-Revision: 3f0ccd0fef1ad108a22c731e399aa815d0af5441

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 617f3a81ce569cd8edfb20af8f4be58765c989b9
2017-11-25 16:10:41 -06:00
CYBAI
4fb0a4619e servo: Merge #19366 - style: Move font-family outside of mako (from CYBAI:font-family-out-of-mako); r=emilio
This is a sub-PR of #19015
Besides, this is the last PR for `font.mako.rs`! 🎉
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19355
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 8f61fde3907f2dde3e697791ccfb9a4d86d1a48c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1e3e438583f418932f96140dc434e1a64e4aceff
2017-11-25 13:06:31 -06:00
Emilio Cobos Álvarez
b17aa7c172 servo: Merge #19372 - Bump clang-sys to work around a Rust miscompilation (from emilio:bump-clang-sys); r=rillian
Works around: https://github.com/rust-lang/rust/issues/46239

Source-Repo: https://github.com/servo/servo
Source-Revision: 49658860d12186b9ccc45fcdb0394886f00afe37

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3837b58c04f3b30d34d9abef95fdaf9e96372908
2017-11-25 11:48:44 -06:00
tigercosmos
75df70a706 servo: Merge #19369 - Remove WrappedHttpResponse abstraction (from tigercosmos:a1); r=jdm
<!-- Please describe your changes on the following line: -->
Remove `WrappedHttpResponse` abstraction, and use `HyperResponse`

---

<!-- 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 #19361 (github issue number if applicable).

<!-- 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: adfd51c8426b6629545e4a4ae45be7de1cdfe5fd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d8e2d5921134140c3a1af7179918adbbaba759a3
2017-11-25 10:56:06 -06:00
Emilio Cobos Álvarez
a6b4bb18ed servo: Merge #19371 - style: Don't insert into the seen set before ignoring document colors (from emilio:doc-colors); r=whoops
Otherwise we may stop honoring other colors in other cascade levels.

Fixes: #19370
Source-Repo: https://github.com/servo/servo
Source-Revision: 2377d60fa1deb56dcb5196e2206ef2b44ed296d5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5113fa4aad29a16ac1a77a9be0dffdefd1047b66
2017-11-24 19:10:00 -06:00
Botond Ballo
0b68301bed servo: Merge #19368 - Bug 951793 - Add support for the 'overscroll-behavior' CSS property (Servo changes) (from theres-waldo:bug951793); r=emilio
Servo changes for [bug 951793](https://bugzilla.mozilla.org/show_bug.cgi?id=951793).

Source-Repo: https://github.com/servo/servo
Source-Revision: 6158a4bf91d8d38900c5fec8bb20ff219e444f61

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b3142a8aae8deb3d9c00a3907f30bde63b570fdd
2017-11-24 17:02:56 -06:00
Emilio Cobos Álvarez
8036ceae73 servo: Merge #19370 - style: Perform variable substitution less often (from emilio:not-so-many-vars); r=xidorn
We're wasting a bunch of work unneedlessly.

Source-Repo: https://github.com/servo/servo
Source-Revision: 990058475797e5832467616d77e7fed651c8a357

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c23fb88cb24150cf43be099c6a626926fac072a
2017-11-24 15:59:00 -06:00
Emilio Cobos Álvarez
7c2ab483b0 servo: Merge #19367 - style: Make a Servo-only assertion apply to Gecko too (from emilio:gecko-assert); r=upsuper
Gecko passes it now, and we want to know if that ever changes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8349be1b3e768b85fbb09ecb3dd4e9480a24f29e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2582aced86ba89e34fe59bef17af04c8fdb587a6
2017-11-24 14:51:46 -06:00
Simon Wörner
f3077be9d4 servo: Merge #19362 - Enable pip error output in mach_bootstrap.py (from SWW13:pip_log); r=jdm
When `pip` encounters an error during mach bootstrapping in `mach_bootstrap.py` there is no error log because of `-q`. The output will only be read when an error was encountered, so this looks like an unintended mistake.

---

This gives error outputs like:
```
D:\Code\moz\servo>mach.bat -h
Pip failed to execute properly:
Output: Collecting marionette_driver>=2.4 (from -r D:\Code\moz\servo\tests\wpt\web-platform-tests\tools\wptrunner\requirements_firefox.txt (line 1))
  Using cached marionette_driver-2.4.0.tar.gz
Collecting mozprofile>=0.21 (from -r D:\Code\moz\servo\tests\wpt\web-platform-tests\tools\wptrunner\requirements_firefox.txt (line 2))
  Using cached mozprofile-0.28.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\$USER\AppData\Local\Temp\pip-build-zqivz5en\mozprofile\setup.py", line 12, in <module>
        assert sys.version_info[0] == 2
    AssertionError

    ----------------------------------------

Error: Command "python setup.py egg_info" failed with error code 1 in C:\Users\$USER\AppData\Local\Temp\pip-build-zqivz5en\mozprofile\
```

instead of:

```
D:\Code\moz\servo>mach.bat -h
Pip failed to execute properly:
Output:
Error: Command "python setup.py egg_info" failed with error code 1 in C:\Users\$USER\AppData\Local\Temp\pip-build-htd5no9k\mozprofile\
```

Source-Repo: https://github.com/servo/servo
Source-Revision: b5b24559254f265a6783c3e91a833d51319dccfa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 304689f45f488ccddaf0547df80f066bf199b484
2017-11-24 13:48:19 -06:00
Anthony Ramine
ae458a6643 servo: Merge #19363 - Use GeckoMedia and only that on platforms that support it (from nox:canplaytype-warning); r=ferjm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3907953d8099dacde06d2156ee906d6ac043760d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 358fb8014f85d51443be04bc3887d8ff7b455d44
2017-11-24 08:47:31 -06:00
Anthony Ramine
4734d50728 servo: Merge #19364 - Update cookie to 0.10 (from nox:cookie); r=KiChjang
Except in webdriver, which source is in m-c.

Source-Repo: https://github.com/servo/servo
Source-Revision: 56b5a4d8cb3a6feecf4df45f9b54f87fa0cb48cb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d2390ee9709c884aee5379d4a055c7d71eaaec6d
2017-11-24 03:50:37 -06:00
Markus Stange
96705bf9b0 servo: Merge #19359 - Bug 1417709, round two (from mstange:bug1417709-try2); r=emilio
<!-- Please describe your changes on the following line: -->

These are the servo changes that need to go with [bug 1417709](https://bugzilla.mozilla.org/show_bug.cgi?id=1417709).

r? @emilio

---
<!-- 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 without these changes Firefox doesn't build.

<!-- 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: 2374224cdfdf0bb4e8349646427e24e56d8955eb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b9cc2bfd643db36449407386a0eac2985e2aaea2
2017-11-23 15:21:06 -06:00
Dzmitry Malyshau
38716187af servo: Merge #19360 - WR update to 4595561c49939cb21be9554c1b85c244508bde73 (from kvark:wr-fix); r=jdm
<!-- 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
- [x] These changes fix #19347

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because: no new logic

<!-- 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. -->

cc @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 964b9b42cb81af0abda6b8f0231f4bef6a9a40d9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 10f3089f0d50b57b040b43b9c9d6a0ceebc5efdc
2017-11-23 14:03:19 -06:00
Imanol Fernandez
1dd16e6fa6 servo: Merge #19357 - Update glutin to 0.13.1 (from MortimerGoro:glutin_131); r=jdm
<!-- Please describe your changes on the following line: -->

Includes https://github.com/servo/glutin/pull/133

---
<!-- 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: -->
- [x] 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: 177285ad4a2a7fc2c211d616e58f2a98844c8013

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ed4e16a621cde9d0f2e2650eafdec921fad4830f
2017-11-23 12:35:10 -06:00
Imanol Fernandez
f0305f871b servo: Merge #19352 - Handle arraybuffer responseType in XHR (from MortimerGoro:xhr_arraybuffer); r=jdm
<!-- Please describe your changes on the following line: -->

Handle arraybuffer responseType in XHR

---
<!-- 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: -->
- [x] 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: 55049c2a676caff72e86a5631350309061a14352

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 58f2d5275dad5a37ebaa7f7f15b1c68f421f4dc8
2017-11-23 11:14:11 -06:00
tigercosmos
b0ab9e37b0 servo: Merge #19356 - update readme for ubuntu build (from tigercosmos:r1); r=jdm
<!-- Please describe your changes on the following line: -->

Fix Ubuntu build

---
<!-- 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  #19351 (github issue number if applicable).

Source-Repo: https://github.com/servo/servo
Source-Revision: 6009441f5ed52a1b723b386f6845b4fd4564c8f5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0e0b8a69970252f270d22c91411b34cc4549f9c1
2017-11-23 10:14:30 -06:00
Cameron McCormack
a3410a7eb3 servo: Merge #19349 - style: Stop using nsMediaExpression_Range (from heycam:media-feature-range); r=emilio
Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1420071, reviewed there by Emilio.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7ac376eed62ae6a7bb16b1115e718f9c9aee3b00

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a0989874e79071d6f258445079bc184651e5a812
2017-11-23 09:23:25 -06:00
Keith Yeung
46d1b9337d servo: Merge #19185 - Implement secure and host cookie prefixes (from KiChjang:cookie-prefixes); r=avadacatavra
Part of #8700.

I modified the algorithm so that it accurately checks for the presence of the `Path` attribute of the cookie, before checking whether it has a value of `/`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7029e07ab980f7ae16b0e827066529bf145c5ff5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 204d3ed55802460096d320bd31ac7ecaa39c710a
2017-11-23 08:26:03 -06:00
Philippe Normand
c5440617e9 servo: Merge #19337 - Implement HTMLMediaElement::canPlayType using gecko-media (from philn:gecko-canPlayType); r=nox
<!-- 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: -->
- [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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: c5b446a5731f41d06a250f7a8222a43c49dd33a9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 311eb7174241447dac85a1e0a7974dc18cf5727e
2017-11-23 06:52:27 -06:00
Emilio Cobos Álvarez
d417e50177 servo: Merge #19341 - stylo: Make TraverseSubtree cheaper in the initial styling case (from emilio:traversal-new-faster); r=heycam
This helps with bug 1419694.

Source-Repo: https://github.com/servo/servo
Source-Revision: cd70a01d327d4e690626b4ce6f301d4cc6ae9a87

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1f52f926d453a5038f4c9f160150196bf3059c42
2017-11-23 05:44:09 -06:00
CYBAI
a3d74b53c4 servo: Merge #19339 - style: Move -moz-script-size-multiplier outside of mako (from CYBAI:moz-script-size-multiplier-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19333
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: ac576910d27eaee91ae21a38607a44cf7d33e15d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b9a1d19a17d3d3cc6c4d155e4f2ff0601a625e3c
2017-11-23 04:28:18 -06:00
Simon Sapin
0ead2435b5 servo: Merge #19346 - Remove compiletest from Travis script (from servo:SimonSapin-patch-1); r=asajeffrey
This should have been in https://github.com/servo/servo/pull/19338

Source-Repo: https://github.com/servo/servo
Source-Revision: ca15c1000372b8cdec6000ef1a09fb5fa5985338

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7f1d1620c93c55491a1180dc275dcafd599917ef
2017-11-22 21:05:07 -06:00
Bastien Orivel
e2d8bcc867 servo: Merge #19330 - Add a sanitize_value implementation for the color input (from Eijebong:sanitize_color); r=KiChjang
I had to change the test a little bit to avoid some failures due to
color and text both having a sanitizedValue which was making the test
use the first assertion instead of the second one in some cases.

The sanitize_value implementation is pretty simple, we iterate over the
content and checks that the content is 7 characters long, that the first
character is a `#` and then that all the following characters are
hexadecimal. If all those requirements are met, we lowercase the
content, otherwise we put `#000000` in it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 72e7f6095e56ca6230651fc73bced8b460487569

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e4985200fa96b3d6e40d09c9f30b5df47d8cbf3a
2017-11-22 19:42:58 -06:00
Manish Goregaokar
f1502e5e7d servo: Merge #19329 - Add RAII guard for cancelling fetch when the consumer no longer cares about it (from Manishearth:fetchcanceller); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 976f9e3d13b6a7676dd863dd397dd6c60e868d58

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9d7caa9c57c75423e10f6802d23835b2522d9f14
2017-11-22 18:30:57 -06:00
Margareta Eliza Balazs
7258d432e6 Backed out changeset 2e20100d8f59 (bug 1417709) for error in toolkit/library/rust/target r=backout on a CLOSED TREE 2017-11-23 01:18:45 +02:00
Markus Stange
e758202341 servo: Merge #19255 - Bug 1417709 - Add -moz-appearance: -moz-mac-vibrant-titlebar-light/dark and system colors with the same name (from mstange:bug1417709); r=emilio
<!-- Please describe your changes on the following line: -->

These are the servo changes that need to go with [bug 1417709](https://bugzilla.mozilla.org/show_bug.cgi?id=1417709).

r? emilio

---
<!-- 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
- [x] These changes do not require tests because without these changes Firefox doesn't build.

<!-- 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: 9ac05a5bee6c0a0af05e46b6e423ba206435d485

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1a1112340aaeccc26015009723d139afea934c1c
2017-11-22 13:32:38 -06:00
Maxim Novikov
bda10d4bd8 servo: Merge #19325 - Report an errror if a package has duplicates allowed but there are no duplicates (from m-novikov:tidy-ignore-without-duplicates); r=jdm
Resolves: #19306

<!-- 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
- [X] These changes fix #19306 (github issue number if applicable).

<!-- 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: a812af51d614bd96402da91d8f648ce51b301a1b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7b3783a62fa804997c3477b5bab3a6593014a67a
2017-11-22 11:49:40 -06:00
Josh Matthews
c49b68f4f1 servo: Merge #19336 - Instruct how to deal with outdated manifests (from servo:jdm-patch-6); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 218edeb883f8b46fde5b218be4e1e38a32b39b56

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8f60844c1199f9de93b7948f89fe9a9e9fbb05dc
2017-11-22 10:36:04 -06:00
Simon Sapin
b8801aff08 servo: Merge #19338 - Replace compiletest suite by doc-tests with compile_fail (from servo:compiletest); r=nox
`compiletest-rs` use internal rustc APIs and is broken in today’s Nightly. rustdoc however is maintained with rustc and so much less fragile.

Closes #9945.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5213e2a5a9ed8859a004e480f52c7e04f8d7f85e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4549a7b8d21ba3085be304d96d93b958f1a83655
2017-11-22 09:35:54 -06:00
Josh Matthews
3a6121544a servo: Merge #19335 - Unbreak docs build (from servo:jdm-patch-5); r=nox
Running rustdoc on gecko-media is broken right now.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3a08f87ec89456900da4cffda1356c02b6a9b8c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 217b86c8f1cd5e7766189e59ddeb2502832d602d
2017-11-22 06:48:10 -06:00
Michael Wilson
af624511f7 servo: Merge #19332 - moving :dir() param serialization FIXME (from wilsoniya:moving-fixme); r=emilio
<!-- Please describe your changes on the following line: -->
Per emilio's comment, https://github.com/servo/servo/pull/19195#discussion_r152205644, a `FIXME` regarding `:dir()` parameter serialization has been moved.

---
<!-- 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 do not require tests because they only modify comment lines

<!-- 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: 3ecd0174cc7817cdd2007850c29b8b069a845b46

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bd40b06fc49360f0a8ac206558734ec557c741cc
2017-11-22 04:04:39 -06:00
Hiroyuki Ikezoe
70cac6f846 servo: Merge #19331 - Resolve base style for pseudo (from hiikezoe:resolve-base-style-for-pseudo); r=emilio
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1418867

---
<!-- 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

Source-Repo: https://github.com/servo/servo
Source-Revision: a6ce817045b293b2898aca4d393c6b744955e730

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5409294d683e06e8de99f05d93c5e7b1047e9dec
2017-11-21 22:16:58 -06:00
Bastien Orivel
34af56766c servo: Merge #19328 - Remove cancellation map and ResourceId from the net* components (from Eijebong:remove_old_cancellation_code); r=KiChjang
Fixes #19327

Source-Repo: https://github.com/servo/servo
Source-Revision: 78fb3c206d30da8e7b16ea941268b733b21059ed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e76d89bd5fee0f74bc9592960a3c220bb6c37436
2017-11-21 21:01:35 -06:00
Josh Matthews
51867bfcaa servo: Merge #19326 - Use same build environment during mutation testing (from servo:jdm-patch-2); r=asajeffrey
ccache complains that the C++ compiler doesn't match the cached version.

Source-Repo: https://github.com/servo/servo
Source-Revision: 93c2a5da89b7413837e61ec92ed529debd4cf5f8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4c88ae2dabf7ec0298843d19e910aef69952723d
2017-11-21 19:43:49 -06:00
Dzmitry Malyshau
36090d6c06 servo: Merge #19314 - Update WR and the whole macOS crate stack (from servo:wr); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 37fa711657e6684e234e855be03470a0e17307de

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 32bc1b95ef736f61e86d6802d3acef52477adde3
2017-11-21 18:40:36 -06:00
Andrés Barreiro
f192eda281 servo: Merge #19324 - Get back to working dir after vcvarsall.bat (from drewler:fix_matchbat); r=jdm
<!-- Please describe your changes on the following line: -->

When using cmd.exe directly (instead of `x86_x64 Cross Tools Command Prompt for VS 2017`), vcvarsall.bat changes the working directory.
To prevent this, pushd and popd could be used.

---
<!-- 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

<!-- Either: -->
- [X] These changes do not require tests because they are part of the build process.

<!-- 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: a20efc6d7bbbfa7261eea9a0aa534420724a1dbc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 89a364953e569531902d36ce013b46ca19fca33b
2017-11-21 17:27:34 -06:00
Emilio Cobos Álvarez
3fe9aed3ba servo: Merge #19321 - style: Avoid unneessary malloc churn when evaluating @supports rules (from emilio:supports-dumb); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 06d834c1b984b4fae55da4ac82b5fbe002295dda

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 83c008e721f609dfd446a4e32f271e41c4bdf119
2017-11-21 15:27:59 -06:00
CYBAI
347f6537f1 servo: Merge #19322 - style: Move -x-lang outside of mako (from CYBAI:x-lang-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19320
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: d1e4fdb7faf5b32079e83fa03fe0386bb7c65db3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 16e203987bea90eb6c6bbaecd78db06f990c19d3
2017-11-21 13:46:49 -06:00
Josh Matthews
9245d92e5c servo: Merge #19318 - Make wdspec tests runnable (from jdm:webdriver); r=jgraham
This makes it possible to run tests in tests/wpt/web-platform-tests/webdriver/tests and focus on investigating why they fail.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix (partially) #15274.
- [x] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: dc35457b4a6dec744de1e8b61bf8fb9b3947a3ba

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 47dad9396967053f7849320a2445a66ea03db895
2017-11-21 12:25:55 -06:00
Alan Jeffrey
7c95954d4d servo: Merge #19244 - Submit test-perf CSV files to S3 (from asajeffrey:test-perf-submit-to-s3); r=jdm
<!-- Please describe your changes on the following line: -->

Submit CSV files to S3 rather than json files to Perfherder.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 755fa371cb96dd89f5b3e07c09043fc138347ef1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 616219bbb1a5a298de2244a7c92e54f91b2e7593
2017-11-21 11:07:55 -06:00
Anthony Ramine
288e2656fe servo: Merge #19225 - Shut down the media stack when shutting down the constellation (from servo:media); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: b13107a31864b24463d112aca4e94c93d597243c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 41778f20edd1d2c0e08a812e5b8444d186dd7336
2017-11-21 10:13:02 -06:00
Hugh Gallagher
6af6c776d0 servo: Merge #19319 - Removed unused import in net/http_cache.rs (from hgallagher1993:local_branch); r=jdm
<!-- Please describe your changes on the following line: -->
`use http_loader::is_redirect_status;` was unused

---
<!-- 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
- [ ] 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: 9e5fe11f5af0982d7e6766b41658fc5d53094678

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 05cb8d4ac0090104c1b17e43e37c4adb85167292
2017-11-21 08:51:52 -06:00
Emilio Cobos Álvarez
9f3b446bd0 servo: Merge #19317 - style: Move property allowance tests to PropertyId::parse_into (from emilio:property-allowed-in); r=SimonSapin
It's not only more consistent (since we have a proper ParserContext there), but
also fixes a bunch of bugs where Gecko accidentally exposes and allows setting
internal state because of conversions from nsCSSPropertyID to PropertyId.

This adds the extra complexity of caring about aliases for longer, but that's
probably not a big deal in practice, since we have PropertyDeclarationId.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3864f320e8c6ff707d5b11fe46d67c0677cd112a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 41922d46e6c30b5ec9f5adebceac0978ab35b6e0
2017-11-21 07:47:52 -06:00
Simon Sapin
6c889a3b43 servo: Merge #19316 - Fix Stylo tests to pass on both Stable and Nightly Rust (from servo:stylo-size-of); r=emilio
This is on top of https://github.com/servo/servo/pull/19285.

Rust Nightly has new enum memory layout optimizations: https://github.com/rust-lang/rust/pull/45225

Source-Repo: https://github.com/servo/servo
Source-Revision: 17e97b9320fdb7cdb33bbc5f4d0fde0653bbf2e4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3255b68a8069a815effae1b6b6ee4e97dedaddd3
2017-11-21 05:41:12 -06:00
Emilio Cobos Álvarez
f6fcb64127 servo: Merge #19315 - style: Enable chrome-only CSS features in user stylesheets (from emilio:chrome-rules-user-sheets); r=heycam
MozReview-Commit-ID: FJ4vTiOrotH
Bug: 1418963
Reviewed-by: heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 5905f8d3eab42ce759c9802699ee5bd50498dd59

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ea06c2c933ef0ddcc317e0acc66f100bffa7fccd
2017-11-21 04:27:25 -06:00
Michael Wilson
4e69e9cedb servo: Merge #19195 - style: :dir() pseudo class now represented by enum (from wilsoniya:issue-16840); r=emilio
`:dir()` pseudo class param now represented as enum variants.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16840
- [X] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 006202732f0bd8d2239bdd51898380bdbe0f0f1a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e9778d171eef1db2ebbf52b99d3255d50b2a60ec
2017-11-21 02:56:49 -06:00
Ting-Yu Lin
c75cfab816 servo: Merge #19312 - style: Use ComputedUrl instead of SpecifiedUrl in conversion.rs (from aethanyc:use-computedurl); r=heycam
In stylo, ComputedUrl and SpecifiedUrl happen to be the same. However, using
ComputedUrl can make code clearer that conversion.rs is for converting
computed values between gecko and servo types.

Source-Repo: https://github.com/servo/servo
Source-Revision: b74e71fdd1b20b66e59f4ccefb0706f89c789d0a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a38a7082be57b9435da370e6d84bd7499c35ad5c
2017-11-21 01:39:44 -06:00
Cameron McCormack
6d13847e3c servo: Merge #19313 - style: Update layer filling function call in Gecko glue (from heycam:layer-filling); r=CJKu
This is the (small) Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1418899, reviewed there by CJKu.

Source-Repo: https://github.com/servo/servo
Source-Revision: bdb2cacad9036f1ff6ef452fffe4a50339ec721d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c74f55a80eae93e12c66d7681d755480874c887a
2017-11-21 00:19:00 -06:00
Anthony Ramine
b957047e49 servo: Merge #19310 - Update clap to 2.27.1 (from servo:bumps); r=KiChjang
This brings bitflags 0.9.1 to clap, which removes bitflags 0.7.0.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4d5ff42751ed25ebdc3f298d89acb7eaf58572e5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 36bb86929c90eadca1f49981d472a96bbf2d9c1a
2017-11-20 22:04:35 -06:00
Manish Goregaokar
8dd74554ea servo: Merge #19274 - Fetch cancellation (from Manishearth:xhr-cancel); r=jdm
This PR implements cancellation for fetch, and uses it for XHR. This means that fetch clients can now send a message to the fetch task asking for the network request to be aborted.

Previously, clients like XHR had abort functionality but would implement it by simply ignoring future messages from the network task; and would not actually cancel the network fetch.

Source-Repo: https://github.com/servo/servo
Source-Revision: 00b3612fe9045f1cb6ba6c89ba7801642a6fa2c9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4ab32f3b8477c9f2157490eeeb76683e5a5d98f7
2017-11-20 20:48:17 -06:00
Jon Leighton
578d926271 servo: Merge #19272 - Further changes in relation to #19171 (from jonleighton:issue-19171-2); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 979793593269ed1197e15adeb0b029662ff9d460

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 732ddd589692b2b6e50f5aa81035b8fb704321ac
2017-11-20 19:31:52 -06:00
Gregory Terzian
c949aef52f servo: Merge #18676 - Continue http cache work (from gterzian:continue_http_cache_work); r=jdm
<!-- Please describe your changes on the following line: -->

Work in progress, and not quite worth a review yet. (Continuation of https://github.com/servo/servo/pull/4117)

TODO

- [ ] cache metadata (find some subset of`net_traits::Metadata` that can be shared across threads, it seems the problem is mainly stuff inside `hyper::header` in the `headers` field)

- [ ] determine which other fields of a `Response` need to be cached, so a full and valid one can be returned upon a cache hit.

- [ ] determine how to best share the cache across fetch threads (inside HttpState like I tried now?)

- [ ] Spend more time reading the spec and make sure the cache follows it where it matters.

- [ ] Make the current wpt tests pass.

- [ ] More...

---
<!-- 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 #12972  (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: e2bc0f017cfd24734777f64d8607b23dbe9552d7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 059fa41ef6c333ab9cc0adece4f431fec59a84c2
2017-11-20 18:22:06 -06:00
Alan Jeffrey
b305ce9dec servo: Merge #19305 - Include OS and architecture in test-perf data (from asajeffrey:test-perf-os-and-arch-in-data); r=jdm
<!-- Please describe your changes on the following line: -->

Initially, we're just running test-perf on linux-nightly, but at some point we should run on other architectures.

---
<!-- 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 do not require tests because they're test infrastructure

<!-- 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: 721723291cfc4bf6ee2facd2b919446038fa0c94

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7cd48d859821bb419920e68e6bc38d754bf4721e
2017-11-20 17:24:45 -06:00
Emilio Cobos Álvarez
0a8a704eab servo: Merge #19297 - style: Expose some properties to chrome code, and hide some accidentally-exposed ones (from emilio:hidden-props); r=upsuper
I'm adding a test for internal properties after this in Gecko.

Source-Repo: https://github.com/servo/servo
Source-Revision: e67bb6ccb5a4fa64f5aaea76cfe76943e873c7c5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5a281b0b961cb73d8837b11393fd63fc33e3dae7
2017-11-20 15:58:46 -06:00
Alan Jeffrey
6269590926 servo: Merge #19304 - Renamed mach test-perf -submit to --submit (from asajeffrey:test-perf-dash-dash-submit); r=jdm
<!-- Please describe your changes on the following line: -->

The `-submit` option should be `--submit` (2 dashes, not one).

---
<!-- 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 do not require tests because they are test infrastructure

<!-- 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: 2469808b6e09548e7ac7213474afd29aede3c2bc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c588f9117011e2a8f8295656618e9cc840475c46
2017-11-20 14:15:23 -06:00
Anthony Ramine
42047b8110 servo: Merge #19301 - Update gecko-media (from servo:bumps); r=jdm
The last remaining use of bitflags 0.7 is now in clap.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4d27ce0a6c86a82e39d000d19bc0de92a3a53c6f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b47b91d512715a182e78498f3648f759384786e2
2017-11-20 12:54:01 -06:00
Alan Jeffrey
4d69e5b665 servo: Merge #19245 - Update tp5n manifest for test-perf (from asajeffrey:test-perf-update-manifest); r=jdm
<!-- Please describe your changes on the following line: -->

Updated test-perf tp5n manifest.

This PR provides a `test.manifest` file, that contains a subset of the tp5n tests that don't timeout (at least on my machine).

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 98c9e5f1ac8c4391d961a52c5ce86008f5f7657f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4eb2dbefa0b5c5ce0cdc9d764f16cf385e647661
2017-11-20 11:09:38 -06:00
Emilio Cobos Álvarez
be362f7fee servo: Merge #19303 - style: Account for fallback content in GetFlattenedTreeParent (from emilio:flattened-tree-fallback); r=heycam
Otherwise we may inappropriately style it or what not. This asserts with the
patches of bug 1414999 plus the cleanup of bug 1418456, since we no longer do
StyleNewChildren (which walks over the flattened tree children).

Too bad that GetXBLBinding is a virtual call in Gecko, probably can do just
MAY_BE_IN_BINDING_MGR...

Bug: 1418560
Reviewed-by: heycam
MozReview-Commit-ID: CNU0YdKeaR0
Source-Repo: https://github.com/servo/servo
Source-Revision: bc937f54d10265722200acb6458a6983026bd76b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 51b5e960f0a4a8b5709c8c5802f57d36158dcfc5
2017-11-20 08:57:50 -06:00
CYBAI
210e8376a8 servo: Merge #19298 - Implement normal for FontSettings (from CYBAI:implement-normal-for-fontsettings); r=emilio
As discussed with emilio in #19293 , this PR will move the `normal` function into `FontSettings` implementation.
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes will update the implementation of `normal` function of `FontSettings`.
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: bea01960588d4130e5519f42817f2eccf372bba6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : be8fde848d957a4fedce44b6986270136aecc172
2017-11-20 07:58:00 -06:00
Emilio Cobos Álvarez
9e30ad94e8 servo: Merge #19296 - style: Get rid of unstyled children only traversals (from emilio:bye-unstyled-only); r=heycam
They're useless now, provided we remove the hack to not traverse XBL-bound
elements on initial styling.

Bug: 1418456
Reviewed-by: heycam
MozReview-Commit-ID: AvBVdyF1wb6
Source-Repo: https://github.com/servo/servo
Source-Revision: e4cfff8364cebd0ae2236cc8c39ba93072b35148

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b9ae9d359687ae32609a11d9ad5e8457c548e941
2017-11-20 04:18:30 -06:00
Emilio Cobos Álvarez
2b7e843654 servo: Merge #19294 - style: Collect more debugging info when collecting rules of detached pseudos (from emilio:debug-detached-pseudo); r=heycam
Called Option::unwrap() on a None value is not a helpful crash message.

This will hopefully help figure out what is causing bug 1418856.

Source-Repo: https://github.com/servo/servo
Source-Revision: af6c2f93b9ff91f4c3e5758d9b27173e49928bed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 79fcf95fafaa207f4ce7bdfa08b256d388e1aa47
2017-11-20 02:29:59 -06:00
CYBAI
42905c6aec servo: Merge #19293 - style: Move font-feature-settings outside of mako (from CYBAI:font-feature-settings-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19290
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 9edb453447ce8a30d22c07acf82f8e68326f0fa8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 76b75f9b35da38f25fb103c1b18025a4e212b024
2017-11-20 00:48:16 -06:00
CYBAI
d7d3c971af servo: Merge #19282 - Use macro to impl From for font variant (from CYBAI:use-macro-for-font-variant); r=canaltinova
As I discussed in #19277, I'd like to change the implementation for `From` of font variant to use macro, `impl_gecko_keyword_conversions`.
r? @emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes update `From` impl for font variant to use macro `impl_gecko_keyword_conversions`.
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 63bd783c55ab0c0f9abb1a8fa07f20932c77b764

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3b84f9e94c75f791a42835a47e0beb989f628bcf
2017-11-19 21:43:25 -06:00
Cameron McCormack
3574fc3aac servo: Merge #19292 - style: Add comment about -moz-control-character-visibility initial value (from heycam:moz-cc-comment); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: cea3fd62297e5e61fb6676ff53b2988d378d3c86

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dbc24b2887fb0c580ab47b032d26aabab6b3b5d0
2017-11-19 20:18:57 -06:00
Maxim Novikov
43f3a3faf6 servo: Merge #19288 - Implement EventTarget constructor (from m-novikov:impl-eventtarget-constructor); r=KiChjang
Resolves #19283
Do "Wrap" functions only created for elements that aren't marked Abstract in .webidl file?
How can I see code that was generated from webidls?

<!-- 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
- [X] These changes fix #19283 (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 webplatform 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: db5fb74a4d3ff4c354edac8e116ed4f5665d61a5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4335c80ba64d6f3022831b7cc8f302dcca0d5186
2017-11-19 18:18:48 -06:00
Nazım Can Altınova
7d19ba10ac servo: Merge #19279 - style: Move -moz-force-broken-image-icon out of mako (from canaltinova:force-broken-image); r=emilio
<!-- 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
- [X] These changes fix part of #19015.

<!-- Either: -->
- [X] These changes do not require tests because these are just refactoring.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6361aed46d5246037d636669dc64664971e94279

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 11a5347c800976c3699403bc9fee00e78f1c56e4
2017-11-19 14:07:35 -06:00
Christian Gati
7cbed49156 servo: Merge #19182 - Treat application/xml like text/xml in ParserContext::process_response (from cgati:parse-xml); r=KiChjang
<!-- Please describe your changes on the following line: -->

* components/script/dom/servoparser/mod.rs updated to handle application/xml as text/xml, along with hoisting application/xhtml+xml from the unknown mime types match arm.
* tests updated via mach

---
<!-- 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 #15850  (github issue number if applicable).

<!-- Either: -->
- [X] These changes modify results in test files via the automated: `./mach test-wpt tests/wpt/web-platform-tests/dom/nodes --log-raw /tmp/servo && ./mach update-wpt /tmp/servo`
- [ ] 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: 60dca9cc4418b1cd0c21bee89d7b0d0bf657a7ff

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bf51aededee6d51b599717c0b31c29e49c17dce6
2017-11-18 15:09:15 -06:00
CYBAI
41815e53e1 servo: Merge #19277 - style: Move font-variant-numeric outside of mako (from CYBAI:font-variant-numeric-out-of-mako); r=emilio
This is a sub-PR of #19015
r? @emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19276
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 011e52f6ed06f260c4756a4c8fd04d4cc7912839

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 856d379ee399e0e33a43b695678cdc0ec668f2f4
2017-11-18 13:22:10 -06:00
Josh Matthews
20f87b6f9b servo: Merge #19252 - Add pulseaudio requirement to readme (from servo:jdm-patch-2); r=SimonSapin
Update known requirements for building.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19238.

Source-Repo: https://github.com/servo/servo
Source-Revision: b2b51d333e99c1d2a7322ae53357f2b095ba2d40

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7a8a1c0a960f0d7fd1309a29c90fde9cea8a17f8
2017-11-18 02:55:28 -06:00
Emilio Cobos Álvarez
7b603fa78c servo: Merge #19267 - style: Replace "internal" properties with "enabled_in" (from emilio:ua-props); r=upsuper
This allows enabling properties in ua sheets and chrome differently.

The setup is:

  * enabled_in needs to be one of the four values:
    ["", "ua", "chrome", "content"]

  * "chrome" implies "ua", and implies that they're explicitly enabled.

  * "" implies the property will never be parsed.

  * "content" implies the property is accessible unconditionally, modulo a pref.

Experimental still keeps trumping over those when the pref is enabled.

This PR replaces uses of internal="" by enabled_in="ua" or enabled_in="".

This may seem that it changes behavior, but since the properties where I added
enabled_in="" already unconditionally error from parse it's not.

Next step is annotating chrome-only properties.

Source-Repo: https://github.com/servo/servo
Source-Revision: a757fb14cf6938000824fc6cb756acd0176adb9a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a146c96ffab697436ab4def69afd92f2b4a7361f
2017-11-18 01:48:12 -06:00
Cameron McCormack
76d6a24dee servo: Merge #19263 - selectors: Allow white space in the brackets of an attribute selector (from heycam:attr-ws); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 7b886b4479763018ecad62aa6db96049732ca9ed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f8fea7deba0fe688a02437f5c3ddef7236f8f9de
2017-11-18 00:47:57 -06:00
olmanz
3fb183c035 servo: Merge #19254 - Move custom elements stuff to their own dom::bindings submodule (from olmanz:issue19179); r=jdm
<!-- Please describe your changes on the following line: -->
r? jdm
Moved the following functions from components/script/dom/bindings/interface.rs to a new file components/script/dom/bindings/htmlconstructor.rs:

- html_constructor()
- get_constructor_object_from_local_name()
- pop_current_element_queue()
- push_new_element_queue()

---
<!-- 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 #19179.

<!-- Either: -->
- [X] These changes do not require 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 07fd6155aae8579f1a30ea99af3549c413240f24

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 28bc09e28368565f2f4050676e233ff133fb9407
2017-11-17 16:06:38 -06:00
CYBAI
f6119599d6 servo: Merge #19253 - style: Move font-variant-ligatures outside of mako (from CYBAI:font-variant-ligatures-out-of-mako); r=emilio
This is a sub-PR of #19015
r? @emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19246
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: b4c274d190b039443101ba34a3dd84112edfe314

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5e90d778801ac494f6b78445e5c243ffc8bed7eb
2017-11-17 15:03:14 -06:00
Emilio Cobos Álvarez
c5a664a70b servo: Merge #19264 - style: Remove unused argument in element_needs_traversal (from emilio:unused-arg); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: bd6caef234f9a1c29cc01c907255a4f307fbc827

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9cc9fff568acbbfddb185ff5aa5c2f59320f65f8
2017-11-17 10:03:05 -06:00
Cameron McCormack
cf5781fdb8 servo: Merge #19262 - style: Look up Gecko visited style pref directly (from heycam:visited-links-enable); r=TYLin
Servo side part of https://bugzilla.mozilla.org/show_bug.cgi?id=1418217 reviewed there by TYLin.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7b0006ece6aff4fdac4dd88b49eb6468329dae11

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c7743afcae83adee48ddb7939b51110c14160d74
2017-11-17 03:12:48 -06:00
Glenn Watson
50ab9887d8 servo: Merge #19260 - Update WR (opaque image optimizations, property binding optimizations) (from glennw:update-wr-bindings-opaque); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: e61a4d04e9982df94c402916da1cddfd6d0fdfa7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6d6759456f21c2d066de4c69a13ee21eb346ef96
2017-11-16 18:38:48 -06:00
Alan Jeffrey
cb6a344ac6 servo: Merge #19257 - Include a YYYYMMDD date field in the raw test-perf CSV to make Google Data Studio happy (from asajeffrey:test-perf-include-date-in-csv); r=jdm
<!-- Please describe your changes on the following line: -->

AFAICT Google Data Studio needs a YYYMMDD date string in the raw data to be able to provide time-indexed graphs. `TODATE` is not converting unix timestamps to YYYYMMDD.

https://www.en.advertisercommunity.com/t5/Data-Studio/Can-Data-Studio-Date-Dimension-use-epoch-in-seconds-from/td-p/839649

This PR is a workaround, and includes a date field in the raw CSV.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: b5a205d92e3c78c71598795317d601f39152f314

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0e9d105138b29452b0e8ad92279ce9813f0d69b4
2017-11-16 16:46:26 -06:00
Glenn Watson
89cd3c967e servo: Merge #19236 - Update WR (hit test fix, render target pool optimizations, picture tree) (from glennw:update-wr-pic); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: fa61bfb83a7d7d9160e0384bb651e9b019c206ce

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9f19fbb791a95b70f318041c69a61cd2f7db7a75
2017-11-16 15:11:10 -06:00
Emilio Cobos Álvarez
7a02ba997f servo: Merge #19235 - style: Add infra to differentiate chrome and UA sheets (from emilio:chrome-props); r=xidorn
This keeps the behavior of stuff being accessible from chrome stylesheets being
the same of content sheets except on the UA origin. That will be changed in a
followup.

Source-Repo: https://github.com/servo/servo
Source-Revision: e07245cabacdb0cfb597bfc3864abea6d567a1c6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3f653a86a96c4080b37315533f20ad00a2b3c890
2017-11-16 14:01:39 -06:00
Sandeep Hegde
775e5cbd11 servo: Merge #18984 - Initial steps of Mutation testing (from dsandeephegde:master); r=jdm
<!-- Please describe your changes on the following line: -->
- Added one strategy of mutation which is replacing occurrences && to ||.
- Added test mapping framework for running mutation tests corresponding to a mutant.
- Added one test_mapping.json to map source file in a folder to WPT test.
- Added README mentioning about Mutation testing.
- Added CI script to invoke mutation test.
---
<!-- 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 #18529 (github issue number if applicable).
- [x] These changes do not require tests because it is a python script to run mutation test and does not change any 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 50f11e3584c9c0255098bdd438b11a84c093b197

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cee468fb7b39d9421ee3d0862ab7710c80545b89
2017-11-16 11:51:01 -06:00
tigercosmos
ef2372e61a servo: Merge #19249 - fix annotation URL (from tigercosmos:info); r=jdm
The annotation URL for `scroll_node` is wrong. (The origin URL is where it is called, not its implement.)
The implement is in https://drafts.csswg.org/cssom-view/#element-scrolling-members

---
<!-- 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 do not require 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 5c7e79e91c12d19830fdb4c6c17be2a551f88aa2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 02fb845f210911fd4536caf324e36715978ce88c
2017-11-16 07:49:20 -06:00
Anthony Ramine
55a7b55790 servo: Merge #19247 - Bump servo-websocket to 0.20 (from servo:bumps); r=jdm
This removes one use of an obsolete bitflags version.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2755c1a89a4576c6a737f6f1ac2e5d68f99213db

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f2a76bb62d637d079788942fa0105c72b2185bcc
2017-11-16 06:47:34 -06:00
Xidorn Quan
f8d3415d25 servo: Merge #19237 - Use InvalidRule for nested rule list (from upsuper:error-nested-rule); r=emilio
This fixes [bug 1417548](https://bugzilla.mozilla.org/show_bug.cgi?id=1417548).

Apparently it makes no sense to have different error between top level rules and nested rules.

Source-Repo: https://github.com/servo/servo
Source-Revision: bf29f64bf699154c8cbb22a13495c43a49ed5f96

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4c53e18163852c8eaaa9ad88f21e6d7d46222900
2017-11-16 03:03:48 -06:00
Alan Jeffrey
c81f3f13f6 servo: Merge #19233 - Save test-perf data in csv (from asajeffrey:test-perf-csv); r=jdm
<!-- Please describe your changes on the following line: -->

Most data analytics and visualization tools (e.g. Google Data Studio and Amazon Quick Sight) seem to want .csv input, not .json. This PR makes .csv the default data format.

---
<!-- 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 do not require tests because it's test infrastructure

<!-- 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: ee0294380be94dcea916039485a8fd933538373a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ab336e8249566d9bd4c2fd542be0d817f401abf7
2017-11-16 00:55:30 -06:00
Josh Matthews
0f3c99baa8 servo: Merge #19232 - Update web-platform-tests (from jdm:updatewpt8); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 62aa91e0dcb431d2115d3a9bc41354742e7b992b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 97345fb1e68a33cbc04508b6c9ba70f820716fca
2017-11-15 23:53:19 -06:00
Emilio Cobos Álvarez
8d75c1de44 servo: Merge #19230 - style: Move lru_cache to its own crate (from emilio:lru-cache); r=nox
One less crate pointlessly in components/.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6938b4f3ebcb7bea6c44081796b254a31e0df5cb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 64dac15fa38023f09a61e2c6d9289067b6fcb081
2017-11-15 22:40:06 -06:00
Anthony Ramine
e5e1a60a15 servo: Merge #19229 - Bump image and offscreen_gl_context (from servo:bumps); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 9ec17ca3470646d90eb3b66362e2a78d9ffec3b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3c16a773114764866cf894066cf796382776656d
2017-11-15 20:58:46 -06:00
CYBAI
01d79d76c7 servo: Merge #19220 - style: Move font-variant-east-asian outside of mako (from CYBAI:font-variant-east-asian-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19216
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c332f5dd301dd8e505d14ab2471c068a77f3c4a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 93dc6aae08f646e281a5b5c7fc150241fffa9830
2017-11-15 20:00:48 -06:00
Alan Jeffrey
d0c08baa87 servo: Merge #19206 - Add total time to test_differ in etc/ci/performance (from asajeffrey:test-perf-add-differ-summary); r=aneeshusa
<!-- Please describe your changes on the following line: -->

Add the total time to test_differ in etc/ci/performance.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: e6b05fa204758a26fa15cd73aa9b23cab0e9d944

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 921c8379fc6ec0e5bf030a7aa18e77d7e2e29fbd
2017-11-15 18:34:12 -06:00
Manuel Hässig
0d2bd72f17 servo: Merge #18710 - Replace rustc_serialize with serde_json in style_tests (from mhaessig:remove-rustc-serialize); r=jdm
#12410 Stop using rustc_serialize

Replaced rustc_serialize with serde_json in
- [ ] ~~components/config/Cargo.toml~~
- [ ] ~~components/config/lib.rs~~
- [ ] ~~components/config/prefs.rs~~
- [ ] ~~components/script_traits/Cargo.toml~~
- [ ] ~~components/script_traits/lib.rs~~
- [ ] ~~components/script_traits/webdriver_msg.rs~~
- [ ] ~~components/webdriver_server/Cargo.toml~~
- [ ] ~~components/webdriver_server/lib.rs~~
- [X] tests/unit/style/Cargo.toml
- [X] test/unit/style/lib.rs
- [X] test/unit/style/properties/scaffolding.rs

PR checks:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [X] These changes fix (partially) #12410.
- [X] These changes do not require tests because functionality was not changed or a test itself was edited

Source-Repo: https://github.com/servo/servo
Source-Revision: 2977a4e26e0691dad8b640b47edbf77968d97d5a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c4d6654736dd633c196658cedc3440097d72072c
2017-11-15 17:09:21 -06:00
Keith Yeung
26b5914e89 servo: Merge #18882 - Use the correct origin in fetch (from KiChjang:fix-origin); r=jdm
Fixes #18147.

Source-Repo: https://github.com/servo/servo
Source-Revision: c9884604e974937c45ca3dfc5afb23079536fd41

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5f90b4e0a201a1921488b1d7e1ce1736d9dc464e
2017-11-15 16:08:49 -06:00
Alan Jeffrey
1cea75a469 servo: Merge #19205 - Add 'Error loading page' case for validating correctness of test-perf data (from asajeffrey:test-perf-add-error-message); r=edunham
<!-- Please describe your changes on the following line: -->

Add case for `Error loading page` title to test-perf runner.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 8724bc0c73dcb96237298cf3dc9be944108bcd35

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6f12bc29c056706db6c86823acf5be002b17cc48
2017-11-15 12:34:13 -06:00
Simon Sapin
473576925b servo: Merge #19227 - Work around "this expression will panic at run-time" warnings (from servo:array-warn); r=emilio
CC https://github.com/rust-lang/rust/issues/45850

Source-Repo: https://github.com/servo/servo
Source-Revision: 9863d514512aabbcfaeabba7e530b87f61a8d489

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : feaf1c236a902fa5286cdb524243f80cf3b5051e
2017-11-15 11:00:29 -06:00
Emilio Cobos Álvarez
7e44dfc9cc servo: Merge #19226 - style: Sprinkle some inline in trivial methods (from emilio:inline-qs); r=nox
These methods are instantiated by the Gecko library, and used during
querySelector, which means that they end up being super-hot in micro-benchmarks.

MozReview-Commit-ID: K1XJb0QyX5a
Source-Repo: https://github.com/servo/servo
Source-Revision: 85fa6409bb699647b4f5e22952538365e87418d7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 156224040ad2191714b888e91c9b555e7efc9bb6
2017-11-15 09:22:14 -06:00
Emilio Cobos Álvarez
ef781bb493 servo: Merge #19199 - style: Stop allowing unused_unsafe (from emilio:no-unused-unsafe); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 40adc3fd88746d09966c5f1c43a6ff3b960c2e6d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d9206a58535460c1ebb7c0769e0ec253407c48b8
2017-11-15 08:22:00 -06:00
Emilio Cobos Álvarez
b64c46808f servo: Merge #19164 - style: More traversal cleanup (from emilio:more-traversal-cleanup); r=nox
This is cleanup that allows me to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1415013 in a more straight-forward way.

Source-Repo: https://github.com/servo/servo
Source-Revision: d117694eccc8d8f89d14213e88a9931d3adee572

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c775f7727561cf39ddf0f84f454d6b24d90f975
2017-11-15 06:51:27 -06:00
Xidorn Quan
9ccad41956 servo: Merge #19222 - Serialize media rule and supports rule like Gecko (from upsuper:serialize-group-rule); r=emilio
This should fix [bug 1417207](https://bugzilla.mozilla.org/show_bug.cgi?id=1417207).

Source-Repo: https://github.com/servo/servo
Source-Revision: b2c19b15447b126cbcb4726fccb416675532dd11

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9f8e1b678e8944ba254e774e98b472b65a14018b
2017-11-15 05:40:24 -06:00
Jon Leighton
e987d6cbd2 servo: Merge #19202 - Fire 'select' event in SetSelection{Start,End} (from jonleighton:issue-19171); r=KiChjang
See #19171.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2efbf2230a61a2fda1ecc4cd12618177d4ca50cd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dfd0ab9c996dac7757b1dbdaf140cbc5d95c9d90
2017-11-15 04:08:24 -06:00
Keith Yeung
d7e9e3c9c2 servo: Merge #19211 - Move text-decoration-line out of mako (from KiChjang:text-decoration-line); r=emilio
Part of #19015.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6f1d9a198fa3f060f3eae28f13ac248b0b1186ce

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 67e4b73b154a8ae116473b27f8c6b5f4650dc509
2017-11-14 15:34:10 -06:00
Anthony Ramine
5532bcffa4 servo: Merge #19152 - Include gecko-media in the dependency graph (from nox:media); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: d7b4471c8080c0916277b967994bffcade759c3a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a02befdfd15dd98d2eb177cb1c864d4569137c59
2017-11-14 11:51:34 -06:00
ddh
50f290944e servo: Merge #19218 - added navigation start for interactive metrics (from avadacatavra:nav-start); r=jdm
<!-- Please describe your changes on the following line: -->
 follow up from  #18670, fixing #19099

---
<!-- 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 #19099 (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: 7d13e5b83c346d06dc68f22857a17f30ea797402

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8dc9105cd4c672f530cf00a5f0902b59b964d8dd
2017-11-14 09:53:30 -06:00
CYBAI
0438db5068 servo: Merge #19214 - style: Move font-variation-settings outside of mako (from CYBAI:font-variation-settings-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19208
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: c18417db5ef967a9766411f07517691621462599

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8799a582d060e4ab57adf61461f01ad0df15e50e
2017-11-14 08:29:58 -06:00
Emilio Cobos Álvarez
2bf6571d80 servo: Merge #19217 - style: Remove mozmm CSS unit (from emilio:bye-mozmm); r=heycam
Bug: 1416564
Reviewed-by: heycam
MozReview-Commit-ID: AU4CUq09tw4
Source-Repo: https://github.com/servo/servo
Source-Revision: d287ec8d3ee5af9e64979ec77894f218cae1b46d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 13b3c872225a62eee9dd271925a9a61aa909c594
2017-11-14 07:27:28 -06:00
Simon Sapin
397625f1ca servo: Merge #19213 - Stop using "alternate" rustc builds (from servo:nightly); r=nox
With https://github.com/rust-lang/rust/pull/45810, normal Nightly now has LLVM assertions disabled.

This allows us to entirely stop relying on private/unstable Rust CI artifacts being and remaining available: https://internals.rust-lang.org/t/public-stable-rust-services/6072

Source-Repo: https://github.com/servo/servo
Source-Revision: 856dc3c90ab920880e0bdca171720f37e40dd597

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8609f1be675085e5c25acb87458e0cd7d3b3f23f
2017-11-14 02:18:20 -06:00
Alan Jeffrey
afa2f24b68 servo: Merge #19207 - Add --base option to test-perf (from asajeffrey:test-perf-add-base-url-option); r=edunham
<!-- Please describe your changes on the following line: -->

Add a `--base <URL>` option to test-perf, which is handy for two reasons: a) it reduces randomness in tests by allowing tests to be file URLs, and b) it doesn't require running the test suite as root (the tp5n manifest hardwires tests served from port 80 on localhost).

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 5f33d35cde307676fbf85fe7c7504e0d40d3420a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2f074a1be613d00832459a2ccde40420ac435e4f
2017-11-13 19:51:32 -06:00
Alan Jeffrey
acf7f69a1b servo: Merge #19204 - Update URL for tp5n archive (from asajeffrey:test-perf-update-tp5n-url); r=jdm
<!-- Please describe your changes on the following line: -->

Update the URL for the tp5n test pages, since people.mozilla has gone away.

---
<!-- 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 do not require tests because this is test infrastructure

<!-- 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: 00856660857c34605d9acfaf0825d0bd0f0cb9d5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 92a52450c894007e897d3fd99e9c6d8d471b9ce7
2017-11-13 18:11:18 -06:00
Shing Lyu
b13dfc0bb4 servo: Merge #18183 - Enable screen.width/height/availWidth/availHeight (from shinglyu:availheight); r=asajeffrey
<!-- Please describe your changes on the following line: -->
Support screen.width/height/availWidth/availHeight using information from glutin. r?@paulrouget

Since glutin don't have `availWidth` and `availHeight` information, I let them fallback to `width` and `height`. If that's not acceptable in terms of webcompat, I can remove that part.

There are some test failures on wpt css about mutating screen.width/height should throw exception, but I can't reproduce that behavior on other major browser, so I keep them disabled. Also there are some media query issues, but I believe that's due to some test harness problem on my test machine.

---
<!-- 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 #18062  (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes in wpt cssom-view
- [ ] 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: 504ad4de2a426c2bc70161a9190fddaa8728ead2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 09bb1362ce078c58576f767ec94cedcf660c7277
2017-11-13 17:06:25 -06:00
Glenn Watson
ac65a91ef3 servo: Merge #19193 - Update WR (fixes for scrollbars, premul alpha, filters, create_api) (from glennw:update-wr-fixes); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 657b2339a1e68f3a9c4525f35db023d3f149ffac

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bce4a3866230076df6260c094b32f642e65552cb
2017-11-13 12:50:19 -06:00
Imanol Fernandez
403cc2c37a servo: Merge #19192 - Set the correct Angle GLSL output when using WebGL 2 (from MortimerGoro:webgl2_glsl); r=jdm
Set the correct Angle GLSL output  when using WebGL 2

<!-- 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: -->
- [x] 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: f1cf41da00b7973194104aa147f73fe55b0ad3db

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 15a4497fced03f469bbe747f1d67f992a2ebdd6a
2017-11-13 11:50:44 -06:00
CYBAI
12f9ce4b34 servo: Merge #19188 - style: Move font-language-override outside of mako (from CYBAI:font-language-override-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19187
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: c261ff38c76c584fc93a4cded2ffe0d724d318fd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 91867fc52ab5ac9f3523693e62b3fa0bd01b2823
2017-11-13 10:20:22 -06:00
Anthony Ramine
99648703bd servo: Merge #19201 - Some prerequisites to include gecko-media in Servo's dependency tree (from servo:bumps); r=jdm
These are commits that I keep rebasing every time #19152 bitrots.

It also includes the `cmake` bump that supports jobservers for real.

Source-Repo: https://github.com/servo/servo
Source-Revision: b74a89a14d51ac60fb7fb24881912c3e1829f34e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a3943b0162fd4e10350ed8bb8c94f60f36e99d44
2017-11-13 09:06:36 -06:00
Emilio Cobos Álvarez
7938523772 servo: Merge #19198 - style: add accidentally removed deny(warnings) (from emilio:whoops); r=whoops
It was accidentally commented out in #19197 because I was developing on a Gecko
tree without #19162.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2d78751b80f5757e6d3ab739bdf5b2cff354affc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 186f2e5e33df66a61aec0dbaede77a9a1c7ae427
2017-11-13 07:35:55 -06:00
Emilio Cobos Álvarez
7a8974f187 servo: Merge #19197 - stylo: Integrate Servo SourceSizeList in ResponsiveImageSelector (from emilio:source-size-list-integration); r=Manishearth
Bug: 1408308
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 5d3a90ecce766f3dfba35e08101a74a5d73dba79

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c42fd34a69c86c1c778bd54dfdccf1611146e8e7
2017-11-12 21:01:34 -06:00
Emilio Cobos Álvarez
84a65079d1 servo: Merge #19194 - stylo: Bring back support for calc() in media-queries (from emilio:media-query-calc); r=Manishearth
Bug: 1396057
Reviewed-by: Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 4970b5d1544fe8f33287b01540e972a639baa689

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1c07a2da1e3037da46501bb6d96e02383ec7b982
2017-11-12 20:06:12 -06:00
tigercosmos
eb910190cb servo: Merge #19178 - enhance android build debug info in build_commands.py (from tigercosmos:python12); r=emilio
<!-- Please describe your changes on the following line: -->
I have some experience with building android.
Sometimes I forget  to set `ANDROID_NDK` or `ANDROID_SDK` when I create a new clean environment, and I would know only when build error message come out.(After very long time)
I think we could enhance the debug engineering at the beginning.

Also fix the previous work  #19109
I forgot to consider if `open()` crash(file not exist).

---
<!-- 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 #19095 (github issue number if applicable).

<!-- 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: ccc739d635b8071e0375fbf6c9fb2eb2366882eb

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c2c8803a9e7c9f792e7e2cb5b0a1d95c2010cfa
2017-11-12 18:37:10 -06:00
tigercosmos
f3abc6bb9f servo: Merge #19127 - scroll, SetScrollTop, SetScrollLeft in element.rs (from tigercosmos:overflow10); r=emilio
<!-- Please describe your changes on the following line: -->
Currently dom-element-scroll have not finished yet. (Step 10)
This PR finish the step 10 of `scroll`, `SetScrollTop`, `SetScrollLeft`

[Step 10 description](https://drafts.csswg.org/cssom-view/#dom-element-scrolltop):
> If the element does not have any associated CSS layout box, the element has no associated scrolling box, or the element has no overflow, terminate these steps.
---
<!-- 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 #19114 (github issue number if applicable).

<!-- 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 37760054e2cf742c9043b96b832d2fbdf796d367

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0ef07d51bdd1317c10e1e17dda15740f2df610ad
2017-11-12 17:24:33 -06:00
Xidorn Quan
e4080bb4b4 servo: Merge #19141 - Implement -moz-window-transform{,-origin} internal properties (from upsuper:window-transform); r=emilio
This fixes [bug 1374178](https://bugzilla.mozilla.org/show_bug.cgi?id=1374178).

Note that the impl of `-moz-window-transform-origin` doesn't exactly match how it is implemented in Gecko. Specifically, that property doesn't accept depth value in Gecko, but it does in this impl. The depth value is simply dropped during conversion. This is because I don't think it's worth adding code for handling this internal property to make it as restrictive.

This is a modified version of #19106. The only difference since then is how `impl_transform_origin` distinguish between `transform-origin` and `-moz-window-transform-origin`. The previous PR has a bug which checks against `transform` rather than `transform-origin`, while this PR changes it to checking the length of the array. It introduces an unsuppressible warning due to rust-lang/rust#45850. This doesn't cause build failure, so maybe it's fine?

Source-Repo: https://github.com/servo/servo
Source-Revision: bc58e18761ef687bd6c5efcda635cabdb742069a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 28feb95c087a21b85d88d8c530d4754e45f18425
2017-11-12 13:04:22 -06:00
Emilio Cobos Álvarez
a3e33c465d servo: Merge #19186 - style: Derive more stuff (from emilio:derive-more-stuff); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: fad4d7ae49140b8919f9b823542b440aeb0ecc9e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d3487bd26d29b440d247d272ca553a0164bc15d8
2017-11-12 09:41:04 -06:00
Fernando Jiménez Moreno
e57da99004 servo: Merge #19180 - Fix binding generation for overloaded functions with optionals and de… (from ferjm:optional.overloaded.webidl); r=jdm
…fault values

The generated bindings for an interface like this:

```webidl
void someFunction(Foo foo, optional long a = 0, optional long b = 1);
void someFunction(Bar bar, optional long a = 0);
```
are failing to build with an error like:

```bash
    error[E0425]: cannot find function `Throw` in this scope
         --> /Users/ferjm/dev/mozilla/servo/target/debug/build/script-7b1a12ddd08207e3/out/Bindings/TestBindingBinding.rs:15395:24
          |
    15395 |                 return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);
          |                        ^^^^^ not found in this scope

    error[E0425]: cannot find value `NS_ERROR_XPC_BAD_CONVERT_JS` in this scope
         --> /Users/ferjm/dev/mozilla/servo/target/debug/build/script-7b1a12ddd08207e3/out/Bindings/TestBindingBinding.rs:15395:34
          |
    15395 |                 return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);
          |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

    error[E0425]: cannot find function `Throw` in this scope
         --> /Users/ferjm/dev/mozilla/servo/target/debug/build/script-7b1a12ddd08207e3/out/Bindings/TestBindingBinding.rs:15468:24
          |
    15468 |                 return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);
          |                        ^^^^^ not found in this scope

    error[E0425]: cannot find value `NS_ERROR_XPC_BAD_CONVERT_JS` in this scope
         --> /Users/ferjm/dev/mozilla/servo/target/debug/build/script-7b1a12ddd08207e3/out/Bindings/TestBindingBinding.rs:15468:34
          |
    15468 |                 return Throw(cx, NS_ERROR_XPC_BAD_CONVERT_JS);
          |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope

    error: aborting due to 4 previous errors

    error: Could not compile `script`.
```
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

** Note that this depends** on https://github.com/servo/rust-mozjs/pull/379

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d055522d355b711c7837ba5997089ba8a7641ae

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f39f5160149998e40ae2a740706c4385b46f8415
2017-11-11 08:59:20 -06:00
CYBAI
c8b1df818d servo: Merge #19167 - style: Move font-variant-alternates outside of mako (from CYBAI:font-variant-alternates-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19166  (github issue number if applicable).
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 33fa728d6e5392993c83f630acc1d6e442104dec

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c664918267746e08923e593f7abad4c8ecb05273
2017-11-10 17:49:15 -06:00
Matt Brubeck
7940ffb614 servo: Merge #19181 - Remove unused -t command-line flag (from mbrubeck:opts); r=emilio
A little bit was left over from #16716.

- [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 they only remove unused code

Source-Repo: https://github.com/servo/servo
Source-Revision: 3d888b5db8a1b23a2f15958f453ded3d591c01b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b1bb3b2099ccf7a2254e68b984012fdfcf876837
2017-11-10 13:50:14 -06:00
Emilio Cobos Álvarez
dc2d8cf9dc servo: Merge #19175 - script: Call content_and_heritage_changed from children_changed instead of add_child / remove_child (from emilio:children-changed); r=nox
add_child / remove_child aren't called when a node character data changed. This
is important for finer grained invalidation.

The only test that tests this is now wallpapered, but won't be after #19164.

Source-Repo: https://github.com/servo/servo
Source-Revision: 333c6ef7fa55bfc08e1d53025c9db452e928a8bf

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e77860fd1a5a9a3f3050027ef48d9c8311742943
2017-11-10 08:47:50 -06:00
Emilio Cobos Álvarez
d2bfb199ac servo: Merge #19176 - layout: Fixup indentation of ThreadSafeLayoutNodeHelpers::flags (from emilio:indentation-fixup); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 26ff6111ffb820993bc0e0468565ff66c6ca16e2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3d58b8bcdc4002b2d5aaab9194a29985c24669dd
2017-11-10 07:28:29 -06:00
CYBAI
4309ec3e64 servo: Merge #19165 - style: Move font-synthesis outside of mako (from CYBAI:font-synthesis-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19160  (github issue number if applicable).
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: a3f2fae561de26fefb0ac0d569ce2c7a2942eee5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6f53dea7d174eae1196a7c6c12484fd823502c99
2017-11-09 22:13:51 -06:00
Keith Yeung
d4a131953a servo: Merge #18262 - Implement value sanitization on HTMLInputElement (from KiChjang:value-sanitization); r=nox
https://html.spec.whatwg.org/multipage/input.html#value-sanitization-algorithm

Source-Repo: https://github.com/servo/servo
Source-Revision: 338e2ae5206d5270a6feaf7adbb8279fe25040e2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a9799df5f9d5f362c6645355435777ab4fb6ce1d
2017-11-09 18:35:07 -06:00
Glenn Watson
3c9c93667c servo: Merge #19169 - Update WR (dotted border fix, better AA for split primitives) (from glennw:update-ww-aa-dots); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: a1331169f6113440de37cade877ae799f72e4053

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0a776aa4586a20c302707725f337b629525af1ad
2017-11-09 17:28:07 -06:00
Simon Sapin
3fedeb4793 servo: Merge #18821 - Update metadeps to remove duplicate error-chain crate (from servo:dupdep); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ff1b58385cc904db8c06c79e66b8027db83d27dc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4454bf5984bb0dcf772f9845f09a9f18b81d91fe
2017-11-09 13:20:27 -06:00
Simon Sapin
a6f7082122 servo: Merge #19128 - Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) (from servo:asciiext); r=nox
This fixes some new warnings, some of which (in `style`) are treated as errors. See https://users.rust-lang.org/t/psa-dealing-with-warning-unused-import-std-ascii-asciiext-in-today-s-nightly/13726

Source-Repo: https://github.com/servo/servo
Source-Revision: c46c9dc019ffe5447297140c22cd8b6ee95a9f5f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 49e4a180cd0d8ecdd48cd6896dc16b580f564e10
2017-11-09 10:00:38 -06:00
Emilio Cobos Álvarez
39758fd86f servo: Merge #19163 - style: Remove the skip_applying_damage "optimization" (from emilio:useless-opt); r=nox
We already remove all change hints down the tree when finding a reframe hint
using ClearServoRestyleFromSubtree in ServoRestyleManager, so this is useless.

MozReview-Commit-ID: 1twx7iPt79x
Source-Repo: https://github.com/servo/servo
Source-Revision: 20ccde9a75e52f3dc7adccf0136f5753deb41158

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4e8d88923fef766a3d9eeca267356ef6962809c6
2017-11-09 08:25:25 -06:00
Simon Sapin
cf341df19a servo: Merge #19162 - Allow unused imports for AsciiExt in style code (from emilio:ascii-ext); r=emilio
See #19128, this part is cherry-picked so Gecko can build with rust nightly.

Source-Repo: https://github.com/servo/servo
Source-Revision: e7a654dd13f589e127193267bcb576ffd661c11d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0ee67ddf598b1ea99e92f6a285a960f86b1cb971
2017-11-09 06:49:29 -06:00
tigercosmos
184c5db553 servo: Merge #19161 - remove unused script in build_commands.py (from tigercosmos:python2); r=emilio
<!-- Please describe your changes on the following line: -->
code in `build_commands.py` duplicates with `openssl.makefile`, so it is unused.
(It only use in openssl)
ae5dca985e/python/servo/build_commands.py (L268)
ae5dca985e/support/android/openssl.makefile (L9-L10)
ae5dca985e/support/android/openssl.sh (L83-L84)

---
<!-- 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
- [ ] 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: 1d6b8a5448f4a7b55e224b4d1fd4520b74095864

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f44f1e7be5d3d42df9c55e04a0104274f08f739b
2017-11-09 05:57:43 -06:00
Glenn Watson
2e318a6c3d servo: Merge #19155 - Update WR (inset box shadow blur fix, subpx text optimizations) (from glennw:update-wr-more-opts-2); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ae5dca985ee58fbcd18d7e470184beb2b7e3d547

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b62f6ee73aa8dd21deb004258f8cddc1a405bf74
2017-11-08 16:10:52 -06:00
Alan Jeffrey
c2ac47fb97 servo: Merge #19138 - Rename js crate to mozjs (from asajeffrey:script-rename-js-dependency-to-mozjs); r=jdm
<!-- Please describe your changes on the following line: -->

This PR renames the `js` dependency to `mozjs', ready for when https://github.com/servo/rust-mozjs/pull/377 lands.

---
<!-- 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 do not require tests because refactoring

<!-- 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: 5b36b74c06232a6436409b5fb474abf271a9e6f7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fa88c2923e669fa635b13d321af4c3393f3084b2
2017-11-08 11:45:05 -06:00
CYBAI
ea4c319bb3 servo: Merge #19153 - style: Move font-size-adjust outside of mako (from CYBAI:font-size-adjust-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19151  (github issue number if applicable).
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: 294a24af4850bc06971fe7e78bb680cc8eb02150

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bf5c5151144517c0f3e6972f2c9722b33474065c
2017-11-08 09:52:37 -06:00
Emilio Cobos Álvarez
bc39f4aca9 servo: Merge #19149 - style: minor cleanups (from emilio:random-cleanup); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: cbf2ac35f7ba4188f20ba20284d5c218280537d7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1c15073d124dd5d4f1f76758e34103f6489fdcf7
2017-11-08 07:28:47 -06:00
Keith Yeung
a31a042f17 servo: Merge #19148 - Import sequence inner types if it appears in dictionary members (from KiChjang:import-sequence-inner-types); r=jdm
Relands #19133, as it was backed out wrongly in #19143.

Source-Repo: https://github.com/servo/servo
Source-Revision: a1f733722167124eb1a63e235101a1dc40ac2aa0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8c6e6663e4abf0fb7561c29ec8671c0cb09732be
2017-11-08 06:22:16 -06:00
CYBAI
3031fa200c servo: Merge #19119 - style: Move font-size outside of mako (from CYBAI:font-size-out-of-mako); r=emilio
This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19111  (github issue number if applicable).
- [x] These changes do not require tests

Source-Repo: https://github.com/servo/servo
Source-Revision: fd8b4b59c2a624bb08f7db08b300c50718e1336d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 03d7d5a6315607ef019c6bbd5058711e7863d664
2017-11-08 04:05:47 -06:00
Glenn Watson
a92608367b servo: Merge #19140 - Update WR (Windows subpx rendering fix) (from glennw:update-wr-windows); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: b8fdb90b955d158ed72b2e0459bf22bc2fe8629f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 572a41185c5da55ce1dda7f40bc0bf861bbdfcf6
2017-11-08 00:55:00 -06:00
Emilio Cobos Álvarez
ecc1a99b7d servo: Merge #19139 - style: Get rid of parse_specified (from emilio:bye-parse-specified); r=jdm
It has a single use, and I don't think we should use it in the future.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4a2103b9e600a3b372d2770669b3f9f597d1e4b3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1eeb00ce680cf49ce752a0d8c8ed5fc8fad2d0df
2017-11-07 23:44:17 -06:00
Gregory Szorc
a1bd150819 Backed out changeset dd834d38eaab for Windows debug build bustage
--HG--
extra : rebase_source : b8d31cced33d97f6486d5a2af45937d2e5615d86
2017-11-07 17:19:22 -08:00
Keith Yeung
dfbda4212b servo: Merge #19133 - Import sequence inner types if it appears in dictionary members (from KiChjang:import-sequence-inner-types); r=jdm
Fixes #19107.

r? nox

Source-Repo: https://github.com/servo/servo
Source-Revision: 7ae852b6731f7405a101e01881c7fa70cfb83826

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3df32aba9f6b0b5fa035c1f4c8bd2d15625a14c8
2017-11-07 17:07:03 -06:00
Josh Matthews
677c61674e servo: Merge #16946 - Add intermittent failure reporting to filter-intermittents (from jdm:report); r=Manishearth
We need to address https://github.com/servo/saltfs/issues/671 before this can be enabled by default on the builders, but I got the pieces working locally. This collects relevant information about each recorded intermittent failure encountered during a test run and posts them to a webapp which stores them in a database for later investigation. This will allow us to track over time which intermittent test failures are the most frequent, as well as whether they only happen on a particular builder or operating system.

Source-Repo: https://github.com/servo/servo
Source-Revision: 693c3dcfb29ecc2aa4610aabc68ce7381bfd5d87

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2fab214dd1a6956fccbbfe9312aed2b3ff442abc
2017-11-07 13:05:12 -06:00
Paul Rouget
81e0d54d28 servo: Merge #19135 - do not pass new size to Resize event (from paulrouget:resize); r=mbrubeck
It's not necessary to pass the new size to the resize event as it can be retrieved via `WindowMethods::framebuffer_size()`.

From the perspective of the embedder, that makes things a bit easier.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9de76632f4e26721fac39d0903d290bb8de9775c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6a0e281b0944539fc024b6df6ec93ac4f7570d9e
2017-11-07 10:44:51 -06:00
Aaron Meese
a7e8e2c2ad servo: Merge #19137 - Update README.md (from ajmeese7:patch-1); r=jdm
<!-- Please describe your changes on the following line: -->

Corrected 64bit

---
<!-- 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
- [X ] These changes do not require tests because it is a README update

<!-- 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: 70bbb9bf940835f01d0fe87fc617c44a5556541c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 757a86c8b871fe3d5f5bfb37eb96c57c0cdfd364
2017-11-07 08:55:44 -06:00
Emilio Cobos Álvarez
28d43d19cc servo: Merge #19136 - style: respect allow_quirks for boxed properties (from emilio:allow-quirks-box); r=SimonSapin
This will unblock #19119

Source-Repo: https://github.com/servo/servo
Source-Revision: 254c659250e4dacdee5897399a651649cec80c4a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f30629783bab25802b6ae5939dfc6f357b360c28
2017-11-07 07:29:15 -06:00
Andreea Pavel
bd04060d39 Backed out changeset d77275db6419 (bug 1374178) for failure reftests/transform-3d/translatez-1a.html r=backout a=backout on a CLOSED TREE 2017-11-07 08:47:36 +02:00
Glenn Watson
2c8b1ecf94 servo: Merge #19130 - Update WR (blur and subpixel text optimizations, recording fix) (from glennw:update-wr-blur-subpx); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b892ee0ee1ee55ed189347e0ef528edfaa74f61

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 43ae3f21e83f8e4850752984dfc9508a89b28d8c
2017-11-06 23:04:20 -06:00
Xidorn Quan
a02700faf7 servo: Merge #19106 - Implement -moz-window-transform{,-origin} internal properties (from upsuper:window-transform); r=emilio
This fixes [bug 1374178](https://bugzilla.mozilla.org/show_bug.cgi?id=1374178).

Note that the impl of `-moz-window-transform-origin` doesn't exactly match how it is implemented in Gecko. Specifically, that property doesn't accept depth value in Gecko, but it does in this impl. The depth value is simply dropped during conversion. This is because I don't think it's worth adding code for handling this internal property to make it as restrictive.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4decea188feb87b880fd2b0663b86d262a346a18

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5655ab7551b2b151417086b9370df0a55897206f
2017-11-06 17:46:51 -06:00