Commit graph

36788 commits

Author SHA1 Message Date
Peter Hall
8bfd4dc1e2 #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
Josh Matthews
fa0194fe23 Stop using deprecated manifest loading APIs. 2019-03-20 10:51:03 -04:00
Josh Matthews
3a46bf651a Cherry-pick https://github.com/web-platform-tests/wpt/pull/15949 from upstream. 2019-03-20 10:51:02 -04:00
Josh Matthews
17e04fb255 Cherry-pick https://github.com/web-platform-tests/wpt/pull/15932 from upstream. 2019-03-20 10:51:01 -04:00
Josh Matthews
cc7e21000a Stop using deprecated meta_key API. 2019-03-20 10:51:01 -04:00
Josh Matthews
33f5066a23 Make unclean manifest error show actual erroring manifest. 2019-03-20 10:51:00 -04:00
Josh Matthews
6428901c41 Make rebuild flag work. 2019-03-20 10:50:59 -04:00
Josh Matthews
7b4d1c6e4c Rebuild all manifests. 2019-03-20 10:50:58 -04:00
WPT Sync Bot
f2c1b70e4a Update web-platform-tests to revision c2e5b9fbaa17424f05ca2bb04609790a3b61d5c2 2019-03-20 10:50:56 -04:00
cdeler
18fe572562 #22412 updated bluetooth tests expectations 2019-03-20 16:56:55 +03:00
cdeler
e30f48f3c8 #22412 fixed PR issues - fixed wpt tests expectations 2019-03-20 13:19:00 +03:00
bors-servo
681c0ebf4b
Auto merge of #23058 - georgeroman:update_webdriver_crate, r=jdm
Update webdriver crate

<!-- Please describe your changes on the following line: -->
I was playing around with the WebDriver tests and I managed to get some of them pass (several tests in `new_session/default_values.py`) by updating the `webdriver` crate to the latest version. It looks like the fix of this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1507428 made the tests pass.

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

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

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23058)
<!-- Reviewable:end -->
2019-03-19 20:47:33 -04:00
bors-servo
5cfc434689
Auto merge of #23060 - polemius:fix-broken-link-test-about, r=jdm
Fix the broken link in about-page

Fix the broken link in `tests/html/about-mozilla.html`

--

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23060)
<!-- Reviewable:end -->
2019-03-19 18:04:58 -04:00
polemius
5c496a3939 Fix the broken link in about-page 2019-03-19 21:21:26 +01:00
cdeler
220a471b14 implemented missed constructor for DOMException; fixed the tests expectations 2019-03-19 22:49:14 +03:00
George Roman
e6428bf498 Update webdriver crate 2019-03-19 19:04:13 +02:00
Russell Cousineau
d9beca6fec create uuid before sending PromoteMemory message 2019-03-18 18:27:46 -07:00
Manish Goregaokar
a2c4270f55 Cleanup XRFrame 2019-03-18 16:28:37 -07:00
Manish Goregaokar
191fcf66cc Add requestReferenceSpace 2019-03-18 16:27:59 -07:00
Manish Goregaokar
f2a6164a52 Add XRReferenceSpace::identity 2019-03-18 16:27:27 -07:00
Manish Goregaokar
8f14007979 Add session parameter to XRSpace 2019-03-18 16:27:11 -07:00
Manish Goregaokar
ffacb1179e Add originOffset to XRReferenceSpace 2019-03-18 16:26:48 -07:00
Manish Goregaokar
503ea3d943 Add XRRigidTransform attributes 2019-03-18 16:26:31 -07:00
Manish Goregaokar
c775820a79 Add XRRigidTransform constructor 2019-03-18 16:26:13 -07:00
bors-servo
34fda66dfa
Auto merge of #22891 - georgeroman:implement_cdatasection, r=Manishearth
Implement CDATASection interface and createCDATASection method

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

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

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22891)
<!-- Reviewable:end -->
2019-03-18 17:22:55 -04:00
bors-servo
0fac8f2f62
Auto merge of #23021 - ejmg:assert_fail_#18439, r=jdm
Assert fail #18439

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

This PR addresses #18439 by removing an assert statement that forces a panic whenever `LoadBlocker` is dropped during a GC sweep and receives a `None` `SCRIPT_THREAD_ROOT` value from `mark_document_with_no_blocked_loads()`. Instead of panicking on the assert, we remove it and let the None value pass silently.

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

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

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

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23021)
<!-- Reviewable:end -->
2019-03-18 15:44:36 -04:00
bors-servo
db7bb2a510
Auto merge of #23048 - c410-f3r:image-url, r=jdm
Add url for LayoutImageContext

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23048)
<!-- Reviewable:end -->
2019-03-16 13:16:44 -04:00
Caio
1cecb080b3 Add url for LayoutImageContext 2019-03-16 12:26:31 -03:00
bors-servo
3a33f99cad
Auto merge of #23039 - servo-wpt-sync:wpt_update_14-03-2019, r=jdm
Sync WPT with upstream (14-03-2019)

