Commit graph

922 commits

Author SHA1 Message Date
WPT Sync Bot
9f516d3717 Update web-platform-tests to revision b704e37ec97fe90b3a3d59c10f78c21907b5b576 2018-10-30 23:10:39 -04:00
WPT Sync Bot
5682eb7930 Update web-platform-tests to revision 7b078f0d6ff82157c57f343838f61b5200686e53 2018-10-29 23:47:58 -04:00
bors-servo
2f8dc65519
Auto merge of #21976 - notriddle:iframe-target-form-race, r=jdm
Assign a name to iframes when loading the initial about:blank

Before, it would assign the name too late, causing scripts (which will not wait for another tick) to accidentally spawn pop-up windows instead of loading into the iframe.

---
<!-- 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 #21886
- [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/21976)
<!-- Reviewable:end -->
2018-10-29 15:29:31 -04:00
Michael Howell
10442ae894 Use t.step_func and expected path checking 2018-10-29 18:52:40 +00:00
WPT Sync Bot
0371218e22 Update web-platform-tests to revision 2e7a549d07c54cbdb9002634bf5a4cc6ce8f9acb 2018-10-28 23:36:02 -04:00
WPT Sync Bot
9d212c9f3d Update web-platform-tests to revision 71c05e71317fec5f71d5575cd636b0a8e3835f9c 2018-10-27 23:44:26 -04:00
WPT Sync Bot
c6927c2425 Update web-platform-tests to revision b622fea47d516f82e303c1954d0aee2652466c80 2018-10-26 23:48:19 -04:00
WPT Sync Bot
e07315e6af Update web-platform-tests to revision d8b8e0b8efe993a37404d6c6fc75e16fdc16b7d8 2018-10-25 23:09:38 -04:00
bors-servo
17576964d3
Auto merge of #22001 - servo-wpt-sync:wpt_update_22-10-2018, r=jdm
Sync WPT with upstream (22-10-2018)

Automated downstream sync of changes from upstream as of 22-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/22001)
<!-- Reviewable:end -->
2018-10-23 14:12:36 -04:00
bors-servo
30d9962b70
Auto merge of #20755 - CYBAI:unhandled-rejection, r=jdm
Implement unhandledrejection event

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #15412
- [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/20755)
<!-- Reviewable:end -->
2018-10-23 10:56:38 -04:00
WPT Sync Bot
835d593cd0 Update web-platform-tests to revision 2b758296541cf4f2209b8c2352cf6c7890c97be3 2018-10-22 22:54:03 -04:00
WPT Sync Bot
d0eccdba1a Update web-platform-tests to revision 824f0c1df556305042b8aa8073c32e9ef86c3efa 2018-10-18 22:56:04 -04:00
Michael Howell
eafcd91760 Assign a name to iframes when loading the initial about:blank
Before, it would assign the name too late,
causing scripts (which will not wait for another tick)
to accidentally spawn pop-up windows instead of loading
into the iframe.
2018-10-19 00:21:06 +00:00
CYBAI
32185566c9 Assert decodeAudioData not reach the catch 2018-10-18 22:12:23 +08:00
CYBAI
46b9f61417 Catch the rejected promise to avoid harness error 2018-10-18 22:12:02 +08:00
CYBAI
0284afc51a Assert play promise rejected caused by pause() 2018-10-18 21:55:07 +08:00
WPT Sync Bot
ed390a659c Update web-platform-tests to revision ade06500869396f7a46b95bc3553af4ca9c07f31 2018-10-17 22:57:41 -04:00
WPT Sync Bot
b2341e328d Update web-platform-tests to revision 077bb422b7bb21491a414e334bc594d83ca9e55b 2018-10-16 22:45:55 -04:00
bors-servo
aa9591137a
Auto merge of #21933 - notriddle:navigation-redirect-status-code, r=nox
Thread the status through navigation redirects

This is necessary because status codes affect whether the redirect is done with the same HTTP method or a different one.

This is part of #21886, but there's also a flaw in how iframes are handled that is causing the redirect to take over the entire window, so this commit doesn't entirely fix slither.io.

---
<!-- 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 are part of #21886, but more changes are needed to actually fix it

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

<!-- 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/21933)
<!-- Reviewable:end -->
2018-10-16 09:21:22 -04:00
Michael Howell
65016d10e9 Add WPT test for 302 Found 2018-10-15 06:01:09 +00:00
WPT Sync Bot
c90753ca49 Update web-platform-tests to revision 937ed3c7b19bc4822a4909b2a8429a34c24a293a 2018-10-14 23:05:00 -04:00
WPT Sync Bot
81f079c722 Update web-platform-tests to revision 74d709131e3c91d09f1708378648a01957c47b38 2018-10-13 23:47:44 -04:00
bors-servo
e4657c1496
Auto merge of #21931 - jdm:reload-images, r=emilio
Make layout use available image data before querying the image cache.

