Simon Sapin
c7b51e7aa1
Update html5ever and xml5ever for API changes.
2016-01-27 12:25:16 +01:00
bors-servo
8c0736211b
Auto merge of #9378 - paulrouget:removeProperty, r=KiChjang
...
Invalidate node style after style property removed
Fix #9377
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9378 )
<!-- Reviewable:end -->
2016-01-27 16:43:30 +05:30
Paul Rouget
6d7dc0b905
Invalidate node style after style property removed
2016-01-27 07:43:23 +01:00
Patrick Walton
e5a1af5b7a
compositing: Fix a couple of bugs that prevented iframes from painting
...
after navigation.
The first bug was that iframes were not reflowed in their parent DOM
when the child page navigated. This is fixed by simply having the
constellation notify the appropriate script thread when navigation
occurs.
The second bug was that the compositor was unable to adjust the pipeline
for existing iframe layers, only new ones. This patch adds logic to do
that.
Closes #8081 .
2016-01-26 16:37:23 -05:00
bors-servo
b66a001451
Auto merge of #9429 - pcwalton:iframe-scroll-stacking, r=mbrubeck
...
Dispatch scroll events to layers above others.
Closes #9416 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9429 )
<!-- Reviewable:end -->
2016-01-26 07:28:23 +05:30
bors-servo
71d49fc73d
Auto merge of #9428 - pcwalton:incorporeal-shadows, r=mbrubeck
...
Make hit tests against box shadows always fail.
Closes #9268 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9428 )
<!-- Reviewable:end -->
2016-01-26 06:42:57 +05:30
Patrick Walton
e4db0715e1
Dispatch scroll events to layers above others.
...
Closes #9416 .
2016-01-25 16:42:37 -08:00
Patrick Walton
32a68a43ec
Make hit tests against box shadows always fail.
...
Closes #9268 .
2016-01-25 16:30:04 -08:00
Connor Imes
5177e9e1fa
Output to png file since exit flag doesn't work
2016-01-25 15:28:49 -06:00
Tim van der Meij
925732e759
Remove unused import from tests/unit/net/data_loader.rs
2016-01-25 22:27:03 +01:00
Patrick Walton
9c7b9fa32d
layout: Remove some bogus code that tried to handle
...
absolutely-positioned flows separately when storing overflow.
This code dates back to the time when absolutely positioned flows were
ignored by all of their ancestors up to the containing block. This
hasn't been true for at least a year.
Closes #9306 .
Closes #9309 .
Is a partial fix for #9308 .
2016-01-25 10:52:07 -08:00
bors-servo
e74021baaa
Auto merge of #9400 - jmr0:websocket, r=nox
...
Fixing websocket subprotocol header validation
This takes care of https://github.com/servo/servo/issues/9034
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9400 )
<!-- Reviewable:end -->
2016-01-25 17:01:39 +05:30
jmr0
3846cf52f2
fix websocket header validation, ensure it meets token requirements, add
...
testing
2016-01-24 18:31:21 -05:00
Joshua Holmer
75d258f866
Update HTMLFormElement.length to be of type unsigned long
...
Fixes #9402
2016-01-22 12:09:12 -05:00
Chandler Abraham
1ee9ccba21
add origin to location and url api
2016-01-21 11:06:41 -08:00
bors-servo
1ba1fb0b7f
Auto merge of #9380 - servo:cssparserup, r=SimonSapin
...
Update cssparser.
https://github.com/servo/rust-cssparser/pull/91
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9380 )
<!-- Reviewable:end -->
2016-01-21 22:45:51 +05:30
Simon Sapin
6fd46b5e6a
Update cssparser.
...
https://github.com/servo/rust-cssparser/pull/91
2016-01-21 17:58:03 +01:00
James Graham
4864a52312
Update web-platform-tests expected data to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
2016-01-21 11:50:33 +00:00
James Graham
7e8624d921
Update web-platform-tests to revision 0d9238c8062f05a55898a0cb60dc0c353794d87a
2016-01-21 10:28:30 +00:00
bors-servo
c80fa33864
Auto merge of #9391 - nikkisquared:test_redirect, r=jdm
...
Test redirect_count boundaries in Fetch
I've written two new tests for Fetch: one to test the highest possible number of redirects succeeds; and another to ensure a failure in Fetch by requesting too many redirects. I also wrote a helper function to be used by each test, since the main difference is how many times they try to redirect.
I've also changed the check against redirect_count in http_network fetch to compare it as greater than or equal to 20, as opposed to being only equal to 20. That's outside of the spec, but in my experience testing for pure equality can easily create errors. Even though it's technically not possible for redirect_count be above 20, bizarre bugs during runtime certainly happen.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9391 )
<!-- Reviewable:end -->
2016-01-21 02:36:38 +05:30
Nikki
5426df32de
tests for boundary conditions on redirect_count in fetch
2016-01-20 13:03:08 -07:00
Lanza
cfc3500dbf
Implement HTMLDetailsElement. Fixes #9216
2016-01-20 16:15:37 +01:00
James Sanders
3837b3e508
Update web-platform-tests expected data
2016-01-18 17:50:25 -07:00
James Sanders
a640b9aaea
Echo close reason and close code
...
Set code to None if it is STATUS_NO_STATUS_RECEIVED, which should not be
sent across the wire.
2016-01-18 17:37:16 -07:00
Nikki
4165786767
Test setting response.body by fetching on a server
2016-01-18 15:12:31 -07:00
bors-servo
03a0b73538
Auto merge of #9360 - jsanders:accept-protocols-sequence, r=KiChjang
...
Accept WebSocket protocols as string or sequence
Fixes #9053
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9360 )
<!-- Reviewable:end -->
2016-01-19 02:18:28 +05:30
Ms2ger
1f5d8fedd4
Update web-platform-tests to revision 78862c14a70cabb48c685144666912f08e726390
2016-01-18 13:24:36 +01:00
Keith Yeung
a53661f6c8
Rename net/fetch/request.rs to net/fetch/methods.rs and move Request to net_traits
2016-01-18 00:57:19 -05:00
James Sanders
0bffffd8f5
Make WebSocket constructor take (DOMString or sequence<DOMString>)
2016-01-17 21:33:04 -07:00
bors-servo
7ae16c7ea3
Auto merge of #9294 - KiChjang:xhr-usvstring, r=nox
...
Change all DOMStrings to USV strings for XHR
This is in compliance with the new spec [here](https://xhr.spec.whatwg.org/#xmlhttprequest ).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9294 )
<!-- Reviewable:end -->
2016-01-17 19:40:46 +05:30
bors-servo
a4e805d909
Auto merge of #9337 - fmmartins:urlsearchparams-getall, r=nox
...
Implement URLSearchParams::getAll
Fixes #5439 .
Please tell me if anything is wrong or needs some change!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9337 )
<!-- Reviewable:end -->
2016-01-17 18:13:17 +05:30
bors-servo
5a954d2492
Auto merge of #9334 - MonsieurLanza:DomContentLoadedBubbles, r=KiChjang
...
DOMContentLoaded event should be trusted
Hopefully resolves #9332 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9334 )
<!-- Reviewable:end -->
2016-01-16 22:14:38 +05:30
Keith Yeung
a64f832e57
Change all DOMStrings to USV strings for XHR
2016-01-16 08:51:34 -05:00
Ms2ger
a4fbb619d8
Disable text-plain.html.
2016-01-16 14:16:21 +01:00
Lanza
27b78f3b84
Use fire_event instead of DispatchEvent to make DOMContentLoaded trusted
...
Removed unused import.
Update expectations for EventTarget#dispatchEvent()
2016-01-16 14:12:38 +01:00
Fernando Martins
29b14d4b3d
Implement URLSearchParams::getAll
2016-01-15 22:40:55 +00:00
Ms2ger
f8e87516e2
Enable some parsing tests.
2016-01-15 10:24:27 +01:00
Ms2ger
d8511c8b8d
Remove the legacy reftest framework.
2016-01-14 09:49:43 +01:00
Ms2ger
f7db33eb33
Move acid2.html to wpt reftests.
2016-01-14 09:49:41 +01:00
bors-servo
9c713cb468
Auto merge of #9298 - nikkisquared:test_fetch, r=KiChjang
...
Implement a basic test for Fetch
As per @jdm's suggestion that I start minimally testing the Fetch protocol to catch any errors, I wrote a very simple test that just calls Fetch and checks that the response isn't a network error. I've made changes as necessary for every failure I encountered, although this doesn't mean the implementation is faultless yet.
As always, I look forward to any feedback for improvements regarding the test itself, the changes to the fetch files I've made, and anything that I missed and should update.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9298 )
<!-- Reviewable:end -->
2016-01-14 08:20:05 +05:30
Nikki
5a8c533755
Implement a basic test for Fetch and fix errors it finds
2016-01-13 16:45:57 -07:00
bors-servo
c13e84010d
Auto merge of #9107 - ecoal95:webgl-uniforms-and-nits, r=simartin
...
webgl: Track the current program, implement some uniform functions, and nits
Was done while implementing sequence arguments.
Depends on #9056 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9107 )
<!-- Reviewable:end -->
2016-01-13 22:14:59 +05:30
Emilio Cobos Álvarez
cf479a2b4f
webgl: Fix draw_arrays_simple reftests
...
It used pre-shader translation syntax
2016-01-13 15:28:35 +01:00
bors-servo
0e6bca8e8e
Auto merge of #9272 - Ms2ger:dpi, r=ato
...
Support device-pixel-ratio in wpt reftests.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9272 )
<!-- Reviewable:end -->
2016-01-13 16:46:52 +05:30
Matt McCoy
e684a20a1a
Making create attribute lowercase
2016-01-12 21:03:50 -05:00
Anthony Ramine
d13da7d9b3
Fix prototypes of interface objects ( fixes #2665 )
2016-01-12 17:15:44 +01:00
Ms2ger
bfec0f7274
Move pixel_snapping_position_a.html to wpt reftests.
2016-01-12 13:02:54 +01:00
Ms2ger
3b9d165ee8
Move pixel_snapping_border_a.html to wpt reftests.
2016-01-12 13:02:52 +01:00
Ms2ger
198ee0f2c6
Support device-pixel-ratio in wpt reftests.
2016-01-12 13:02:50 +01:00
Anthony Ramine
7693aecf15
Use the object prototype for callback interface objects
...
window.NodeFilter's prototype should be the object prototype.
2016-01-12 12:34:18 +01:00