Commit graph

3197 commits

Author SHA1 Message Date
Arnaud Marant
ed42cc72a4 Implements Node::isSameNode
Fixes #10746

Adapted the tests from dom/nodes/Node-isEqualNode.html
2016-04-23 22:03:25 +02:00
Simon Sapin
e662605138 More chrome URL hardenning and tests. 2016-04-23 20:28:03 +02:00
Simon Sapin
374679852c Make chrome: URLs have a "host". 2016-04-23 20:28:02 +02:00
Simon Sapin
7375e2cedd Only test expected origin when it is present
https://github.com/w3c/web-platform-tests/pull/2584
2016-04-23 20:28:01 +02:00
Simon Sapin
eee317352c Reset searchParam in URL.href setter
https://github.com/whatwg/url/issues/117
2016-04-23 20:28:00 +02:00
Simon Sapin
85de5ec743 Correctly initialize URL.searchParams 2016-04-23 20:27:59 +02:00
Simon Sapin
7932ab6ac2 Upgrade to rust-url 1.0 and hyper 0.9 2016-04-23 20:27:58 +02:00
bors-servo
75ae1c033f Auto merge of #10788 - Ms2ger:note-bugs, r=nox
Note some bugs.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10788)
<!-- Reviewable:end -->
2016-04-23 00:03:03 -07:00
bors-servo
1b13ddcd8a Auto merge of #10795 - yoava333:master, r=Ms2ger
updated Blob constructor to use optional

fixes https://github.com/servo/servo/issues/10779

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10795)
<!-- Reviewable:end -->
2016-04-22 23:17:55 -07:00
bors-servo
5a5e928cb9 Auto merge of #10770 - notriddle:canvas_placeholder_block, r=mbrubeck
Do not render the contents of block-level replaced elements.

Fixes #10733

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10770)
<!-- Reviewable:end -->
2016-04-22 22:32:37 -07:00
Michael Howell
5a90c8f2bd Do not render the contents of block-level replaced elements.
Fixes #10733
2016-04-22 22:24:09 -07:00
Tyler Southwick
cba0267ed4 implement webglcontextevent 2016-04-22 19:54:13 -07:00
bors-servo
1946c71a96 Auto merge of #10784 - servo:xml5ever, r=KiChjang
Update xml5ever.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10784)
<!-- Reviewable:end -->
2016-04-22 17:24:23 -07:00
bors-servo
e12fc2a6f7 Auto merge of #10769 - saneyuki:keyevents, r=frewsxcv
Drop support for keyevents in Document::createEvent

Fix #10735

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10769)
<!-- Reviewable:end -->
2016-04-22 15:56:49 -07:00
bors-servo
8163347e34 Auto merge of #10762 - canaltinova:has_attributes, r=nox
Implement Element::hasAttributes

Fixes #10748 .
Implement Element::hasAttributes. I'm not sure if tests are enough. I'm open to suggestion :)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10762)
<!-- Reviewable:end -->
2016-04-22 15:11:20 -07:00
bors-servo
47a0f58f98 Auto merge of #10654 - notriddle:no_resize_on_initial_load, r=asajeffrey
compositing/script: Do not dispatch the resize event when initially l…

…oading.

No bug report corresponds to this, but I noticed it while trying to
reduce #10593

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10654)
<!-- Reviewable:end -->
2016-04-22 14:25:51 -07:00
Michael Howell
7940b22158 compositing/script: Do not dispatch the resize event when initially loading.
No bug report corresponds to this, but I noticed it while trying to
reduce #10593
2016-04-22 13:36:43 -07:00
bors-servo
82938547ed Auto merge of #10757 - ineol:root-node, r=Ms2ger
Implement Node::rootNode

Fixes #10747.

I don't know whether it's OK to recurse up the tree, though it is a tail call.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10757)
<!-- Reviewable:end -->
2016-04-22 12:10:52 -07:00
bors-servo
f1defb446e Auto merge of #10443 - emilio:webgl-teximage2d-overload, r=jdm
webgl: Implement the pending texImage2D overload, and add more validation

This is a large-ish refactor of the Texture2D code, but it should be
easier to read and of course more correct.

I tried to annotate every error condition with a spec paragraph.

I made just a reftest to ensure this works as intended, since I expect #10373 to land pretty soon.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10443)
<!-- Reviewable:end -->
2016-04-22 11:25:29 -07:00
bors-servo
4da6855e23 Auto merge of #10651 - craftytrickster:10601/current-color, r=Ms2ger
Setting current color to black if canvas is not rendered in document

Fixes #10601

The change seems deceptively easy, I hope I am not missing anything...

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10651)
<!-- Reviewable:end -->
2016-04-22 09:26:51 -07:00
bors-servo
a262c3121f Auto merge of #10807 - jdm:disable_sslfail, r=Wafflespeanut
Disable sslfail.html pending further investigation in #10760.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10807)
<!-- Reviewable:end -->
2016-04-22 08:42:11 -07:00
Josh Matthews
055a852f18 Disable sslfail.html pending further investigation in #10760. 2016-04-22 11:34:23 -04:00
bors-servo
3aae162426 Auto merge of #10803 - servo:css-20160422, r=Ms2ger
Update CSS tests to revision b9c63d615a65c4d96f26969bcd504d4e1c3cdab8

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10803)
<!-- Reviewable:end -->
2016-04-22 07:18:04 -07:00
David Raifaizen
b5159dc7ff Setting current color to black if canvas is not rendered in document 2016-04-22 09:59:49 -04:00
bors-servo
340a25e68c Auto merge of #10729 - fitzgen:unit-tests-for-time-profiler, r=larsbergstrom
Add unit tests skeleton for the time profiler

