Commit graph

10691 commits

Author SHA1 Message Date
bors-servo
8cc619cfdb
Auto merge of #26111 - CYBAI:fix-origin-trustworthy, r=jdm
Update checking origin trustworthy align to spec

While reading the [spec of ` Is origin potentially trustworthy? `](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy), I found our second step is wrong; then, I found Josh said we didn't check it with `https` because we didn't support https in tests yet (https://github.com/servo/servo/pull/13574#discussion_r89346191).

IIRC, we've supported https wpt tests now so it might be fine to change it to align with spec.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] 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-04-13 01:45:57 -04:00
CYBAI
99a8ea26a1 Update checking origin trustworthy align to spec 2020-04-13 10:23:00 +09:00
WPT Sync Bot
e854d6a62a Update web-platform-tests to revision 1461434ba9b333a8f4ee0c9acfe9884ac5fbe112 2020-04-12 11:06:54 +00:00
WPT Sync Bot
ce631f7691 Update web-platform-tests to revision cf719a4f5e4affb623044004bcc8a61be7b94404 2020-04-11 10:59:00 +00:00
WPT Sync Bot
970a34bb8e Update web-platform-tests to revision ea9dc9c56d87f0b84f3d4e95c92fc796a4d6751f 2020-04-10 11:05:40 +00:00
bors-servo
455a99ca8d
Auto merge of #26154 - Manishearth:platform-object-overload, r=jdm
Do not filter out platform objects when doing dictionary conversions in overload resolution

https://heycam.github.io/webidl/#es-overloads

In step 12, the platform object check is for substep 4, but importantly it only matters if `V` implements the matching interface. If not, it should be able to fall back to substep 10 and attempt conversion to a dictionary.
2020-04-09 17:39:10 -04:00
Manish Goregaokar
58bab8a7e9 Add test for overloading with interface and dict 2020-04-09 12:31:13 -07:00
WPT Sync Bot
17d194dd89 Update web-platform-tests to revision 6838f7e5fbddf9c77a93b0e8cd2e27c0fcfed86f 2020-04-09 11:02:30 +00:00
bors-servo
37023b24f2
Auto merge of #26136 - asajeffrey:goodbye-webvr, r=Manishearth
Remove WebVR

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

Removes support for WebVR. WebXR is our future!

---
<!-- 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 how do you test

<!-- 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-04-08 23:02:50 -04:00
Alan Jeffrey
c611e46381 Remove WebVR 2020-04-08 20:23:41 -05:00
bors-servo
e1dd0d9bca
Auto merge of #26140 - servo-wpt-sync:wpt_update_08-04-2020, r=jdm
Sync WPT with upstream (08-04-2020)

Automated downstream sync of changes from upstream as of 08-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-08 13:24:56 -04:00
Josh Matthews
9673091d7a webgl: Only error when beginning transform feedback on programs that have no varying values. 2020-04-08 12:43:11 -04:00
Josh Matthews
7dc59b9d76
Remove layout-2020 failure. 2020-04-08 10:21:34 -04:00
WPT Sync Bot
19a2b8047d Update web-platform-tests to revision 30a08266e1951b16ab2587068de64041095bbc2f 2020-04-08 10:50:40 +00:00
Daniel Alley
376155b58e Update raqote 2020-04-07 23:08:42 -04:00
Josh Matthews
66b2b3293d webgl: Fix active uniform block length check. 2020-04-07 16:16:05 -04:00
Istvan
62f00df79d Add initial support for VertexAttribI4*, VertexAttribIPointer
Adds initial support for the WebGL2 `VertexAttribI4i`, `VertexAttribI4iv`, `VertexAttribI4ui`, `VertexAttribI4uiv` and `VertexAttribIPointer` calls.
2020-04-07 15:01:39 -04:00
bors-servo
5a26190fc9
Auto merge of #26131 - servo-wpt-sync:wpt_update_07-04-2020, r=servo-wpt-sync
Sync WPT with upstream (07-04-2020)

Automated downstream sync of changes from upstream as of 07-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-07 12:52:44 -04:00
bors-servo
2002f490ef
Auto merge of #26130 - Manishearth:euclidup, r=nox
Update euclid

r? @nox @jdm
2020-04-07 11:51:38 -04:00
Manish Goregaokar
fccfff11c5 Update euclid 2020-04-07 08:51:08 -07:00
bors-servo
95da6dbd6d
Auto merge of #26104 - tipowol:fix-23704, r=paulrouget
Update parse_length to match 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 #23704
- [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-04-07 08:04:39 -04:00
WPT Sync Bot
7da408021a Update web-platform-tests to revision 5254eba7f17d10211b56c0d1958649bca29e8985 2020-04-07 10:45:43 +00:00
WPT Sync Bot
4e37dd1013 Update web-platform-tests to revision d7a573df46aac1ebc338ff993c54a18f2b9ff1a4 2020-04-06 10:41:55 +00:00
WPT Sync Bot
9bf4e63ec5 Update web-platform-tests to revision 1a83e795e53c50c1306a14a7bb8e3f7ccfa7f89f 2020-04-05 10:55:39 +00:00
bors-servo
406eefb4b1
Auto merge of #26109 - servo-wpt-sync:wpt_update_04-04-2020, r=servo-wpt-sync
Sync WPT with upstream (04-04-2020)

Automated downstream sync of changes from upstream as of 04-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-04 22:34:05 -04:00
bors-servo
d64f7d427a
Auto merge of #26105 - servo:layout-2020-less-opaque, r=emilio
Make DOM own the style and layout data, in an UnsafeCell
2020-04-04 09:35:34 -04:00
Anthony Ramine
4c61baee30 Make OpaqueLayoutAndStyleData just a bit less opaque
It now stores a NonNull<dyn Any>.
2020-04-04 13:08:51 +02:00
WPT Sync Bot
136aa4015b Update web-platform-tests to revision 919ca26d28f02c636d4fa3d4e910a6038f02d993 2020-04-04 10:57:37 +00:00
Tipowol
94f08adfc7 Update parse_length to match spec 2020-04-03 21:32:02 +02:00
bors-servo
f7d3d4a447
Auto merge of #26065 - dralley:fix-motionmark, r=cbrewster,SimonSapin
Don't send empty canvases to WebRender

If any dimension of a canvas is 0, don't try to display it as it causes
problems inside webrender.

Minimal test case available here: https://github.com/servo/servo/issues/21411#issuecomment-605226547

---
<!-- 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
- [ ] `./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-04-03 13:57:33 -04:00
Daniel Alley
61fb84d6a0 Don't send empty canvases to WebRender
If any dimension of a canvas is 0, don't try to render it as it causes
problems inside webrender.
2020-04-03 11:34:04 -04:00
Josh Matthews
e1af489ea2
Create element-replacement-on-replaced-element.tentative.html.ini 2020-04-03 10:30:01 -04:00
WPT Sync Bot
018bc3f219 Update web-platform-tests to revision c063a8c9acc637e3bd72b719b46e6f2fb627da4a 2020-04-03 11:08:23 +00:00
bors-servo
e66ab111a6
Auto merge of #26094 - servo-wpt-sync:wpt_update_02-04-2020, r=jdm
Sync WPT with upstream (02-04-2020)

Automated downstream sync of changes from upstream as of 02-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-02 12:13:04 -04:00
Josh Matthews
65fd97cce9
Add mac-only failure. 2020-04-02 10:57:34 -04:00
WPT Sync Bot
6b740f0283 Update web-platform-tests to revision 6366ae15c2bc2314adca4321357c68bb468fec98 2020-04-02 11:05:54 +00:00
teapotd
779552ee7d Form constraints validation 2020-04-02 10:16:46 +02:00
bors-servo
7dcd83f488
Auto merge of #26084 - servo-wpt-sync:wpt_update_01-04-2020, r=servo-wpt-sync
Sync WPT with upstream (01-04-2020)

Automated downstream sync of changes from upstream as of 01-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-01 21:57:58 -04:00
bors-servo
516279e24f
Auto merge of #26074 - jdm:transition-fix, r=SimonSapin
Avoid infinitely looping CSS transitions.

This change addresses the long-standing issue of CSS transitions not ending appropriately. It does not fundamentally change the way we process transitions/animations.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20379
- [x] There are tests for these changes
2020-04-01 15:19:15 -04:00
Josh Matthews
2bb6ab4567 Avoid infinitely looping CSS transitions. 2020-04-01 12:13:52 -04:00
WPT Sync Bot
d8c042fbb2 Update web-platform-tests to revision 3bf30e8f1c56700c4b48508e876e72cccb7437ed 2020-04-01 10:58:32 +00:00
Simon Sapin
4bfe194486 Update WPT expectations 2020-04-01 01:00:14 +02:00
Simon Sapin
5f75f7ffdd Add expectations for newly-enabled css-ui tests 2020-03-31 23:04:07 +02:00
Simon Sapin
ff27b725a1 Enable css-ui tests, for the 'box-sizing' property 2020-03-31 23:01:55 +02:00
Simon Sapin
8350f8a08a Don’t forget to apply the inline-start margin to blocks 🤦 2020-03-31 22:59:43 +02:00
WPT Sync Bot
1dbfe69c91 Update web-platform-tests to revision 5721f7843f406054b8e02b0e33ff8e733830cc3d 2020-03-31 11:02:10 +00:00
bors-servo
f9e7c6b9dc
Auto merge of #26054 - shnmorimoto:fix_tojson_unconditionally_serializes, r=jdm
Fix tojson unconditionally serializes

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

<!-- 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-31 02:33:53 -04:00
bors-servo
687156ac90
Auto merge of #26063 - dralley:fix-assertion, r=cbrewster
Fix failing assertion -- failure to pop reference frame

closes #23438

In-depth description here: https://github.com/servo/servo/issues/23438#issuecomment-605553001

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes fix #23438 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
2020-03-31 00:04:46 -04:00
Daniel Alley
3258bcaa8b Fix failing assertion -- failure to pop reference frame
closes #23438
2020-03-30 23:29:19 -04:00
bors-servo
77b02393fb
Auto merge of #26009 - SasiDharKM:master, r=jdm
Implementation for ImageBitmap

<!-- Please describe your changes on the following line: -->
Created the boilerplate code for the image bitmap implementation.

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

<!-- 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-30 19:26:39 -04:00