Commit graph

35965 commits

Author SHA1 Message Date
Adit Jain
df1119b7cb Changed return value of GetActiveCues
Return an empty TextTrackCueList rather than Some.

Added previously removed comments.
2019-01-21 17:49:01 +05:30
bors-servo
81ab255b70
Auto merge of #22722 - servo-wpt-sync:wpt_update_17-01-2019, r=jdm
Sync WPT with upstream (17-01-2019)

Automated downstream sync of changes from upstream as of 17-01-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/22722)
<!-- Reviewable:end -->
2019-01-18 00:08:43 -05:00
bors-servo
42b600458f
Auto merge of #22598 - jdm:update-wr, r=nox
Update webrender

Depends on https://github.com/servo/rust-offscreen-rendering-context/pull/132.

<!-- 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/22598)
<!-- Reviewable:end -->
2019-01-17 22:45:44 -05:00
Josh Matthews
878f020013 Ensure that resized GL contexts do not destroy their resources while in use by WR. 2019-01-17 22:44:41 -05:00
WPT Sync Bot
02c1eed999 Update web-platform-tests to revision 74bae78af4b95a2f0ca3a81df9c7fe3143f24bbc 2019-01-17 22:34:16 -05:00
Josh Matthews
85c1c5ad13 Delete texture when taking a screenshot, not a buffer. 2019-01-17 17:52:36 -05:00
Josh Matthews
9f855ae847 Update webrender. 2019-01-17 17:52:35 -05:00
bors-servo
fb95f9df9c
Auto merge of #22353 - jdm:runtime-parent, r=nox
Update rust-mozjs

These changes adjust our uses of the rust-mozjs APIs to accommodate the changes in https://github.com/servo/rust-mozjs/pull/450.

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

<!-- 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/22353)
<!-- Reviewable:end -->
2019-01-17 15:57:30 -05:00
bors-servo
866fd55ded
Auto merge of #22692 - ferjm:buffering, r=ceyusa
Media cache and buffering support

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

<!-- 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/22692)
<!-- Reviewable:end -->
2019-01-17 11:46:48 -05:00
bors-servo
0b5ca81f41
Auto merge of #22708 - Manishearth:android-click, r=paulrouget
Stop catching Android click events

Servo already can simulate clicks from multiple tap events

fixes https://github.com/servo/servo/issues/22702

r? @paulrouget

<!-- 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/22708)
<!-- Reviewable:end -->
2019-01-17 04:04:57 -05:00
Fernando Jiménez Moreno
4b23c631ea No need to share a reference for HTMLMediaElement played TimeRange 2019-01-17 10:01:38 +01:00
Fernando Jiménez Moreno
f5581a78ab Add media cache and implement HTMLMediaElement.buffering 2019-01-17 10:01:38 +01:00
bors-servo
c558db9737
Auto merge of #22711 - servo-wpt-sync:wpt_update_16-01-2019, r=jdm
Sync WPT with upstream (16-01-2019)

Automated downstream sync of changes from upstream as of 16-01-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/22711)
<!-- Reviewable:end -->
2019-01-16 22:50:02 -05:00
WPT Sync Bot
2966715d10 Update web-platform-tests to revision 2ade7dc478df87727880d849a76ee4b5be058f63 2019-01-16 22:36:41 -05:00
Manish Goregaokar
82f81fb9fd Stop catching Android click events
Servo already can simulate clicks from multiple tap events

fixes https://github.com/servo/servo/issues/22702
2019-01-16 18:23:07 -05:00
bors-servo
7c043f1bd8
Auto merge of #22703 - servo:bump, r=SimonSapin
Remove a bunch of winapi 0.2 crates

<!-- 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/22703)
<!-- Reviewable:end -->
2019-01-16 11:54:23 -05:00
bors-servo
09cdcab500
Auto merge of #22495 - maharsh312:master, r=jdm
OffscreenCanvas API

