Commit graph

40686 commits

Author SHA1 Message Date
Simon Sapin
dcad5f68e7 Enable CSS 2 tests 2020-03-06 13:43:49 +01:00
bors-servo
356c4e0bc8
Auto merge of #25678 - servo:smup, r=asajeffrey
Update SpiderMonkey

Do not merge.
2020-03-06 05:20:26 -05:00
Anthony Ramine
5a4f8cf93f Update SpiderMonkey 2020-03-06 11:13:28 +01:00
bors-servo
ca25e18791
Auto merge of #25903 - mmatyas:webgl_fns_framebuf_render_validation_fix, r=jdm
Improved the WebGL2 framebuffer render validation

It seems `MissingColorAttachment` should be returned only when all of the color attachments are missing.

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

cc @jdm @zakorgy

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

<!-- 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. -->
2020-03-05 12:26:47 -05:00
Mátyás Mustoha
5cb6eb2744 Improved the WebGL2 framebuffer render validation
It seems `MissingColorAttachment` should be returned only when
all of the color attachments are missing.
2020-03-05 16:48:42 +01:00
bors-servo
813be91926
Auto merge of #25863 - servo:synup, r=jdm
Remove syn 0.15 from our crate graph
2020-03-05 10:03:48 -05:00
bors-servo
2ed5694194
Auto merge of #25902 - servo-wpt-sync:wpt_update_05-03-2020, r=servo-wpt-sync
Sync WPT with upstream (05-03-2020)

