Commit graph

36768 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
76c0ae565e style: Fix ::marker invalidation when we need to potentially insert a marker as a result of a style change.
Differential Revision: https://phabricator.services.mozilla.com/D24888
2019-04-12 12:19:37 +02:00
Emilio Cobos Álvarez
1f73c524bd style: Follow the list-item definition from the spec a bit more closely.
The HTML restriction doesn't match any browser.

This matches Edge, though I filed
https://github.com/w3c/csswg-drafts/issues/3766 about the pseudo-element
condition.

Differential Revision: https://phabricator.services.mozilla.com/D24936
2019-04-12 12:19:36 +02:00
Julian Descottes
5a55978478 style: Augment CSS errors with the CSS selector.
Differential Revision: https://phabricator.services.mozilla.com/D24894
2019-04-12 12:19:35 +02:00
bors-servo
4fbbcdddbe
Auto merge of #23195 - servo-wpt-sync:wpt_update_12-04-2019, r=servo-wpt-sync
Sync WPT with upstream (12-04-2019)

Automated downstream sync of changes from upstream as of 12-04-2019.
[no-wpt-sync]
2019-04-12 01:21:27 -04:00
WPT Sync Bot
dd79cdc697 Update web-platform-tests to revision 386d27678c48bf468b8d374e2ba718e32185a5b7 2019-04-12 01:21:13 -04:00
bors-servo
1e4b42a90b
Auto merge of #23191 - paulrouget:no_proxy_clone, r=ferjm
Remove useless embedder proxy clone

<!-- 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/23191)
<!-- Reviewable:end -->
2019-04-11 20:42:12 -04:00
bors-servo
c24420ddbe
Auto merge of #23190 - servo-wpt-sync:wpt_update_11-04-2019, r=servo-wpt-sync
Sync WPT with upstream (11-04-2019)

Automated downstream sync of changes from upstream as of 11-04-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/23190)
<!-- Reviewable:end -->
2019-04-11 19:11:06 -04:00
bors-servo
bbedcb3b1a
Auto merge of #23184 - servo:jdm-patch-28, r=SimonSapin
Force python 2.7 on TravisCI.

From TravisCI:
```
 This job is running using the default Python version, which will be updated to 3.6 on April 16th, 2019. You can explicitly stay on the previous version by specifying python: 2.7 in your .travis.yml.
```

<!-- 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/23184)
<!-- Reviewable:end -->
2019-04-11 17:22:46 -04:00
bors-servo
db9300d3e6
Auto merge of #23183 - krk:fix-23144, r=asajeffrey
Replace panic with warn in DocumentLoader.finish_load.

Fix panic on broken script URL with an onerror handler that rewrites the document.

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

<!-- 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/23183)
<!-- Reviewable:end -->
2019-04-11 14:33:44 -04:00
bors-servo
9ab0af01fe
Auto merge of #22521 - lucasfantacuci:use_build_pattern_with_requestinit, r=jdm,KiChjang
Refactoring RequestInit to use a Builder Pattern

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

If RequestInit::new accepts all of the mandatory arguments and then the builder pattern is used for customizable options, the resulting code might be easier to match against specification text like

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22427
- [x] These changes do not require tests because it is a code refactoring.

<!-- 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/22521)
<!-- Reviewable:end -->
2019-04-11 12:58:34 -04:00
Fernando Jiménez Moreno
0eb2c1d02e Do not tie media element 'muted' state change to player availability 2019-04-11 09:02:49 +02:00
Paul Rouget
906a33ad0f Remove useless embedder proxy clone 2019-04-11 08:43:12 +02:00
WPT Sync Bot
7e807a0d1e Update web-platform-tests to revision e3d0146264093a389148cc555ee9be69bd75719b 2019-04-11 00:31:30 -04:00
krk
458795d485 Do not unwrap empty unminified_js_dir in HTMLScriptElement.unminify_js. 2019-04-10 22:10:59 +02:00
krk
4af50f96fa Add css-align tests with failure expectations. 2019-04-10 21:41:02 +02:00
Lucas Fantacuci
6b2be9b31d Implementing the builder pattern for RequestInit 2019-04-10 14:01:30 -03:00
Fernando Jiménez Moreno
af242a0571 MediaStream playback through audio and video elements 2019-04-10 17:55:46 +02:00
Josh Matthews
f316fb4b3b
Force python 2.7 on TravisCI. 2019-04-09 18:07:53 -04:00
krk
211fb00574 Replace panic with warn in DocumentLoader.finish_load.
Fix panic on broken script URL with an onerror handler that rewrites the
document.
2019-04-09 21:05:38 +02:00
bors-servo
dd2deeabca
Auto merge of #23181 - servo-wpt-sync:wpt_update_09-04-2019, r=jdm
Sync WPT with upstream (09-04-2019)

