Commit graph

37138 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
eef9e24e96 style: Make -moz-binding chrome / UA only.
But enable it in all tests because a lot of them rely on using it in the
style="" attribute for example, or in inline stylesheets, which will no longer
parse this (even in chrome documents), and we don't want to rewrite all the XUL
and XBL tests.

Differential Revision: https://phabricator.services.mozilla.com/D18027
2019-02-10 05:11:33 +01:00
WPT Sync Bot
67ab92907c Update web-platform-tests to revision 01e5f08719565e56a6c0d2abfc2485481ceb924a 2019-02-09 22:31:15 -05:00
bors-servo
5de6d87c97
Auto merge of #22859 - servo-wpt-sync:wpt_update_08-02-2019, r=jdm
Sync WPT with upstream (08-02-2019)

Automated downstream sync of changes from upstream as of 08-02-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/22859)
<!-- Reviewable:end -->
2019-02-09 01:33:29 -05:00
WPT Sync Bot
05db47be0f Update web-platform-tests to revision 345300fad3945a5f1441fb2b2001109ca48f36e8 2019-02-08 22:35:01 -05:00
bors-servo
71ba247942
Auto merge of #22847 - servo-wpt-sync:wpt_update_07-02-2019, r=jdm
Sync WPT with upstream (07-02-2019)

Automated downstream sync of changes from upstream as of 07-02-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/22847)
<!-- Reviewable:end -->
2019-02-07 22:55:25 -05:00
WPT Sync Bot
2178678b0f Update web-platform-tests to revision ead8f8b00d0b68237109f3c93d0ccae076a34f98 2019-02-07 22:37:04 -05:00
Josh Matthews
18282b8071 Format canvas code. 2019-02-07 15:13:13 -05:00
Josh Matthews
decf88331b Keep is_point_in_path using a path, rather than a path builder. 2019-02-07 15:09:59 -05:00
bors-servo
d029b1a0ff
Auto merge of #22832 - paulrouget:capi_tweaks, r=jdm
Some tweaks in libsimpleservo C API

- Adding logs.
- Adding OpenGL support for OSX.
- Fixing file reading issue.

With this, I can load Servo into a C app (with the C version of libui + https://github.com/andlabs/libui/pull/405).

<!-- 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/22832)
<!-- Reviewable:end -->
2019-02-07 01:41:21 -05:00
Paul Rouget
1292db6824 Add logs to libsimpleservo C API 2019-02-07 06:27:58 +01:00
Paul Rouget
399456665c Add Mac OpenGL support to libsimpleservo 2019-02-07 06:27:58 +01:00
bors-servo
6c161e5037
Auto merge of #22773 - paulrouget:immersive, r=jdm
Support for ExternalVR implementation

This PR adds the hook necessary for the ExternalVR rust-webvr driver.
Waiting on rust-webvr 0.9.3 to be published before landing.

<!-- 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/22773)
<!-- Reviewable:end -->
2019-02-07 00:17:26 -05:00
Paul Rouget
c055b74e13 Support for ExternalVR implementation 2019-02-07 06:15:11 +01:00
Josh Matthews
2c5a6ebc53 Always store a transform in PathBuilderRef. 2019-02-06 19:17:35 -05:00
Josh Matthews
53ae73bdec canvas: Refactor implicit path/path builder state machine into a single enum. 2019-02-06 18:39:03 -05:00
Josh Matthews
e7edc367f9 Transform paths between user and device space when there is a 2D canvas transformation present. 2019-02-06 18:39:02 -05:00
Josh Matthews
c87a35e4d5 Ensure canvas path stroking and filling use the same paths. 2019-02-06 18:37:22 -05:00
bors-servo
d81ff5704e
Auto merge of #22839 - jdm:overflow-hit-test-fix, r=pcwalton
Ensure transparent hit test region is sized and positioned correctly.