Automated downstream sync of changes from upstream as of 05-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-05 08:02:53 -05:00
Anthony Ramine
9996e48500 Remove syn 0.15 from our crate graph (fixes #24421)
This required bumps of:

* gleam
* image
* rust-webvr
* webrender
* webxr
2020-03-05 13:01:13 +01:00
WPT Sync Bot
a7b57c1cbf Update web-platform-tests to revision 51b8e0940e87eda1f843a48d847d653b9a22c8c4 2020-03-05 10:41:37 +00:00
bors-servo
ac6df52d2c
Auto merge of #25899 - servo:jdm-patch-41, r=paulrouget
Disable devtools for HoloLens.

Apparently new pre-release OS images have something using port 6000 and this makes it impossible to start our app. Let's disable it for the short term.
2020-03-05 04:30:19 -05:00
bors-servo
d5724ccbf4
Auto merge of #25896 - iulianR:issue-25889, r=paulrouget
Remove unnecessary .clone() calls

<!-- 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 #25889 (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. -->
2020-03-05 04:11:38 -05:00
bors-servo
ea8aed1ba9
Auto merge of #25898 - jdm:rustup, r=asajeffrey
Update to 3/4 nightly rustc.

The comment changes address a bunch of new warnings that look like this:
```
warning: unused doc comment
   --> components/script/dom/rtcpeerconnection.rs:449:5
    |
449 |     /// https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-signalingstatechange
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macros
    |
    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
```
2020-03-04 18:21:12 -05:00
Josh Matthews
1898b7c59f
Disable devtools for HoloLens. 2020-03-04 15:32:52 -05:00
Josh Matthews
bf7537ef5b Update to 3/4 nightly rustc. 2020-03-04 15:08:18 -05:00
Iulian Gabriel Radu
68c40da64a Remove unnecessary .clone() calls 2020-03-04 20:09:56 +02:00
bors-servo
3749eb5397
Auto merge of #25890 - servo-wpt-sync:wpt_update_04-03-2020, r=servo-wpt-sync
Sync WPT with upstream (04-03-2020)

Automated downstream sync of changes from upstream as of 04-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-04 08:45:50 -05:00
WPT Sync Bot
e469d2e43d Update web-platform-tests to revision 34f3acabcceff6504c38bd826aca9c0728f26234 2020-03-04 13:40:20 +00:00
bors-servo
301980c840
Auto merge of #25814 - szeged:mmatyas__webgl_fns_framebuf_texlayer, r=jdm
Add support for WebGL2 FramebufferTextureLayer

Adds support for `FramebufferTextureLayer` WebGL2 call.

See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4

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

Depends on #25798.

cc @jdm @zakorgy

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

<!-- 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. -->
2020-03-04 08:20:52 -05:00
Mátyás Mustoha
8389189d94 Add support for WebGL2 FramebufferTextureLayer
Adds support for `FramebufferTextureLayer` WebGL2 call.

See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4
2020-03-04 10:07:13 +01:00
bors-servo
61cf25c98a
Auto merge of #25886 - servo-wpt-sync:wpt_update_03-03-2020, r=jdm
Sync WPT with upstream (03-03-2020)

Automated downstream sync of changes from upstream as of 03-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-03 15:21:27 -05:00
bors-servo
386759ca90
Auto merge of #25852 - szeged:mmatyas__webgl_fns_renderbuf_enums, r=jdm
Allow more WebGL2 FBO attachment formats

Add support for most of the framebuffer attachment formats introduced in WebGL2 for textures and renderbuffers.

Related format tables:

- https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml
- https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glRenderbufferStorage.xhtml

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

cc @jdm @zakorgy

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

<!-- 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. -->
2020-03-03 12:42:16 -05:00
bors-servo
56b5d9d048
Auto merge of #25798 - szeged:mmatyas__webgl_fns_framebuf_invalidate, r=jdm
Add support for WebGL2 framebuffer invalidation

Adds support for the `invalidateFramebuffer` and `invalideSubFramebuffer` WebGL2 calls.

See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4

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

Depends on #25785.

cc @jdm @zakorgy

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

<!-- 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. -->
2020-03-03 11:34:23 -05:00
bors-servo
ad6f556876
Auto merge of #25867 - pylbrecht:apply.transform, r=jdm
Make CanvasRenderingContext2D.fillRect() draw patterns correctly

<!-- 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 part of #25331

<!-- Either: -->
- [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. -->
2020-03-03 10:22:22 -05:00
Josh Matthews
bd742d093f
Remove intermittent crash. 2020-03-03 09:25:08 -05:00
Mátyás Mustoha
cc07d930c8 Add support for WebGL2 framebuffer invalidation
Adds support for the `invalidateFramebuffer` and `invalideSubFramebuffer`
WebGL2 calls.

See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4
2020-03-03 14:54:17 +01:00
Mátyás Mustoha
859a3a4924 Allow more WebGL2 FBO attachment formats
Add support for most of the framebuffer attachment formats
introduced in WebGL2 for textures and renderbuffers.

Related format tables:

- https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glTexImage2D.xhtml
- https://www.khronos.org/registry/OpenGL-Refpages/es3.0/html/glRenderbufferStorage.xhtml
2020-03-03 14:50:48 +01:00
WPT Sync Bot
bdf20e37ce Update web-platform-tests to revision 556afc9ad1a27504be759fb9e62a266a1f653b09 2020-03-03 13:30:08 +00:00
pylbrecht
967fabb0d0 Make fill_rect() draw patterns correctly 2020-03-03 07:01:27 +01:00
bors-servo
c0d9ee0ce2
Auto merge of #25879 - servo:jdm-patch-41, r=jdm
Remove broken thumbprint.

This prevents me from building locally every time I make a new clone of Servo or try a branch that still has it present.
2020-03-02 16:10:10 -05:00
bors-servo
eef3899fb1
Auto merge of #25878 - servo-wpt-sync:wpt_update_02-03-2020, r=servo-wpt-sync
Sync WPT with upstream (02-03-2020)

Automated downstream sync of changes from upstream as of 02-03-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-03-02 15:01:06 -05:00
bors-servo
19a8c917f5
Auto merge of #25876 - CYBAI:mime-essence, r=Manishearth
Upgrade mime crate to use the essence function

While implementing module script, the `essence` function is not supported in mime crate yet so Manish filed the issue.

So, as that issue is fixed and shipped, we can upgrade mime crate to use the `essence_str` function.

I've tried to run https://threejs.org/examples/webgl_animation_cloth.html locally. Other than a bunch of `Unimplemented canvas2d.fillText`, I can see the animated cloth.

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

<!-- 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. -->
2020-03-02 13:43:52 -05:00
bors-servo
3cbbb2bc8c
Auto merge of #25877 - servo:byebye-android, r=jdm
Disable Android CI builds
2020-03-02 13:13:58 -05:00
Josh Matthews
1901d11061
Remove broken thumbprint. 2020-03-02 11:46:31 -05:00
bors-servo
5a6b2d94d4
Auto merge of #25781 - nox:fixzeal, r=jdm
Introduce a new type MaybeUnreflectedDom<T> (fixes #25701)
2020-03-02 08:20:00 -05:00
bors-servo
19323e8f28
Auto merge of #25862 - mrobinson:transforms-containing-block, r=pcwalton,nox
Have transforms and filters be CBs for all descendants in layout_2020

This is a feature that was never properly implemented in the previous
layout system. We still need to preserve their in-tree order in the
display list though.

<!-- 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
- [ ] These changes fix #___ (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. -->
2020-03-02 07:23:15 -05:00
WPT Sync Bot
23a763647a Update web-platform-tests to revision 55f393043461e6a00cc96439d52faebc09fe2da1 2020-03-02 11:21:45 +00:00
Martin Robinson
8de55695e4 Have transforms and filters be CBs for all descendants in layout_2020
This is a feature that was never properly implemented in the previous
layout system. We still need to preserve their in-tree order in the
display list though.
2020-03-02 11:47:00 +01:00
Anthony Ramine
74aca0703f Disable Android CI builds 2020-03-02 11:27:37 +01:00
CYBAI
5245921c5c Use essence algorithm from mime crate 2020-03-02 11:05:10 +09:00
CYBAI
1c910da749 Upgrade mime to 0.3.16 2020-03-02 11:04:35 +09:00
bors-servo
d42835b238
Auto merge of #25869 - iulianR:issue-23057-tinifiledialogs, r=jdm
Move tinyfiledialog call from script to embedder

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

PR is based on work started in #23651. I rebased on top of master and addressed review comments. Handling the `PromptPermission` message in `libsimpleservo` is probably not ideal. Looking forward to make more changes, just let me know how I should proceed.

---
<!-- 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 #23057 (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. -->
2020-02-29 14:52:15 -05:00
Iulian Gabriel Radu
3b85c6a24e Update expectations for permissions tests 2020-02-29 20:34:07 +02:00
bors-servo
0260176f09
Auto merge of #25874 - servo-wpt-sync:wpt_update_29-02-2020, r=servo-wpt-sync
Sync WPT with upstream (29-02-2020)

Automated downstream sync of changes from upstream as of 29-02-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-02-29 08:38:48 -05:00
WPT Sync Bot
953f6f0527 Update web-platform-tests to revision ddf26e73d3f23ef896efc7977d06707e74f46941 2020-02-29 13:38:37 +00:00
bors-servo
60ee61bb8b
Auto merge of #25871 - pylbrecht:upgrade.mozdebug, r=jdm
Upgrade to mozdebug 0.2

These changes fix #25868

<!-- 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. -->
2020-02-28 18:19:26 -05:00
bors-servo
44d8727ad3
Auto merge of #25866 - ferjm:url.generated.content, r=nox
Generate ::before and ::after content from url() for layout2020

- [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
2020-02-28 15:57:25 -05:00
bors-servo
317568b159
Auto merge of #25865 - servo-wpt-sync:wpt_update_28-02-2020, r=servo-wpt-sync
Sync WPT with upstream (28-02-2020)

Automated downstream sync of changes from upstream as of 28-02-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-02-28 15:39:26 -05:00
pylbrecht
3f8350ee6b Upgrade to mozdebug 0.2 2020-02-28 21:21:53 +01:00
Iulian Gabriel Radu
ffba9d0ea7 Handle PromptPermission in libsimpleservo 2020-02-28 22:02:52 +02:00
bors-servo
1fa0863f28
Auto merge of #25864 - mrobinson:rename-layout, r=jdm
Rename AbsolutelyPositionedBox::layout to AbsolutelyPositionedBox::to_hoisted

This method doesn't actually do any layout, but converts this block to a
HoistedAbsolutelyPositionedBox which is hoisted and then laid-out with
its containing block later. This makes the code a little easier to read.

<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it does not change behavior.

<!-- 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. -->
2020-02-28 12:34:48 -05:00