Automated downstream sync of changes from upstream as of 09-04-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/23181)
<!-- Reviewable:end -->
2019-04-09 07:47:33 -04:00
Josh Matthews
1bdca9ce84
Delete Secure-Send-binary-65K-arraybuffer.any.js.ini 2019-04-09 07:17:43 -04:00
WPT Sync Bot
1a4444a557 Update web-platform-tests to revision 687b6cba3385c4c2ca85f44fe072961e651621b5 2019-04-09 00:21:08 -04:00
Manish Goregaokar
ea3609b42e Add some math verifying relationship between get_viewer_pose and get_pose 2019-04-08 17:31:07 -07:00
Manish Goregaokar
91378cc859 Add rough support for floor-level space 2019-04-08 17:31:07 -07:00
bors-servo
cd579f6746
Auto merge of #23176 - servo-wpt-sync:wpt_update_08-04-2019, r=jdm
Sync WPT with upstream (08-04-2019)

Automated downstream sync of changes from upstream as of 08-04-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/23176)
<!-- Reviewable:end -->
2019-04-08 12:25:29 -04:00
bors-servo
b557c4c0b3
Auto merge of #23162 - CYBAI:wpt-auto-reviewed, r=jdm
Review WPT sync PRs automatically

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23113
- [x] These changes do not require tests because it's about infrastructure

<!-- 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/23162)
<!-- Reviewable:end -->
2019-04-08 10:11:05 -04:00
WPT Sync Bot
733bcbdd2b Update web-platform-tests to revision 2221fe343f0f4cb4e4e382bfd43bc8b1e69a98ba 2019-04-08 00:34:34 -04:00
bors-servo
4a4d878f18
Auto merge of #23166 - paulrouget:less-gl-clone, r=jdm
call window.gl() once

<!-- 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/23166)
<!-- Reviewable:end -->
2019-04-07 23:06:34 -04:00
bors-servo
8073e9a505
Auto merge of #23174 - soniasingla:DefaultPaths, r=jdm
Add default paths for WPT tests

Set the following default configs for WPT tests.
```--ca-cert-path=tests\wpt\web-platform-tests\tools\certs\cacert.pem
--host-key-path=tests\wpt\web-platform-tests\tools\certs\web-platform.test.key
--host-cert-path=tests\wpt\web-platform-tests\tools\certs\web-platform.test.pem
--ssl-type=pregenerated
```
<!-- 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 #23133

<!-- 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/23174)
<!-- Reviewable:end -->
2019-04-07 12:18:17 -04:00
Sonia Singla
9d48ca1298 fix identation 2019-04-07 20:37:05 +05:30
bors-servo
1a21c047ff
Auto merge of #23175 - servo:CYBAI-patch-1, r=jdm
Add a note to indicate PKG_CONFIG_PATH required

I just got the error messages like #23015 again and then I think the root cause should be about
`PKG_CONFIG_PATH`. After following https://github.com/servo/servo/issues/23015#issuecomment-475050175 said, I can build Servo successfully.

---
- [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 just updates README.

<!-- 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/23175)
<!-- Reviewable:end -->
2019-04-07 10:56:35 -04:00
cybai
aa0b4abc9d
Add a note to indicate PKG_CONFIG_PATH required 2019-04-07 22:21:05 +09:00
Sonia Singla
37259d216d Add default paths for WPT tests 2019-04-07 18:17:07 +05:30
bors-servo
65e37e6845
Auto merge of #23173 - servo-wpt-sync:wpt_update_07-04-2019, r=jdm
Sync WPT with upstream (07-04-2019)