This addresses some edge cases that were missed by #22156. Specifically, in some cases the transparent region was being placed in the display list in front of the scrollable content, rather than behind it, and the size of the region did not account for parent stacking context.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22073 and fix #22216.
- [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/22839)
<!-- Reviewable:end -->
2019-02-06 18:14:20 -05:00
Josh Matthews
3315d94057 Verify that contentDocument is updated during nested browsing context document parsing. 2019-02-06 16:36:18 -05:00
bors-servo
73ff9995fb
Auto merge of #22825 - asajeffrey:layout-fullscreen-top-layer, r=jdm
Layout fullscreen top layer

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

Implement the fullscreen top layer described at https://fullscreen.spec.whatwg.org/#top-layer

---
<!-- 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] There are tests for these changes OR

<!-- 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/22825)
<!-- Reviewable:end -->
2019-02-06 15:31:12 -05:00
Josh Matthews
f59e95ee3d Ensure transparent hit test region is sized and positioned correctly. 2019-02-06 15:19:03 -05:00
Alan Jeffrey
386c0f80ed Implemented fullscreen top layer 2019-02-06 13:23:52 -06:00
bors-servo
a34c8f952e
Auto merge of #22835 - servo-wpt-sync:wpt_update_05-02-2019, r=jdm
Sync WPT with upstream (05-02-2019)

Automated downstream sync of changes from upstream as of 05-02-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/22835)
<!-- Reviewable:end -->
2019-02-06 10:24:24 -05:00
bors-servo
16b8347c86
Auto merge of #22836 - paulrouget:remove_readfile_callback, r=jdm
Remove readfile callback

Reproducing what is done in libmlservo.

This simplifies a lot of things. No need for resources anymore.

<!-- 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/22836)
<!-- Reviewable:end -->
2019-02-06 08:20:57 -05:00
Paul Rouget
475756ec2f Remove readfile callback 2019-02-06 07:52:58 +01:00
WPT Sync Bot
6dda93c6e2 Update web-platform-tests to revision 9fc797e6e5fb7d244dfb5b5125886c01f8cedf2b 2019-02-05 23:23:41 -05:00
bors-servo
b7e9bab267
Auto merge of #22823 - servo:rustup, r=SimonSapin
Compat with rustc 1.34.0-nightly (f6fac4225 2019-02-03)

<!-- 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/22823)
<!-- Reviewable:end -->
2019-02-05 16:42:51 -05:00
bors-servo
9c8bce2a6b
Auto merge of #22821 - servo-wpt-sync:wpt_update_04-02-2019, r=jdm
Sync WPT with upstream (04-02-2019)

Automated downstream sync of changes from upstream as of 04-02-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/22821)
<!-- Reviewable:end -->
2019-02-05 15:09:35 -05:00
bors-servo
0cf9bcdd24
Auto merge of #22809 - asajeffrey:wpt-add-fullscreen-baseline-reftest, r=asajeffrey
Add a reftest that entering fullscreen mode takes over the window

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

Add a baseline reftest for fullscreen that ensures that going fullscreen actually uses the whole window. This uses a pref that requests that fullscreen mode takes over the window rather than the whole screen. The pref doesn't do anything right now, but is a bit of future-proofing for when we do have proper fullscreen.

---
<!-- 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 #22804.
- [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. -->

<!-- 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/22809)
<!-- Reviewable:end -->
2019-02-05 11:48:22 -05:00
Alan Jeffrey
d2862094ec Add reftests for fullscreen mode 2019-02-05 10:04:38 -06:00
bors-servo
581df9da2c
Auto merge of #22806 - ferjm:webrtc.gst.plugins, r=jdm
Update gstreamer binaries for Android with webrtc related plugins

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

I updated the binaries for Android with the required plugins for WebRTC as suggested [here](https://github.com/servo/servo/pull/22780#discussion_r252767768)

<!-- 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/22806)
<!-- Reviewable:end -->
2019-02-05 10:15:28 -05:00
Simon Sapin
4c2dcff80b Compat with rustc 1.34.0-nightly (f6fac4225 2019-02-03) 2019-02-05 10:56:40 +01:00
WPT Sync Bot
f9b7afc45e Update web-platform-tests to revision fe78f2a1ad48c1e0132634e957369d8d674e4258 2019-02-04 23:30:37 -05:00
bors-servo
871fe9306f
Auto merge of #22786 - georgeroman:update_forked_referrer_policy_tests, r=jdm
Remove forked referrer policy tests

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

