Commit graph

7209 commits

Author SHA1 Message Date
bors-servo
42ca43e51f
Auto merge of #21928 - servo-wpt-sync:wpt_update_11-10-2018, r=jdm
Sync WPT with upstream (11-10-2018)

Automated downstream sync of changes from upstream as of 11-10-2018.
[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/21928)
<!-- Reviewable:end -->
2018-10-12 23:12:27 -04:00
bors-servo
a9eaed44d5
Auto merge of #21927 - Eijebong:unicode_serialization, r=jdm
Remove Origin::unicode_serialization

Fixes #20701

<!-- 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/21927)
<!-- Reviewable:end -->
2018-10-12 21:57:34 -04:00
Josh Matthews
49d2ea4f74 Make layout use available image data before querying the image cache. 2018-10-12 21:55:09 -04:00
bors-servo
8902a26721
Auto merge of #21898 - servo:jdm-patch-39, r=SimonSapin
Skip css-text i18n tests.

#21795 is becoming ridiculous and shows no sign of stopping.

<!-- 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/21898)
<!-- Reviewable:end -->
2018-10-12 16:58:30 -04:00
bors-servo
fa94fc7146
Auto merge of #21922 - Eijebong:storage, r=SimonSapin
Add support for StorageEvent.initstorageevent()

Fixes #21874

<!-- 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/21922)
<!-- Reviewable:end -->
2018-10-12 14:16:07 -04:00
bors-servo
7e78edcff9
Auto merge of #21725 - pyfisch:update-wr, r=jdm
Update Webrender

New version is
9156a4465f6ad715a0206cdd9a7e9a6f0385fbd6

---

- [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 just updating WR

<!-- 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/21725)
<!-- Reviewable:end -->
2018-10-12 12:49:23 -04:00
bors-servo
69e5243810
Auto merge of #21856 - zcorpan:zcorpan/remove-td-th-interfaces, r=jdm
Remove the HTMLTable{Header,Data}CellElement interfaces

Fixes #17222.

<!-- Please describe your changes on the following line: -->
This removes the `HTMLTableHeaderCellElement` and `HTMLTableDataCellElement` interfaces and uses the `HTMLTableCellElement` interface for both `th` and `td` elements, as per the spec.

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

<!-- 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/21856)
<!-- Reviewable:end -->
2018-10-12 09:30:41 -04:00
Bastien Orivel
a97ba4f57d Remove Origin::unicode_serialization
Fixes #20701
2018-10-12 10:25:03 +02:00
Simon Pieters
5a3e4b3749 More test expectations 2018-10-12 10:14:20 +02:00
WPT Sync Bot
4cf0a092d0 Update web-platform-tests to revision d647a1bc742a533186d8297cae2a2bee669c7780 2018-10-11 23:44:24 -04:00
Manish Goregaokar
b7e9aeb4ac Update servo-media to include DestinationNode fix 2018-10-11 14:38:14 -07:00
Bastien Orivel
5347e25d1a Add support for StorageEvent.initstorageevent()
Fixes #21874
2018-10-11 22:17:46 +02:00
Fernando Jiménez Moreno
afb824e09c Regenerate WebAudio WPTs expectations 2018-10-11 19:33:17 +02:00
Fernando Jiménez Moreno
52d898df3f Add test to check that AudioBuffers can be reused between AudioBufferSourceNodes 2018-10-11 19:27:22 +02:00
Simon Pieters
806db5e47b Update test expectations 2018-10-11 18:19:06 +02:00
Manish Goregaokar
3c6e99498c Update servo-media 2018-10-11 09:01:38 -07:00
bors-servo
ddcb72f750
Auto merge of #21906 - Manishearth:minor-webaudio-fixes, r=ferjm
Minor WebAudio fixes

Stuff I discovered whilst working on https://github.com/servo/media/pull/148

r? @ferjm

