bors-servo
f8c2c3c3e4
Auto merge of #8521 - notriddle:test_7780, r=mrobinson
...
Add test for #7780
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8521 )
<!-- Reviewable:end -->
2015-11-16 20:26:44 +05:30
Michael Howell
987c9e63aa
Ignore <meta name=viewport>
if @viewport
is.
...
Fixes #8373
2015-11-15 20:35:13 -07:00
Eli Friedman
f6a337772a
Fix the metadata for webgl tests.
...
These are reftests, not tests using the test harness.
CC #8414 . (This fixes the immediate issue, but we should also fix the
error message.)
2015-11-15 13:08:00 -08:00
Eli Friedman
a9a1e343f9
Update test manifest.
...
This is just the result of running --manifest-update on master; not sure
how it got out of sync.
These tests currently timeout, so also add the expected result.
2015-11-15 11:47:59 -08:00
bors-servo
d11fe9ed21
Auto merge of #8513 - mrobinson:wpt-ui-summary, r=frewsxcv
...
Re-print test failures in non-interactive WPT UI
This will make it easier to spot the failures at the bottom of the test
output on the bots.
Fixes #8467 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8513 )
<!-- Reviewable:end -->
2015-11-15 21:36:29 +05:30
bors-servo
3ef0a9a79d
Auto merge of #8526 - frewsxcv:parse-length, r=eefriedman
...
Fix parse_length 0 values, implement <hr> 'width'
Follow-up to https://github.com/servo/servo/issues/8424
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8526 )
<!-- Reviewable:end -->
2015-11-15 03:30:46 +05:30
Corey Farwell
30ea772939
Make util::str::parse_length work with floats
2015-11-14 16:47:10 -05:00
Corey Farwell
02a8e8dd16
Implement <hr> element 'width' attribute
2015-11-14 16:46:59 -05:00
bors-servo
8f2a3a64f1
Auto merge of #8524 - notriddle:paint_task_deep, r=jdm
...
Draw layers that are under sub-displaylists.
Fixes #8325
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8524 )
<!-- Reviewable:end -->
2015-11-14 22:26:22 +05:30
Michael Howell
24c35a2185
Draw layers that are under sub-displaylists.
...
Fixes #8325
2015-11-14 09:49:30 -07:00
rohan.prinja
337066063a
fix impl of parse_length()
2015-11-14 10:02:26 -05:00
bors-servo
7f076c628b
Auto merge of #8449 - paulrouget:favicon, r=jdm
...
mozbrowsericonchange event (Browser API)
fixes #8347
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8449 )
<!-- Reviewable:end -->
2015-11-14 19:54:03 +05:30
bors-servo
bda46179b6
Auto merge of #8523 - Wafflespeanut:redirects, r=jdm
...
Listen for cancellation message during loads and redirects...
fixes #8495
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8523 )
<!-- Reviewable:end -->
2015-11-14 19:25:33 +05:30
Paul Rouget
5263a4c4c9
[Browser API] implement mozbrowsericonchange event
2015-11-14 09:59:50 +01:00
Ravi Shankar
afb9b0707b
Testing cancellation during redirects
2015-11-14 10:04:32 +05:30
David Raifaizen
aa601be329
Adding method to detect if image formats should be supported by servo
2015-11-13 19:01:44 -05:00
Michael Howell
4aa26b682b
Add test for #7780 .
2015-11-13 13:53:04 -07:00
Ralph Giles
135bcacee4
Use the correct .png extension for the image placeholder.
...
This was changed to the mozilla broken image resource
without changing the filename, even though the file
type changed.
2015-11-13 11:45:09 -08:00
bors-servo
9bcaedde82
Auto merge of #8514 - Ms2ger:test-ref, r=Manishearth
...
Use wptrunner for some old-style reftests.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8514 )
<!-- Reviewable:end -->
2015-11-13 22:31:18 +05:30
Martin Robinson
20701e564a
Re-print test failures in non-interactive WPT UI
...
This will make it easier to spot the failures at the bottom of the test
output on the bots.
Fixes #8467 .
2015-11-13 08:32:07 -08:00
bors-servo
0735cec351
Auto merge of #6935 - jdm:sslverify, r=Manishearth
...
Make SSL cert verification errors work again. Add a horrible, no-good…
…, very bad regression test.
Here are the list of awful things this test exploits:
- Servo can't load HTTPS content in WPT tests (#6919 )
- Our web workers don't report error events to the parent worker object after the initial network load completes
- Our worker resource load don't have a same-origin check
The good news is that this test should start failing if any of those "features" change, so this should not silently break on us.
Other attempts to test this included:
- iframes (didn't work because of #6672 and #3939 )
- XMLHttpRequest (I was hit by CORS, I think; maybe I could have made it work if I returned the right headers)
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6935 )
<!-- Reviewable:end -->
2015-11-13 22:00:57 +05:30
Josh Matthews
5e123df7a7
Make SSL cert verification errors work again. Add a horrible, no-good, very bad regression test.
2015-11-13 11:30:38 -05:00
Manish Goregaokar
c11b756973
Add tests for get/set/removeAttributeNode()
...
Fixes https://github.com/w3c/web-platform-tests/issues/2262
2015-11-13 20:21:33 +05:30
Ms2ger
6ef1f559e0
Move linear_gradients_smoke_a.html to wpt reftests.
2015-11-13 14:52:46 +01:00
Ms2ger
d0b7f1628b
Move linear_gradients_corners_a.html to wpt reftests.
2015-11-13 14:42:12 +01:00
Ms2ger
1948b6914e
Move line_height_a.html to wpt reftests.
2015-11-13 12:28:09 +01:00
Ms2ger
45d0fecb89
Move legacy_td_width_attribute_a.html and legacy_th_width_attribute_a.html to wpt reftests.
2015-11-13 12:03:50 +01:00
Ms2ger
86ab0eb860
Move legacy_cellspacing_attribute_a.html to wpt reftests.
2015-11-13 10:31:20 +01:00
Corey Farwell
765ade6892
Implement 'bgcolor' IDL attribute for 'HTMLTableCellElement'
2015-11-13 00:47:20 -05:00
bors-servo
62acdd303b
Auto merge of #8477 - asajeffrey:opaque-domstring, r=asajeffrey
...
Opaque DOMString
This patch makes DOMString an opaque wrapper round String (currently it's a transparent wrapper).
The changes are:
* Replacing DOMString(foo) by DOMString::from(foo).
* Replacing foo.0 by String::from(foo).
* Adding functions clear, push_str and extend for in-place mutation of DOMStrings.
* Replacing DOMString by String in other threads (devtools, storage and filereader).
* Making DOMString implement !Send.
* Removing the pub attribute from the contents of DOMString.
This enables experimenting with other string representations in the DOM.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8477 )
<!-- Reviewable:end -->
2015-11-13 07:17:30 +05:30
bors-servo
e63b1e83d4
Auto merge of #8147 - nox:weakref, r=Ms2ger
...
Implement weak-referenceable JS-managed objects
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8147 )
<!-- Reviewable:end -->
2015-11-13 06:22:40 +05:30
Alan Jeffrey
84bde75b42
Replaced DOMString constructor by conversion functions.
...
Replaced DOMString(...) by DOMString::from(...).
Replaced ....0 by String::from(...).
Removed any uses of .to_owner() in DOMString::from("...").
2015-11-12 17:52:59 -06:00
bors-servo
c44c73aa00
Auto merge of #8498 - nox:fix-variadic-and-default-arguments, r=jdm
...
Properly handle variadic arguments preceded by default values
I broke that in #8197 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8498 )
<!-- Reviewable:end -->
2015-11-13 04:22:11 +05:30
Josh Matthews
c4c0809934
Add test for OnErrorEventHandler special case.
2015-11-12 16:21:24 -05:00
Josh Matthews
2340583e56
Differentiate between error and non-error event handlers per the spec.
2015-11-12 16:21:24 -05:00
Anthony Ramine
d4ce25d07c
Properly handle variadic arguments preceded by default values
...
I broke that in #8197 .
2015-11-12 21:10:45 +01:00
bors-servo
022b06e564
Auto merge of #8494 - jdm:disablewebgl, r=Manishearth
...
Disable WebGL tests on mac due to #8486 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8494 )
<!-- Reviewable:end -->
2015-11-12 23:49:39 +05:30
Josh Matthews
de70ae0c81
Disable WebGL tests on mac due to #8486 .
2015-11-12 12:31:52 -05:00
bors-servo
e394c0d859
Auto merge of #7646 - jxs:master, r=jdm
...
Write unit tests for cookie isolation
closes #7624
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7646 )
<!-- Reviewable:end -->
2015-11-12 20:20:32 +05:30
João Oliveira
79fcd1da95
Write unit tests for cookie isolation
2015-11-12 14:12:08 +00:00
bors-servo
4848e37e2e
Auto merge of #7844 - Wafflespeanut:requests, r=jdm
...
Cancelable network requests!
fixes #4974
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7844 )
<!-- Reviewable:end -->
2015-11-12 18:59:58 +05:30
Anthony Ramine
72c67efe96
Introduce trait WeakReferenceable
...
This allows to take weak references of JS-managed DOM objects.
2015-11-12 12:51:50 +01:00
Ravi Shankar
c4cf72db6e
Added support for synchronization along with an unit test for cancellation listener
2015-11-12 14:04:38 +05:30
Ravi Shankar
10f5584f78
Implement cancellation listener for cancelling network requests
2015-11-12 14:02:59 +05:30
bors-servo
efc31e619d
Auto merge of #8376 - mrobinson:fix-inlines, r=pcwalton
...
Properly make stacking contexts for inlines
Instead of making a stacking context out of inline fragments parent
flow, make the inline fragment itself the stacking context. This fixes
positioning and rendering of these sort of fragments and prevents
over-layerization.
Fixes #7424 .
Fixes #5812 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8376 )
<!-- Reviewable:end -->
2015-11-12 12:26:39 +05:30
Martin Robinson
d572f1ca05
Properly make stacking contexts for inlines
...
Instead of making a stacking context out of inline fragments parent
flow, make the inline fragment itself the stacking context. This fixes
positioning and rendering of these sort of fragments and prevents
over-layerization.
Fixes #7424 .
Fixes #5812 .
2015-11-11 14:42:18 -08:00
Emilio Cobos Álvarez
75ecb67e62
webgl: Add test for getSupportedExtensions
2015-11-11 17:18:28 +01:00
Anthony Ramine
acb13dc899
Support variadic interface arguments ( fixes #8159 )
...
We use a RootedVec value in codegen, of which we use the `r()` method to
pass `&[&T]` to the interface methods.
2015-11-11 14:52:21 +01:00
bors-servo
aa105d89b4
Auto merge of #8463 - simartin:issue_8413, r=Ms2ger
...
Issue #8413 : Enable webgl tests in web-platform-test.
Fixes #8413 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8463 )
<!-- Reviewable:end -->
2015-11-11 17:04:06 +05:30
Simon Martin
e5329307b2
Issue #8413 : Enable webgl tests in web-platform-test.
2015-11-11 09:02:05 +01:00