These changes make layout more efficient for any page which contains images that have already loaded, since it does not require synchronously querying the image cache thread for each image present. It also makes reloading a page actually display the images that are already in the image cache.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21919
- [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/21931)
<!-- Reviewable:end -->
2018-10-13 07:56:11 -04:00
Josh Matthews
49d2ea4f74 Make layout use available image data before querying the image cache. 2018-10-12 21:55:09 -04:00
WPT Sync Bot
4cf0a092d0 Update web-platform-tests to revision d647a1bc742a533186d8297cae2a2bee669c7780 2018-10-11 23:44:24 -04: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
WPT Sync Bot
b33912a5ce Update web-platform-tests to revision 2c89bbecfab9a69190906abd7610c3bc62303dd4 2018-10-10 23:13:06 -04:00
WPT Sync Bot
3eaee747ed Update web-platform-tests to revision e15b5ebba7465e09bcda2962f6758cddcdcfa248 2018-10-09 22:45:22 -04:00
WPT Sync Bot
1c9e136e8e Update web-platform-tests to revision b0d2d2da21dfd03e86c5d710c926ae7df3b9f0d0 2018-10-07 22:54:00 -04:00
WPT Sync Bot
db9cbb4b2e Update web-platform-tests to revision ba4ca501a5ebdee8cbfc006bf9e7e44231b188d1 2018-10-06 23:25:22 -04:00
WPT Sync Bot
eda9b9b73a Update web-platform-tests to revision c2b30ef30749b6a8f2cc832761dfe011e63d5e94 2018-10-05 23:00:35 -04: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
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
WPT Sync Bot
7295abcc2a Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f 2018-09-27 23:48:13 -04:00
WPT Sync Bot
20a08918d9 Update web-platform-tests to revision 3d117ae1266e6bd039a3a1ab92b27e82c3ccc92d 2018-09-23 23:26:42 -04:00
WPT Sync Bot
8ea5658199 Update web-platform-tests to revision 50ff4f970fd8592a9f436d4e86e7d572de143260 2018-09-20 22:44:37 -04:00
nupurbaghel
7ab5df1106 implement missing steps for complete api 2018-09-20 03:13:32 +00:00
bors-servo
8277527874
Auto merge of #21733 - servo-wpt-sync:wpt_update_17-09-2018, r=jdm
Sync WPT with upstream (17-09-2018)

Automated downstream sync of changes from upstream as of 17-09-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/21733)
<!-- Reviewable:end -->
2018-09-19 14:47:13 -04:00
bors-servo
a02c43dc67
Auto merge of #21712 - Manishearth:analysernode, r=ferjm
Implement AnalyserNode

<s>Needs https://github.com/servo/media/pull/127 to land (and a dependency
update)</s>

r? @ferjm

realtimeanalyser-fft-scaling.html, the test that actually checks for some level of FFT correctness, sadly doesn't work since we don't process nodes not connected to the destination.

However I locally fixed the test to work differently and it passed. We'll fix the processing model eventually.

<!-- 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/21712)
<!-- Reviewable:end -->
2018-09-18 18:59:07 -04:00
Bastien Orivel
c692094225 Try to unlock the global lock in StructuredLogger after reloading logging
This should finally fix all the websockets related failures we've been
seeing lately.
2018-09-18 23:01:07 +02:00
Manish Goregaokar
e9be179952 Set default channel count for AnalyserNode to 2
This was deliberately changed
(https://github.com/WebAudio/web-audio-api/pull/1397 ) but the tests
have not been updated
2018-09-18 18:18:36 +05:30
WPT Sync Bot
141a52794b Update web-platform-tests to revision 8f8ff0e2a61f2a24996404921fe853cb1fd9b432 2018-09-17 22:59:59 -04:00
WPT Sync Bot
5e9d150c07 Update web-platform-tests to revision 1aaada4bbc936024441fe7995b77c21a2c554da1 2018-09-16 22:48:56 -04:00
Pyfisch
fabb70f874 Improve border images
Respect CSS border-image-width.
Properly support gradients as a border-image-source.
Only emit a border item if the border-width is non-zero
for simple borders but still emit one if the item is
an image as paint worklet that are not drawn cause servo
to hang and fail tests.

Add a new test and mark 4 more as passing.
2018-09-15 09:48:03 +02:00
WPT Sync Bot
fb838278a5 Update web-platform-tests to revision 632a3f59238036b6e24b28d47218ba9986ff4c62 2018-09-12 23:17:27 -04:00
WPT Sync Bot
968ce5b5b3 Update web-platform-tests to revision 9614def367ae8af8247142c34b00f755863d2fbb 2018-09-09 23:02:49 -04:00
WPT Sync Bot
f708edc5ea Update web-platform-tests to revision 86579034357501943927f3dc4abf75d76c477383 2018-09-08 22:57:54 -04:00