<!-- 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/21906)
<!-- Reviewable:end -->
2018-10-11 08:46:18 -04:00
WPT Sync Bot
b33912a5ce Update web-platform-tests to revision 2c89bbecfab9a69190906abd7610c3bc62303dd4 2018-10-10 23:13:06 -04:00
Manish Goregaokar
600f997a51 Increase webaudio sample rate threshold to match firefox 2018-10-10 17:32:12 -07:00
bors-servo
7ca426fa14
Auto merge of #21901 - servo-wpt-sync:wpt_update_09-10-2018, r=jdm
Sync WPT with upstream (09-10-2018)

Automated downstream sync of changes from upstream as of 09-10-2018.
[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/21901)
<!-- Reviewable:end -->
2018-10-09 23:19:47 -04:00
WPT Sync Bot
3eaee747ed Update web-platform-tests to revision e15b5ebba7465e09bcda2962f6758cddcdcfa248 2018-10-09 22:45:22 -04:00
bors-servo
78e0c0e155
Auto merge of #21895 - Manishearth:gst-mac, r=jdm
Revert "Disable event_timeupdate_noautoplay test on mac"

Hopefully the builders now have the right gstreamer things.

From https://github.com/servo/servo/pull/21543 , needs https://github.com/servo/saltfs/pull/898

<!-- 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/21895)
<!-- Reviewable:end -->
2018-10-09 21:27:56 -04:00
bors-servo
7a88a2e28a
Auto merge of #21877 - servo:webgl, r=jdm
Improve some byte-swap and premultiply operations

<!-- 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/21877)
<!-- Reviewable:end -->
2018-10-09 20:15:40 -04:00
Josh Matthews
171469c27c Update webrender to 923ee495bd9b0fda8a4a94c5a6cf42e2f0548731. 2018-10-09 18:23:19 -04:00
Pyfisch
d13172845c Update Webrender
New version is
9156a4465f6ad715a0206cdd9a7e9a6f0385fbd6
2018-10-09 18:23:18 -04:00
Emilio Cobos Álvarez
f287691f2e
style: fix tidy issues and update test expectations. 2018-10-09 22:01:38 +02:00
Josh Matthews
c98e30516b
Skip css-text i18n tests. 2018-10-09 15:07:15 -04:00
Manish Goregaokar
c563befefb Revert "Disable event_timeupdate_noautoplay test on mac"
This reverts commit 7e6661d9ab.
2018-10-09 08:09:13 -07:00
bors-servo
3b153af49c
Auto merge of #21543 - ceyusa:wip-player, r=<try>
Add <audio> and <video> player backends

These patches enables audio and video playing inside Servo.

It is bit hackish way to enable it, thus the purpose of this pull request is for an early request for comments.

It is tested with the current servo-media GStreamer backend in Linux.

~~The produced layout is not correct, since the elements after the video seems to be stacked behind, and the same with the scrolling bars.~~

~~There is no JavaScript interface yet~~, neither controls.

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

<!-- 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/21543)
<!-- Reviewable:end -->
2018-10-09 04:15:18 -04:00
Fernando Jiménez Moreno
7e6661d9ab Disable event_timeupdate_noautoplay test on mac 2018-10-09 10:14:48 +02:00
Fernando Jiménez Moreno
92a10e2616 Update tests expectations 2018-10-08 17:52:24 +02:00
Fernando Jiménez Moreno
11ac049d27 Make sure we do not skip the HaveMetadata state. Fixes a bunch of tests 2018-10-08 16:12:04 +02:00
WPT Sync Bot
1c9e136e8e Update web-platform-tests to revision b0d2d2da21dfd03e86c5d710c926ae7df3b9f0d0 2018-10-07 22:54:00 -04:00
Pyfisch
0ccaa7e1a9 Use keyboard-types crate
Have embedders send DOM keys to servo and use a strongly typed KeyboardEvent
from the W3C UI Events spec. All keyboard handling now uses the new types.

Introduce a ShortcutMatcher to recognize key bindings. Shortcuts are now
recognized in a uniform way.