<!-- 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/22786)
<!-- Reviewable:end -->
2019-02-04 13:16:16 -05:00
bors-servo
40998d452d
Auto merge of #22819 - servo-wpt-sync:wpt_update_03-02-2019, r=jdm
Sync WPT with upstream (03-02-2019)

Automated downstream sync of changes from upstream as of 03-02-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/22819)
<!-- Reviewable:end -->
2019-02-03 23:02:38 -05:00
WPT Sync Bot
02a351684c Update web-platform-tests to revision db527a4944833201557faf740d4717c3ebe4c75f 2019-02-03 22:30:35 -05:00
bors-servo
481662d0a7
Auto merge of #22812 - servo-wpt-sync:wpt_update_02-02-2019, r=jdm
Sync WPT with upstream (02-02-2019)

Automated downstream sync of changes from upstream as of 02-02-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/22812)
<!-- Reviewable:end -->
2019-02-03 00:11:33 -05:00
WPT Sync Bot
314da91646 Update web-platform-tests to revision 78c15447152438264b49f4488683f60ee47d068f 2019-02-02 23:01:11 -05:00
bors-servo
007333e123
Auto merge of #22811 - UK992:mach-package-2, r=jdm
Windows: Add more missing dependencies

From https://github.com/servo/servo/pull/21968#issuecomment-459932742
r? @jdm

cc @atouchet

<!-- 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/22811)
<!-- Reviewable:end -->
2019-02-02 09:07:42 -05:00
bors-servo
4e463dec65
Auto merge of #22810 - servo-wpt-sync:wpt_update_01-02-2019, r=jdm
Sync WPT with upstream (01-02-2019)

Automated downstream sync of changes from upstream as of 01-02-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/22810)
<!-- Reviewable:end -->
2019-02-02 07:57:53 -05:00
UK992
4c236222c1 Add more GStreamer DLLs 2019-02-02 13:37:39 +01:00
UK992
ac8ac39ef3 Alphabetically sort GStreamer dlls 2019-02-02 13:36:12 +01:00
WPT Sync Bot
71dcf37d55 Update web-platform-tests to revision 0f0b7a7e353421b600ee555bf354d3a98bb603ae 2019-02-01 22:58:23 -05:00
bors-servo
363073568e
Auto merge of #21968 - UK992:mach-package, r=jdm
Windows: Add missing dependencies

Rebased https://github.com/servo/servo/pull/16445 and updated with Gstreamer DLLs.

About msi installer, there is also included gstreamer installer, should be removed and replaced by needed gstreamer DLLs or keep it at is it?

Fixes #16422.

<!-- 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/21968)
<!-- Reviewable:end -->
2019-02-01 18:02:59 -05:00
UK992
f374dc3b7d Taskcluster: Install gstreamer-1.0-x86_64-1.14.3.msi 2019-02-01 22:35:53 +01:00
Josh Matthews
086d2f4c26
Avoid locking network timing data unnecessarily. 2019-02-01 15:47:14 -05:00
bors-servo
4a6b911908
Auto merge of #22259 - jdm:signal, r=jdm
Make the signal handler exit immediately

This addresses #22240 by immediately exiting, rather than sometimes triggering a SIGBUS by aborting that can be caught recursively.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22240
- [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/22259)
<!-- Reviewable:end -->
2019-02-01 12:17:22 -05:00
Josh Matthews
342b9efc3c Upgrade sig dependency. 2019-02-01 12:16:35 -05:00
Fernando Jiménez Moreno
c2e975affb Update gstreamer binaries for Android with webrtc related plugins 2019-02-01 17:10:26 +01:00
George Roman
e6b363df5b Remove forked referrer policy tests 2019-02-01 18:08:45 +02:00