<!-- Please describe your changes on the following line: -->
Initial Steps for OffscreenCanvas API are done in this commit.

r? @jdm
---
<!-- 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 #14627 (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/22495)
<!-- Reviewable:end -->
2019-01-16 10:22:09 -05:00
bors-servo
cbd9ac045c
Auto merge of #22704 - learning:learning-patch-windows-troubleshooting, r=paulrouget
Add Windows troubleshooting

<!-- Please describe your changes on the following line: -->
Add Windows troubleshooting, about mach cannot run on a case-sensitive file system on Windows 10 v1803+

---
<!-- 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 just some text for `README.md`

<!-- 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/22704)
<!-- Reviewable:end -->
2019-01-16 08:46:18 -05:00
Anthony Ramine
600ce022dd Make Servo components use winapi 0.3 2019-01-16 14:29:53 +01:00
Yongning Liang
c9271cb634
Add Windows troubleshooting
Add Windows troubleshooting, about mach cannot run on a case-sensitive file system on Windows 10 v1803+
2019-01-16 21:08:19 +08:00
bors-servo
3919002cc7
Auto merge of #22701 - servo-wpt-sync:wpt_update_15-01-2019, r=nox
Sync WPT with upstream (15-01-2019)

Automated downstream sync of changes from upstream as of 15-01-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/22701)
<!-- Reviewable:end -->
2019-01-16 07:18:45 -05:00
Anthony Ramine
bd0b191d84 Update time to 0.1.42 2019-01-16 12:44:25 +01:00
Maharsh
0f17273276 Initial Steps OffScreenCanvas API 2019-01-15 22:45:34 -05:00
WPT Sync Bot
372e03fe64 Update web-platform-tests to revision 0f31ab1b094596062154092307bb9ff8e6122533 2019-01-15 22:08:50 -05:00
bors-servo
7400219adf
Auto merge of #22697 - jdm:user-script, r=asajeffrey
Don't panic when executing userscripts

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22685
- [x] These changes do not require tests because there is no automation for testing userscripts.

<!-- 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/22697)
<!-- Reviewable:end -->
2019-01-15 19:12:46 -05:00
bors-servo
96ad6710b1
Auto merge of #22693 - servo:rustup, r=SimonSapin
Update Rust to 1.33.0-nightly (03acbd71c 2019-01-14)

<!-- 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/22693)
<!-- Reviewable:end -->
2019-01-15 17:58:27 -05:00
Anthony Ramine
1bd29f1cfd Update Rust to 1.33.0-nightly (03acbd71c 2019-01-14) 2019-01-15 23:09:18 +01:00
bors-servo
4f45eea125
Auto merge of #22616 - jdm:google-decode, r=nox
Fix brotli decoding

This replaces our current decoding setup by https://github.com/seanmonstar/reqwest/blob/master/src/async_impl/decoder.rs, and integrates brotli and deflate decoding to maintain our existing support.

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

<!-- 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/22616)
<!-- Reviewable:end -->
2019-01-15 16:06:35 -05:00
Josh Matthews
6404a0ef53 Redesign network response decoding to avoid creating decoders before some content is present. 2019-01-15 16:04:45 -05:00
Josh Matthews
66c2e42ed9 Pass a filename when executing user scripts. 2019-01-15 15:22:13 -05:00
Josh Matthews
18cfb9378d Delay user script execution until DOM is stable. 2019-01-15 15:20:25 -05:00
Josh Matthews
367014a4ea Reintroduce parent runtimes for worker threads. 2019-01-15 14:00:13 -05:00
Josh Matthews
644101e1e4 Update to new JS runtime creation APIs. 2019-01-15 14:00:05 -05:00
bors-servo
fde83f733d
Auto merge of #22690 - shanavas786:skip-gstreamer-dir, r=jdm
Exclude gstreamer from tidiness check

<!-- 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
- [x] These changes fix ##22689

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