Updated the winit port.
Updated webdriver integration.

part of #20331
2018-10-07 22:39:00 +02:00
bors-servo
d048aa9c51
Auto merge of #21883 - servo-wpt-sync:wpt_update_06-10-2018, r=jdm
Sync WPT with upstream (06-10-2018)

Automated downstream sync of changes from upstream as of 06-10-2018.
[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/21883)
<!-- Reviewable:end -->
2018-10-07 08:36:07 -04:00
Simon Sapin
1f7ebfc8a2 Make mach test-unit not recompile components after mach build
Previously, the `tests` feature flag of the `embedder_traits` crate
caused it and every crate recursively depending on it to be built twice.

This feature flag was used to provide a specific set of "resources"
when running tests. Instead, this commits overrides the `main()` function
of the test harness to change resources at runtime before running any test.

This is done by adding a dependency that has `name = "test"` in its
`[lib]` section of `Cargo.toml`. This overrides the crate found by
`extern crate test;` in code generated by `rustc --test`.
2018-10-07 13:27:23 +02:00
WPT Sync Bot
db9cbb4b2e Update web-platform-tests to revision ba4ca501a5ebdee8cbfc006bf9e7e44231b188d1 2018-10-06 23:25:22 -04:00
Anthony Ramine
241dba064d Align ctx.createImageData and ctx.getImageData with the spec 2018-10-06 11:41:48 +02:00
WPT Sync Bot
eda9b9b73a Update web-platform-tests to revision c2b30ef30749b6a8f2cc832761dfe011e63d5e94 2018-10-05 23:00:35 -04:00
Anthony Ramine
3d910feb3a Align canvas.putImageData with spec
The arguments are supposed to be long values, not floats.
2018-10-05 17:07:56 +02:00
WPT Sync Bot
5e2118728a Update web-platform-tests to revision e29e596073468910d8655a8ec23262f17543e147 2018-10-03 23:02:48 -04:00
WPT Sync Bot
2a8d9b6983 Update web-platform-tests to revision fec3928f355e049657d19780aa4b412d9d3a714b 2018-10-02 23:45:46 -04:00
Simon Pieters
9b74f0af24 Remove the HTMLTable{Header,Data}CellElement interfaces
Fixes #17222.
2018-10-02 19:23:02 +02:00
bors-servo
74ba683e27
Auto merge of #21826 - servo:jdm-patch-35, r=jdm
Enable fake fillText API in nightly builds.

The [three.js examples](https://threejs.org/examples/) are really useful for checking Servo WebGL support, but if the fillText API is not available they only display a blank screen. I think it's worth lying to web content about this API in order to make it easy to make use of these examples without using local development builds.

<!-- 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/21826)
<!-- Reviewable:end -->
2018-10-02 13:02:15 -04:00
Josh Matthews
c3c8aabf80 Enable fake fillText API in all builds. 2018-10-02 14:47:29 +02:00
WPT Sync Bot
7ba3376dde Update web-platform-tests to revision 2df7f9ff620cbdaa2928464892fb1dfb880fd6c6 2018-09-28 22:54:30 -04:00
bors-servo
97e3c5f3a9
Auto merge of #21608 - pyfisch:border-gradients, r=emilio
Improve border images

Respect CSS border-image-width.
Properly support gradients as a border-image-source.

Add a new test and mark two more as passing.

<!-- 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/21608)
<!-- Reviewable:end -->
2018-09-28 16:36:53 -04:00
Pyfisch
60d0c8cd76 Layout: stylistic changes
Additionally if an image border can't be displayed show solid border.
Introduce build_display_list_for_border_image to display border images.
2018-09-28 22:33:02 +02:00
Josh Matthews
1d988cae8f
Remove intermittent timeout result. 2018-09-28 09:02:22 -04:00
WPT Sync Bot
7295abcc2a Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f 2018-09-27 23:48:13 -04:00