Automated downstream sync of changes from upstream as of 14-03-2019.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23039)
<!-- Reviewable:end -->
2019-03-15 10:50:27 -04:00
bors-servo
858f919388
Auto merge of #23036 - gterzian:fix_range_request, r=jdm
Fix substraction with overflow in range request

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

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #23030 (GitHub issue number if applicable)

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

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

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23036)
<!-- Reviewable:end -->
2019-03-15 08:47:26 -04:00
Gregory Terzian
5836bd2fc0 fix potentially overflowing arithmetic in cache range requests 2019-03-15 13:38:37 +08:00
WPT Sync Bot
ad4cc3691e Update web-platform-tests to revision 2d68590d46a990bf28a08d6384a59962d2e56bf6 2019-03-14 23:41:26 -04:00
George Roman
4b8282b3b1 Implement CDATASection interface and createCDATASection method 2019-03-14 21:41:02 +02:00
bors-servo
bc03d32142
Auto merge of #23016 - pngai:remove-on-prefix, r=jdm
Remove 'on' prefix from event handler macros

<!-- Please describe your changes on the following line: -->
Remove 'on' prefix from event handler macros

---
<!-- 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 #22516 (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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23016)
<!-- Reviewable:end -->
2019-03-14 15:14:44 -04:00
elias
be82d7c905 ran ./mach fmt
- removed unused import in document_loader.rs
- limit unsafe block in mark_document_with_no_blocked_loads in script_thread.rs
- changed name of if let value to load in Drop for LoadBlocker in document_loader.rs
2019-03-14 14:10:29 -05:00
bors-servo
2cd454f4f8
Auto merge of #23033 - Manishearth:xhr-copies, r=jdm,emilio
Stop cloning response text on every chunk in XHR

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23033)
<!-- Reviewable:end -->
2019-03-14 09:34:00 -04:00
Manish Goregaokar
79a565930b xhr: Reserve content-length worth of space in the response if possible 2019-03-13 23:03:45 -07:00
Manish Goregaokar
f340a5bf29 xhr: Stop cloning response text every time we get a chunk 2019-03-13 15:22:38 -07:00
Ian Moody
948e169e51 Update StyleSheet.insertRule WebIDL to make index optional.
Update wpt metadata to show the new passes.
Add one test as crashing since currently passing an @import rule to insertRule
leads to "Expected a stylesheet loader for @import"

Fixes #23025
2019-03-13 19:49:00 +00:00
bors-servo
85ed1812ee
Auto merge of #23022 - servo:jdm-patch-29, r=SimonSapin
Route all trychooser tasks to servo-try.

Fixes #23020. Maybe this will deal with https://github.com/servo/homu/issues/191 as well?

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23022)
<!-- Reviewable:end -->
2019-03-13 14:34:36 -04:00
Patrick Ngai
b17343a0ff Remove 'on' prefix from event handler macros 2019-03-14 00:55:21 +08:00
Josh Matthews
c9927b52a6
Route all trychooser tasks to servo-try. 2019-03-13 12:40:52 -04:00
elias
c713febe7a let mark_document_with_no_blocked_loads() take a None value silently 2019-03-13 11:21:58 -05:00
elias
d6b3eb6db9 removed spurrious assert in Drop for LoadBlocker 2019-03-13 11:20:31 -05:00
bors-servo
431423388e
Auto merge of #23019 - szeged:gecko-tests, r=jdm
Add Gecko reftests, which are failing with gfx-hal backend

<!-- Please describe your changes on the following line: -->
Since the focus of the Szeged team will shift to Servo from Gecko, we would like to add some reftests from Gecko which are failing with the gfx-rs backend.
Last year we had pretty good results with Servo css tests: https://github.com/szeged/webrender/issues/173#issuecomment-415373702.
On the Gecko side we had more failing tests, and it would be nice to have a subset of those in Servo, even tough some of them fails on the Servo side.

cc @larsbergstrom @jdm @kvark

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23019)
<!-- Reviewable:end -->
2019-03-13 11:47:31 -04:00
bors-servo
d5fb0666d1
Auto merge of #23017 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23017)
<!-- Reviewable:end -->
2019-03-13 10:26:37 -04:00
Emilio Cobos Álvarez
b42342a273 Update test expectations. 2019-03-13 15:08:59 +01:00
Emilio Cobos Álvarez
c3f46d78a0 style: Add two commas to appease tidy. 2019-03-13 15:08:41 +01:00
Emilio Cobos Álvarez
8020faed9b style: Fix unit tests. 2019-03-13 15:08:40 +01:00
Emilio Cobos Álvarez
0c01325c05 layout: Fix servo build. 2019-03-13 15:08:39 +01:00