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
Bobby Holley
384cdfcfff
Hoist ParseErrorReporter into style and remove the dependency on msg.
...
The pipeline id stuff is currently unused. If someone needs it, they can add
an additional trait bound on their css error reporter to get the pipeline id.
2016-01-11 18:01:48 -08:00
bors-servo
099beee85c
Auto merge of #8983 - Manishearth:cursors, r=jdm
...
Various textinput fixes
- Currently the cursor sticks around if you click elsewhere. Now the text inputs are relayout-ed on blur.
- Currently whitespace gets collapsed in text input (https://github.com/servo/servo/issues/8772 ). Not anymore.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8983 )
<!-- Reviewable:end -->
2016-01-11 23:21:03 +05:30
bors-servo
4d8d6bf7ff
Auto merge of #9242 - frewsxcv:form-elements-sameobject, r=ecoal95
...
HTMLFormElement::Elements should honor [SameObject] attribute
Ideally, this would get tested by web-platform-tests, but that has yet
to be implemented:
https://github.com/w3c/web-platform-tests/issues/2462
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9242 )
<!-- Reviewable:end -->
2016-01-11 05:19:56 +05:30
Corey Farwell
1ff1ec69dd
HTMLFormElement::Elements should honor [SameObject] attribute
...
Ideally, this would get tested by web-platform-tests, but that has yet
to be implemented:
https://github.com/w3c/web-platform-tests/issues/2462
2016-01-10 18:27:07 -05:00
bors-servo
663ac945c1
Auto merge of #9204 - connorimes:update-hb-energymon, r=Manishearth
...
Update heartbeats and energymon dependencies
Also aligns the heartbeats profiling script with current ProfilerCategory values.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9204 )
<!-- Reviewable:end -->
2016-01-11 03:41:06 +05:30
Corey Farwell
f72d153c8d
Implement HTMLFormElement::Length
2016-01-10 14:44:13 -05:00
Corey Farwell
bff8947e43
Implement HTMLFormElement::Elements
...
Fixes #8566
2016-01-10 12:08:24 -05:00
bors-servo
6d49681c79
Auto merge of #9235 - servo:no-ms-fonts, r=KiChjang
...
Disable tests that fail unless non-free Microsoft fonts are installed.
This is a bug, font fallback should be more flexible than this.
https://github.com/servo/servo/issues/7625
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9235 )
<!-- Reviewable:end -->
2016-01-10 17:31:51 +05:30
bors-servo
d3e2f94f20
Auto merge of #9201 - wenderen:8512-task-thread, r=jdm
...
task -> thread
for #8512
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9201 )
<!-- Reviewable:end -->
2016-01-10 15:49:04 +05:30
Simon Sapin
b4f68020ac
Disable tests that fail unless non-free Microsoft fonts are installed.
...
This is a bug, font fallback should be more flexible than this.
https://github.com/servo/servo/issues/7625
2016-01-10 10:29:09 +01:00
rohan.prinja
1f02c4ebbb
task -> thread
2016-01-10 17:58:13 +09:00
Josh Matthews
d2736add34
Make the hide_layers2 test ini file an actual ini file.
2016-01-09 08:19:31 -05:00
Connor Imes
57f8a1d7d6
Align characterization script with current ProfilerCategory values
2016-01-08 16:52:30 -06:00
bors-servo
4bc59e2622
Auto merge of #9206 - jdm:fonttestintermittent, r=nox
...
Avoid intermittent failures in mime_sniffing_font_context.html. Fixes…
… #9124 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9206 )
<!-- Reviewable:end -->
2016-01-09 02:45:37 +05:30
Josh Matthews
d11d444b15
Disable hide_layers2.html due to too many intermittent failures.
2016-01-08 14:13:28 -05:00
Josh Matthews
ed348e9d4f
Avoid intermittent failures in mime_sniffing_font_context.html. Fixes #9124 .
2016-01-08 14:11:40 -05:00
bors-servo
ba8f007b88
Auto merge of #9199 - nox:disable-mime-sniffing-font-context, r=nox
...
Disable mime_sniffing_font_context.html
Blocked who knows how many PRs, disabling for now. See #9124 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9199 )
<!-- Reviewable:end -->
2016-01-08 19:30:23 +05:30
Anthony Ramine
44ff6727c8
Disable mime_sniffing_font_context.html
...
Blocked who knows how many PRs, disabling for now. See #9124 .
2016-01-08 14:34:38 +01:00
bors-servo
a0d26445c0
Auto merge of #9171 - pcwalton:linear-gradients-background-clip, r=mbrubeck
...
Fix `linear_gradients_lengths_a.html` and fix Servo's use of "background-clip" to actually make it work.
See the commit messages for details.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9171 )
<!-- Reviewable:end -->
2016-01-08 15:10:02 +05:30
bors-servo
8e75a05e6b
Auto merge of #9149 - adrianheine:webFonts, r=glennw
...
Correctly handle local sources for CSS3 fonts
Currently, servo panics for me when loading something like this:
```
@font-face {
font-family: "test family";
src: local(test font face);
}
```
That's due to a bug in `FontCacheTask`. `FontCacheTask` tries to get the value for the key
"test font face" from `self.web_families`, but previously initialized a value for the key "test family".
These two commits add an awkward test and fix the bug by not shadowing the variable `family_name`. Since the argument to `local()` should explicitly not be the name of a font family, the previous variable name was wrong and misleading anyways.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9149 )
<!-- Reviewable:end -->
2016-01-08 04:47:55 +05:30
David Raifaizen
76f689cd06
Changed blob to use DataSlice with Arc in order to limit wasteful copying of byte vector
2016-01-06 19:41:52 -05:00
bors-servo
238a8786de
Auto merge of #9029 - KiChjang:event-source, r=jdm
...
Implement EventSource and update test expectations
Partial #8925 .
Most of the processing model for `EventSource` are unimplemented because we currently don't have a fetch implementation.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9029 )
<!-- Reviewable:end -->
2016-01-07 00:38:25 +05:30
Patrick Walton
c9242309cb
tests: Make linear_gradients_lengths_a.html
and
...
`linear_gradients_lengths_ref.html` use `background-clip: content-box`.
The tests clearly expect the background painting area to have width of
100px, but since the default value of `background-clip` is `border-box`
and the boxes in question have a 1-pixel border the background painting
areas are actually 102px. This commit fixes the tests so that the width
of the background painting area is actually 100px.
2016-01-06 10:39:45 -08:00
bors-servo
f4a2fe9501
Auto merge of #9164 - paulrouget:updatePipelineURL, r=jdm
...
update pipeline url after redirections
`pipeline.url` is not updated after a redirection.
Fixes #8902
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9164 )
<!-- Reviewable:end -->
2016-01-06 21:53:41 +05:30
Paul Rouget
268e285439
update pipeline url after redirections
2016-01-06 06:49:49 +01:00
bors-servo
64e968d8bc
Auto merge of #9119 - TheKK:input_element_size, r=eefriedman
...
Parse size attribute of HTMLInputElemnt correctly
Should fix #8773
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9119 )
<!-- Reviewable:end -->
2016-01-06 08:57:19 +05:30
Ying-Ruei Liang (KK)
74905f0f3c
Invalid type attribute for HTMLInputElement now fallback as text type ( fixes #8773 )
2016-01-06 10:56:00 +08:00
Keith Yeung
1d62db405e
Implement EventSource and update test expectations
2016-01-05 21:47:43 -05:00
Geoffrey Sneddon
5845a60aaf
Reorder CSS tests to be in alphabetical order.
2016-01-04 21:46:53 +00:00
Geoffrey Sneddon
756d745cb8
Enable CSS tests for all modules we partially support.
...
(Except Fonts, on the assumption #8374 will land first.)
2016-01-04 21:46:52 +00:00
Adrian Heine
3f61d63e72
Add failing test for FontCacheTask::add_web_font
...
This test tries to add a web font to the `FontCacheTask`. The added web font
corresponds to the following CSS font definition:
```
@font-face {
font-family: "test family";
src: local(test font face);
}
```
This test fails, since `FontCacheTask` tries to get the value for the key
"test font face" from `self.web_families`, but previously initialized
a value for the key "test family".
2016-01-04 15:23:26 +01:00
Ms2ger
796c77df33
Move viewport_percentage_vw_vh_a.html and viewport_percentage_vw_vh_b.html to wpt reftests.
2016-01-04 10:15:59 +01:00
Ms2ger
797b21eaf1
Move viewport_percentage_vmin_vmax_a.html and viewport_percentage_vmin_vmax_b.html to wpt reftests.
2016-01-04 09:58:15 +01:00
Ms2ger
1619a908b3
Add support for viewport size adjustments in wptrunner.
2016-01-04 09:58:14 +01:00
bors-servo
ee6c5ae2fb
Auto merge of #9138 - nox:enable-canvas-linestyles-linecap-001, r=frewsxcv
...
Enable /canvas_linestyles_linecap_001.htm (fixes #5714 )
CanvasDrawingStyles.lineCap was implemented and the test passes now.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9138 )
<!-- Reviewable:end -->
2016-01-04 02:30:15 +05:30
bors-servo
99e0cc76d7
Auto merge of #9125 - nox:enable-type-change-state, r=jdm
...
Enable again /the-input-element/type-change-state.html.ini (fixes #3657 )
It doesn't seem to intermittently timeout anymore.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9125 )
<!-- Reviewable:end -->
2016-01-03 21:26:02 +05:30