<!-- 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/22690)
<!-- Reviewable:end -->
2019-01-15 12:12:55 -05:00
bors-servo
a6c7fc426c
Auto merge of #22687 - servo-wpt-sync:wpt_update_14-01-2019, r=jdm
Sync WPT with upstream (14-01-2019)

Automated downstream sync of changes from upstream as of 14-01-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/22687)
<!-- Reviewable:end -->
2019-01-15 08:49:58 -05:00
Josh Matthews
c2a9a60df2
Remove intermittent crash. 2019-01-15 08:49:41 -05:00
Shanavas M
de766ca3c0 Exclude gstreamer from tidiness check 2019-01-15 18:13:56 +05:30
WPT Sync Bot
13bbfdb3eb Update web-platform-tests to revision 192193581b6912818a0e3f2408f40f033a451a79 2019-01-14 22:19:47 -05:00
bors-servo
2e439fa7cb
Auto merge of #22396 - jdm:no-spam-iframe-size, r=asajeffrey
Reduce unnecessary iframe size messages

This should be an improvement on pages that include iframes, since we currently run two layout jobs for every display-oriented layout request. When building the display list, we send a message to the constellation that includes the sizes of all iframes present, and the constellation sends resize messages to the script thread. This results in a mouse event on the outer page causing all frames to be re-laid out even if no changes occurred to the iframe sizes, which is ridiculous.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22394
- [x] These changes do not require tests because there is no way to test this internal detail.

<!-- 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/22396)
<!-- Reviewable:end -->
2019-01-14 19:12:59 -05:00
Josh Matthews
49a100ca8b Suppress iframe size messages from layout that include unchanged sizes. 2019-01-14 18:17:45 -05:00
bors-servo
2cf9a00c99
Auto merge of #22399 - ferjm:poster.frame, r=jdm
Implement HTMLMediaElement poster attribute

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

<!-- 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/22399)
<!-- Reviewable:end -->
2019-01-14 17:35:23 -05:00
Fernando Jiménez Moreno
7633cab63a Terminate poster frame load blocker before blocking again 2019-01-14 22:50:06 +01:00
Fernando Jiménez Moreno
fde7d4589f Make poster frame load blocker independent from media element's one 2019-01-14 22:32:12 +01:00
bors-servo
c242abd999
Auto merge of #22684 - servo:next-layout, r=emilio,SimonSapin
Some janitoring over the layout crate

This PR moves a bunch of code around and makes some methods from one-use traits into inherent methods.

<!-- 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/22684)
<!-- Reviewable:end -->
2019-01-14 14:35:28 -05:00
bors-servo
310ee3ef85
Auto merge of #22682 - shanavas786:set-url-attr, r=nox
Implement Element::set_url_attribute

<!-- 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
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22568

<!-- Either: -->
- [ ] 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. -->

<!-- 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/22682)
<!-- Reviewable:end -->
2019-01-14 12:58:08 -05:00
Anthony Ramine
cf15336a51 Simplify get_cursor 2019-01-14 16:51:28 +01:00
Anthony Ramine
087e6d649b Report the stylesheet URL when reporting CSS errors 2019-01-14 16:51:28 +01:00
Anthony Ramine
e57d09abb8 Make Window::scroll_offsets store keys as OpaqueNode values
This is the type that is supposed to signal that we will never ever
try to get back a Node from it in an unsafe way, unlike
UntrustedNodeAddress.
2019-01-14 16:51:26 +01:00
bors-servo
e1cff7b8a7
Auto merge of #22673 - shanavas786:fix-servo-is-alive, r=jdm
Fix ServoDriver is_alive 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 #22664

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it fixes test runner

<!-- 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/22673)
<!-- Reviewable:end -->
2019-01-14 10:25:52 -05:00
Anthony Ramine
887cc62556 Remove ObjectElement 2019-01-14 16:10:27 +01:00