Commit graph

2448 commits

Author SHA1 Message Date
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
bors-servo
efb145e744 Auto merge of #9139 - nox:enable-canvas-compositing-globalcompositeoperation-001, r=frewsxcv
Enable canvas_compositing_globalcompositeoperation_001.htm (fixes #5803)

This always pass now.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9139)
<!-- Reviewable:end -->
2016-01-03 20:32:34 +05:30
bors-servo
e13a25d022 Auto merge of #9133 - nox:enable-xmlhttprequest-timeout-worker-twice, r=jdm
Enable xmlhttprequest-timeout-worker-twice.html (fixes #4041)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9133)
<!-- Reviewable:end -->
2016-01-03 17:16:37 +05:30
bors-servo
8cecf4de92 Auto merge of #9129 - frewsxcv:update-wpt-return-code, r=jgraham
Fix incorrect return code for 'update-wpt' mach command

`mach update-wpt` should return 1 if it exits in an unclean state

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9129)
<!-- Reviewable:end -->
2016-01-03 15:19:31 +05:30
bors-servo
336bbd67ba Auto merge of #9141 - nox:enable-canvas-complexshapes, r=jdm
Enable canvas_complexshapes_*_001.htm (fixes #6748, #6780)

Serde landed bincode support, so we can probably enable these again.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9141)
<!-- Reviewable:end -->
2016-01-03 13:56:04 +05:30
Manish Goregaokar
539ee18cf0 Add reftest for whitespace in <input> and <textarea> 2016-01-03 13:19:48 +05:30
Manish Goregaokar
77628df0b2 Add frewscxv's regression test for whitespace in <input> 2016-01-03 13:18:27 +05:30
bors-servo
0d3ff45f05 Auto merge of #9140 - nox:enable-canvas-state-restore-001, r=jdm
Enable canvas_state_restore_001.htm (fixes #5764)

The test now always pass.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9140)
<!-- Reviewable:end -->
2016-01-03 13:17:38 +05:30
bors-servo
1b0053f8b1 Auto merge of #9136 - frewsxcv:htmlbodyelement-background, r=nox
HTMLBodyElement 'background' attribute improvements

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9136)
<!-- Reviewable:end -->
2016-01-03 11:00:49 +05:30
bors-servo
7f156b8c12 Auto merge of #9072 - Manishearth:password-placeholder, r=eefriedman
Fix placeholders for password inputs

currently they show dots instead of the placeholder text

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9072)
<!-- Reviewable:end -->
2016-01-03 10:21:26 +05:30
Anthony Ramine
8625ff555b Enable canvas_complexshapes_*_001.htm (fixes #6748, #6780)
Serde landed bincode support, so we can probably enable these again.
2016-01-03 04:28:21 +01:00
Anthony Ramine
88a3dde3c4 Enable canvas_state_restore_001.htm (fixes #5764)
The test now always pass.
2016-01-03 03:01:39 +01:00
Anthony Ramine
ad45043ddf Enable canvas_compositing_globalcompositeoperation_001.htm (fixes #5803) 2016-01-03 02:54:09 +01:00
Anthony Ramine
8727412e3f Enable /canvas_linestyles_linecap_001.htm (fixes #5714)
CanvasDrawingStyles.lineCap was implemented and the test passes now.
2016-01-03 02:48:31 +01:00
bors-servo
1ac330837f Auto merge of #9130 - iszak:issue-9081, r=nox
Fixes https://github.com/servo/servo/issues/9081

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9130)
<!-- Reviewable:end -->
2016-01-03 06:27:54 +05:30
bors-servo
debafc127d Auto merge of #9126 - nox:enable-document-lastModified-01, r=jdm
Enable document-lastModified-01.html (fixes #3228)

The test has been fixed.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9126)
<!-- Reviewable:end -->
2016-01-03 05:49:42 +05:30
Corey Farwell
9a1fd472ab Implement 'background' IDL attribute on <body> 2016-01-02 15:42:25 -08:00
Iszak Bryan
1fa3d36167 Store state of fill or style for canvas pattern 2016-01-02 23:35:04 +00:00
Corey Farwell
f87d2c1df7 Fix incorrect return code for 'update-wpt' mach command
`mach update-wpt` should return 1 if it exits in an unclean state
2016-01-02 14:03:13 -08:00
Anthony Ramine
5cb681007f Enable xmlhttprequest-timeout-worker-twice.html (fixes #4041) 2016-01-02 20:18:53 +01:00
Anthony Ramine
482dddcaa4 Enable xmlhttprequest-timeout-worker-overrides.html (fixes #3887) 2016-01-02 19:32:55 +01:00
Anthony Ramine
b50839e3d5 Enable document-lastModified-01.html (fixes #3228)
The test has been fixed.
2016-01-02 19:24:51 +01:00
Anthony Ramine
0032fdce3b Enable again /the-input-element/type-change-state.html.ini (fixes #3657)
It doesn't seem to intermittently timeout anymore.
2016-01-02 19:21:15 +01:00
bors-servo
7a5522a263 Auto merge of #9049 - KiChjang:form-data-refactor, r=eefriedman
Refactor FormData code to match updated spec

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9049)
<!-- Reviewable:end -->
2016-01-01 21:37:09 +05:30
bors-servo
11d160fc73 Auto merge of #9109 - nerith:createpattern, r=jdm
Support empty strings as the repeat argument (CreatePattern)

According to the third step in the specification [1], createPattern
should let the repetition argument be "repeat" when it is the empty
string.

The code in CanvasRenderingContext2D::CreatePattern did not implement
this step and instead threw a SyntaxError exception when an empty
string was supplied as the repetition argument.

Fixes #9079.

[1] https://html.spec.whatwg.org/multipage/#dom-context-2d-createpattern

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9109)
<!-- Reviewable:end -->
2016-01-01 21:04:51 +05:30
Keith Yeung
7001583047 Refactor FormData code to match updated spec
Use Atoms instead of Strings as keys
2016-01-01 05:38:10 -08:00