Automated downstream sync of changes from upstream as of 07-04-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/23173)
<!-- Reviewable:end -->
2019-04-07 05:54:51 -04:00
Paul Rouget
5f5a3393eb call window.gl() once 2019-04-07 09:03:52 +02:00
WPT Sync Bot
401e01095b Update web-platform-tests to revision 923923a01f38577f471b1e613c4223a21ac027ff 2019-04-07 00:02:56 -04:00
bors-servo
0b19a3dbfb
Auto merge of #23170 - servo-wpt-sync:wpt_update_05-04-2019, r=jdm
Sync WPT with upstream (05-04-2019)

Automated downstream sync of changes from upstream as of 05-04-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/23170)
<!-- Reviewable:end -->
2019-04-06 06:11:44 -04:00
bors-servo
be1e0690eb
Auto merge of #23158 - BartGitHub:promise-constructor, r=jdm
Promise constructor

In this PR, measures are taken that prevent the ```Promise::new``` constructor from being used outside a compartment.

---
<!-- 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 #22982 (GitHub issue number if applicable)

<!-- Either: -->
- [x] These changes do not require tests because no new functionality is added.

<!-- 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/23158)
<!-- Reviewable:end -->
2019-04-06 03:33:08 -04:00
WPT Sync Bot
ce9f8f32f1 Update web-platform-tests to revision 4688078c2cc6e81651b220f3c1944d956f63046b 2019-04-05 23:55:05 -04:00
Manish Goregaokar
e5b802ecce Support position-disabled spaces 2019-04-05 20:18:35 -07:00
Manish Goregaokar
cdbc08b911 Set transform.inverse.inverse == transform
https://github.com/immersive-web/webxr/issues/576
2019-04-05 20:18:35 -07:00
bors-servo
967efc7fbc
Auto merge of #23164 - Manishearth:getpose, r=asajeffrey
Add XRFrame.getPose()

I think I've figured out the model of poses, waiting on Nell for confirmation.

Basically, `getViewerPose(p)` is equivalent to `getPose(source=viewerSpace, relative_to=p)`

The eye-level space, for example, is stationary and stuck to the origin. The position-disabled and identity spaces somewhat counterintuitively follow you around (and appear to be stationary from `getViewerPose()` but not `getPose()`.

The incorrect mental model kinda "works" when looking at only `getViewerPose()`, but we need to figure it out for `getPose()`.

Todo (may add to this PR, but probably not)

 - implement `XRSession.viewerSpace`
 - implement position-disabled
 - implement floor-level (hard to test without a 6dof device)

r? @asajeffrey

<!-- 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/23164)
<!-- Reviewable:end -->
2019-04-05 21:00:47 -04:00
CYBAI
69da3aee19 Review WPT sync PRs automatically 2019-04-06 00:23:49 +09:00
bors-servo
e7b65c42c4
Auto merge of #23143 - CYBAI:remove-compound-microtasks, r=jdm
Remove compound microtasks

We handled compound microtasks as microtasks so, basically, we only need
to remove the naming of `compound`.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23140
- [x] These changes do not require tests because the updated spec is more about editorial.

<!-- 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/23143)
<!-- Reviewable:end -->
2019-04-05 10:51:09 -04:00
bors-servo
5defd51ba7
Auto merge of #23165 - servo-wpt-sync:wpt_update_05-04-2019, r=jdm
Sync WPT with upstream (05-04-2019)

Automated downstream sync of changes from upstream as of 05-04-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/23165)
<!-- Reviewable:end -->
2019-04-05 07:49:09 -04:00
WPT Sync Bot
2575230dce Update web-platform-tests to revision 0cde5f6b37c9b3e3f9153eb1b172680e9aea9bf9 2019-04-05 00:50:36 -04:00
Manish Goregaokar
813613628d Add XRSession.viewerSpace 2019-04-04 17:45:09 -07:00
Manish Goregaokar
7e4b6512a7 Add XRFrame.getPose() 2019-04-04 17:22:08 -07:00
Manish Goregaokar
3d790278f1 Validate spaces passed to getViewerPose() 2019-04-04 17:22:08 -07:00
Manish Goregaokar
e33896f3ec Add proper get_pose for XRSpaces 2019-04-04 16:06:23 -07:00