This commit adds a test crate for the time profiler to `tests/unit/profile`. The
only unit test contained in this crate is a smoke test that the time profiler
thread can be created and destroyed. It serves as a place for adding new tests
in the future.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10729)
<!-- Reviewable:end -->
2016-04-22 06:05:49 -07:00
Nazım Can Altınova
47f43d45a7 Implement Element::hasAttributes 2016-04-22 15:18:08 +03:00
bors-servo
f2c213fa58 Auto merge of #10754 - Ms2ger:disable-mutation-events, r=nox
Disable tests for mutation events.

We have no intention of implementing them, so there's not much point in
running them.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10754)
<!-- Reviewable:end -->
2016-04-22 05:09:50 -07:00
Léo Stefanesco
00b3f7930e Implement Node::rootNode 2016-04-22 13:18:50 +02:00
Ms2ger
4d13f9f5d5 Update CSS tests to revision b9c63d615a65c4d96f26969bcd504d4e1c3cdab8 2016-04-22 10:06:45 +02:00
Ms2ger
64b26e0e78 Disable WebGL tests.
They're not stable enough right now, with no expectation of improvement
any time soon.
2016-04-22 09:57:31 +02:00
bors-servo
0e0e902edd Auto merge of #10727 - jdm:canvas_panic, r=pcwalton
Use DOM width/height for canvas display list item.

Fixes #10705.

r? @glennw

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10727)
<!-- Reviewable:end -->
2016-04-21 20:50:27 -07:00
Josh Matthews
1623114376 Use DOM width/height for canvas display list item. 2016-04-21 23:20:21 -04:00
Yoav Alon
711c23ae39 updated Blob constructor to use optional, fixes https://github.com/servo/servo/issues/10779 2016-04-22 01:28:35 +03:00
bors-servo
98ae238adf Auto merge of #10794 - jdm:disable_10753, r=Wafflespeanut
Disable frequent intermittently-passing tests.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10794)
<!-- Reviewable:end -->
2016-04-22 01:01:08 +05:30
Josh Matthews
4b9fa4621d Disable frequent intermittently-passing tests. 2016-04-21 14:46:17 -04:00
Matt Brubeck
6d3cb13c64 Disable /webgl/conformance-1.0.3/conformance/more/conformance/quickCheckAPI-S_V.html
Because Servo only sometimes crashes on its random data (#10698).
2016-04-21 10:51:07 -07:00
Ms2ger
01df99f839 Note some bugs. 2016-04-21 17:17:33 +02:00
Ms2ger
2916b1040b Update xml5ever. 2016-04-21 16:06:46 +02:00
Ms2ger
abcd4b654f Update web-platform-tests to revision 0a518aaff73532a26e175789f7e75fa99593ac64 2016-04-21 12:30:36 +02:00
bors-servo
9c172f49d0 Auto merge of #10631 - servo:wptrunner-20160415, r=KiChjang
Update wptrunner.

Fixes #10540.
Fixes #10392.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10631)
<!-- Reviewable:end -->
2016-04-21 13:54:19 +05:30
Ms2ger
5944add496 Note bugs. 2016-04-21 09:45:45 +02:00
Ms2ger
82e2d017ef Update wptrunner. 2016-04-21 09:45:44 +02:00
bors-servo
46080f31f1 Auto merge of #10766 - jdm:disable_webgl_intermittent, r=emilio
Disable quickCheckAPI-G_I.html until our WebGL APIs deal with random …

…data better. #10656

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10766)
<!-- Reviewable:end -->
2016-04-21 08:37:20 +05:30
Tetsuharu OHZEKI
b4cf3b802e Drop support for keyevents in Document::createEvent 2016-04-21 11:04:00 +09:00
Josh Matthews
35636cf43a Disable quickCheckAPI-G_I.html until our WebGL APIs deal with random data better. 2016-04-20 20:05:33 -04:00
Daniel
d4f63cda5f write cookie_jar, hsts_list, auth_cache, and local_data to file if profile_dir option is present 2016-04-20 18:12:00 -04:00
Michael Howell
8953207f83 Add support for vertical alignment within table cells.
Fixes #10621
2016-04-20 14:40:02 -07:00
Emilio Cobos Álvarez
9fff9d45d1
webgl: tests: Update expectations of tests
This tests previously "passed", because they used the texImage2D
overload we're adding now.

Since that overload previously caused a TypeError, these tests were
never run in the first place.
2016-04-20 22:12:39 +02:00
Emilio Cobos Álvarez
764fac781e
webgl: tests: Mark the bufferDataBadArgs test as passing
It now passes consistently.
2016-04-20 21:42:58 +02:00
Josh Matthews
d888ed368d Make new test use local resources only. 2016-04-20 12:38:38 -04:00