Commit graph

455 commits

Author SHA1 Message Date
Josh Matthews
1f531f66ea Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326 2017-10-12 12:36:21 -04:00
bors-servo
e3624e62a4 Auto merge of #18747 - jdm:serializing-childrenonly, r=jdm
Serializing childrenonly

Rebased from #17896.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14975 (github issue number if applicable).
- [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/18747)
<!-- Reviewable:end -->
2017-10-09 11:12:53 -05:00
Stuart Nelson
c886e3ee75 Update manifest and move files 2017-10-08 11:29:49 +02:00
Jyotsna Prakash
6c0f87a1d6 ChildrenOnly -> ChildrenOnly(Option<QualName>)
use this updated type from html5ever
2017-10-07 08:05:11 -04:00
Josh Matthews
578498ba24 Update web-platform-tests to revision a46616a5b18e83587ddbbed756c7b96cbb4b015d 2017-10-05 00:42:13 +02:00
Anthony Ramine
b47331812a Properly fail in video_008.html 2017-09-29 19:16:37 +02:00
Anthony Ramine
622533ef48 Properly fail in readyState_during_playing.html 2017-09-29 19:10:08 +02:00
Anthony Ramine
d7d18fc239 Properly fail in readyState_during_loadedmetadata.html 2017-09-29 19:08:19 +02:00
Anthony Ramine
ce8fc063db Properly fail in readyState_during_loadeddata.html 2017-09-29 19:03:57 +02:00
Anthony Ramine
9856580e25 Properly fail in readyState_during_canplaythrough.html 2017-09-29 19:01:30 +02:00
Anthony Ramine
4ca5a05eed Properly fail in readyState_during_canplay.html 2017-09-29 18:59:37 +02:00
Anthony Ramine
d0020888a2 Properly fail in autoplay.html 2017-09-29 18:57:01 +02:00
Anthony Ramine
71e987951f Properly fail in paused_false_during_play.html 2017-09-29 18:53:34 +02:00
Anthony Ramine
6aa9d80a00 Properly fail in load-events-networkState.html 2017-09-29 18:53:32 +02:00
Anthony Ramine
b6e3faa317 Properly fail in autoplay-overrides-preload.html 2017-09-29 18:53:30 +02:00
Anthony Ramine
fb9d3bf350 Properly fail on error event in event_timeupdate_noautoplay.html
The tests still time out when the browser doesn't fire a timeupdate event
at all.
2017-09-29 18:53:27 +02:00
Anthony Ramine
c93b3d1639 Properly fail in event_progress_noautoplay.html 2017-09-29 18:53:21 +02:00
Anthony Ramine
97adf791cd Properly fail in event_playing.html 2017-09-29 18:53:13 +02:00
Anthony Ramine
edd3824519 Properly fail in event_play.html 2017-09-29 18:53:10 +02:00
Anthony Ramine
4b2c4aead4 Properly fail in event_pause.html 2017-09-29 18:53:06 +02:00
Anthony Ramine
7b7f66f210 Properly fail in event_order_loadedmetadata_loadeddata.html 2017-09-29 17:58:16 +02:00
Anthony Ramine
60b5b77ccb Properly fail in event_order_canplay_playing.html 2017-09-29 17:55:31 +02:00
Anthony Ramine
026130094d Properly fail in event_order_canplay_canplaythrough.html 2017-09-29 17:12:29 +02:00
Anthony Ramine
59c56de103 Properly fail in event_loadedmetadata.html 2017-09-29 17:05:40 +02:00
Anthony Ramine
9f71ac9155 Properly use test() in networkState_during_progress.html 2017-09-29 16:58:44 +02:00
Anthony Ramine
2b64c3e6c0 Properly use test() in event_order_loadstart_progress.html 2017-09-29 16:55:11 +02:00
Anthony Ramine
7bab9caafd Properly use test() in event_progress.html 2017-09-29 16:51:55 +02:00
Anthony Ramine
37f5f52049 Properly fail in event_loadedmetadata_noautoplay.html 2017-09-29 15:37:10 +02:00
Anthony Ramine
7e06d2a1be Properly fail in event_loadeddata_noautoplay.html 2017-09-29 15:37:01 +02:00
Anthony Ramine
3185a7917e Fix some shortcomings in event_loadeddata.html
Variable 'v' was undefined in second test, and both tests were missing an onerror event handler.
2017-09-29 15:36:57 +02:00
Anthony Ramine
c0040b27fd Properly fail in event_canplaythrough_noautoplay.html 2017-09-29 15:30:04 +02:00
Anthony Ramine
8a3afe35fe Properly fail in event_canplaythrough.html 2017-09-29 15:29:02 +02:00
Anthony Ramine
4923045353 Properly fail in event_canplay_noautoplay.html 2017-09-29 15:28:03 +02:00
Anthony Ramine
bf3d6948c1 Properly fail in event_canplay.html 2017-09-29 15:27:12 +02:00
Anthony Ramine
0e56b79e78 Properly fail in /html/semantics/embedded-content/media-elements/error-codes/error.html 2017-09-29 14:25:13 +02:00
Anthony Ramine
83488a20f1 Properly fail in audio_loop_base.html 2017-09-29 14:23:14 +02:00
Anthony Ramine
53e2a4449a Make networkState_during_progress.html deterministic (fixes servo/servo#17954) 2017-09-29 09:41:45 +02:00
Anthony Ramine
abcf91e5c6 Make event_order_loadstart_progress.htm deterministic (fixes servo/servo#18289) 2017-09-29 09:39:53 +02:00
Anthony Ramine
b489d0c159 Make event_progress.html deterministic (fixes servo/servo#18427) 2017-09-29 09:39:47 +02:00
Daniel Johnson
fc23cb1a63 "javascript:" urls: move test to correct location
- move test to correct directory
- update it to be more concise

I also confirmed that this test passes in Firefox.
2017-08-27 23:17:03 -07:00
Gregory Terzian
71b0c10164 improve spec compliance of update the image data 2017-05-25 08:01:25 +08:00
bors-servo
dfb9396296 Auto merge of #16699 - jdm:make-cross-origin-image-tests-fail, r=ajeffrey,jgraham
Make cross-origin canvas drawing tests use a same-origin redirect.

These tests either pass or maintain existing known failures in Firefox and Chrome, and expose the problem in our current implementation that #15887 is addressing.

<!-- 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/16699)
<!-- Reviewable:end -->
2017-05-15 13:26:25 -05:00
Connor Brewster
727e5b41f5 Add test to make sure contentDocument is updated after load matures 2017-05-12 13:54:51 -06:00
Josh Matthews
d143396934 Add same-origin redirect variants to 2d canvas security tests. 2017-05-10 16:38:57 -04:00
Josh Matthews
665817d2a6 Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
Josh Matthews
3c3311b16a Allow loading multiple stylesheets for the same link element. 2017-04-13 16:02:17 +10:00
Ying-Ruei Liang(KK)
bb6d52971a
Implement HTMLAnchorElement.rel getter and setter
Signed-off-by: Ying-Ruei Liang(KK) <thumbd03803@gmail.com>
2017-03-30 11:45:48 +08:00
bors-servo
af9a1588d1 Auto merge of #16087 - jdm:testimprovement, r=metajack
Don't create a new XHR until the previous one is complete.

This test often times out when run under rr, because the event loop gets flooded with timer events that initiate XHRs before the previous XHR has completed. Additionally, we're running the event handler up to three times per XHR, which is just silly.

<!-- 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/16087)
<!-- Reviewable:end -->
2017-03-23 12:46:14 -07:00
Josh Matthews
5c29637bef Don't create a new XHR until the previous one is complete. 2017-03-23 12:17:03 -04:00
bors-servo
7be9f0e7c4 Auto merge of #15519 - gterzian:implement_structuredclone_callbacks, r=jdm
implement structured clone callbacks - support Blob cloning

<!-- Please describe your changes on the following line: -->
1. Implement stubs for structured clone callbacks.
2. Support Blob cloning.

Partial implementation of https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm

---
<!-- 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 #15021 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/15519)
<!-- Reviewable:end -->
2017-03-21 21:17:25 -07:00