bors-servo
48e1d45bff
Auto merge of #6355 - hyowon:drawing_shadows, r=nox
...
https://html.spec.whatwg.org/multipage/#when-shadows-are-drawn
r? @nox
cc @mmatyas @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6355 )
<!-- Reviewable:end -->
2015-06-16 05:30:20 -06:00
James Graham
fa058760b7
Upgrade to latest wptrunner.
...
Fixes issue with servodriver
2015-06-16 10:14:04 +01:00
Jinwoo Song
7781f331d3
WebSocket constructor should not panic
...
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSocket connection to be closed when the connection could
not be established.
Fixes #6082 .
2015-06-16 09:45:42 +02:00
Hyowon Kim
465cea8db5
Implement drawing shadows in canvas.
2015-06-16 08:57:00 +09:00
Simon Sapin
0229de822b
Use string-cache from crates.io
2015-06-16 00:27:50 +02:00
bors-servo
d6263c9b6e
Auto merge of #6306 - metajack:shared-target-dir, r=mbrubeck
...
This speeds up `./mach build --dev` followed by `./mach build-cef` by
25%. When rust-lang/cargo#497 is fixed, this speedup will increase
dramatically.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6306 )
<!-- Reviewable:end -->
2015-06-15 13:08:14 -06:00
Jack Moffitt
a0237085c6
Use Cargo's target directory sharing.
...
This speeds up `./mach build --dev` followed by `./mach build-cef` by a
large amount, and also speeds up other build combos found in our CI.
2015-06-15 11:48:47 -06:00
bors-servo
f8e3f92813
Auto merge of #6358 - Ms2ger:ws-tests, r=jgraham
...
Second try.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6358 )
<!-- Reviewable:end -->
2015-06-15 11:42:16 -06:00
Ms2ger
477bfa3675
Remove the SCHEME_AND_DOMAIN constant.
...
All its users are connecting to port 80, which is not typically under the
control of the wpt server.
2015-06-15 17:29:29 +02:00
Ms2ger
2001c18ac9
Disable Document-createElement-namespace.html.
...
It crashes, but that's not always detected properly.
2015-06-15 15:17:35 +02:00
Ms2ger
e8d691aa03
Don't try to connect to "ws://"+location.host+"/" in WebSocket tests.
...
This will connect on port 80, which is not typically under the control of the
wpt server.
2015-06-14 20:38:04 +02:00
Ms2ger
5cc130727f
Test that the exception doesn't get lost in acceptNode.
...
And it turns out that it does get lost. I have no idea where, but I suspect it
is in SpiderMonkey somewhere. I hope the SpiderMonkey upgrade will fix it.
2015-06-14 20:08:32 +02:00
Ms2ger
90a7ef1571
Throw a TypeError when get_callable_property encounters a value that isn't callable.
2015-06-14 20:08:26 +02:00
bors-servo
6b886e545d
Auto merge of #6369 - Ms2ger:update-wptrunner, r=Manishearth
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6369 )
<!-- Reviewable:end -->
2015-06-14 10:54:39 -06:00
Ms2ger
c670894aed
Update wptrunner.
2015-06-14 18:52:07 +02:00
bors-servo
ceaca2e288
Auto merge of #6357 - ecoal95:more-webgl, r=pcwalton
...
See the commit descriptions for more details.
Blocked on https://github.com/servo/gleam/pull/24
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6357 )
<!-- Reviewable:end -->
2015-06-13 15:05:08 -06:00
ecoal95
eb502bdbb8
webgl: Add drawArrays reftest
...
I also removed flackyness of the clearColor test, hopefully it's fixed now
that a lot of race conditions have disappeared thanks to @glennw.
2015-06-13 23:03:39 +02:00
ecoal95
b0d04765ae
webgl: Add WebGLActiveInfo and WebGLShaderPrecisionFormat interfaces
2015-06-13 23:03:37 +02:00
Corey Farwell
5c408d2be9
rust-geom API changes
...
https://github.com/servo/rust-geom/pull/81
2015-06-13 12:28:21 -07:00
Ms2ger
4624fc18d2
Correct the README.
2015-06-13 12:15:18 +02:00
bors-servo
434183c944
Auto merge of #6366 - eddyb:preserve-ua-on-redirect, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6366 )
<!-- Reviewable:end -->
2015-06-13 03:16:38 -06:00
Eduard Burtescu
21bb8bf8ad
Update "preserve UserAgent on redirect" test to be browser-agnostic.
2015-06-13 12:14:37 +03:00
bors-servo
9474e62d38
Auto merge of #6157 - hyowon:canvas_pattern_fill, r=nox
...
Issue #6056
Depends on servo/rust-azure#160
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6157 )
<!-- Reviewable:end -->
2015-06-13 01:49:50 -06:00
Hyowon Kim
00240e5550
Implementation of pattern fill style for canvas.
2015-06-13 14:35:13 +09:00
Eduard Burtescu
9a87f830fc
Preserve UserAgent header on redirect.
2015-06-12 21:44:22 +03:00
bors-servo
b87df12ac2
Auto merge of #6343 - jgraham:css_disable_test, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6343 )
<!-- Reviewable:end -->
2015-06-12 09:40:52 -06:00
James Graham
2439ce6ca7
Disable unstable CSS test
2015-06-12 16:03:24 +01:00
bors-servo
cf03352d7c
Auto merge of #6339 - michaelwu:let-var-replacement, r=jgraham
...
let can't be used without specifying a newer JS version at the moment.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6339 )
<!-- Reviewable:end -->
2015-06-12 08:57:56 -06:00
bors-servo
b9d53a2950
Auto merge of #6346 - nnethercote:improve-mem-unit-testing, r=Manishearth
...
r? @Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6346 )
<!-- Reviewable:end -->
2015-06-12 04:08:53 -06:00
bors-servo
f163f2bf0d
Auto merge of #6337 - hyowon:shadow_attrs, r=nox
...
The first step of the implementation for shadows in canvas.
r? @nox @jdm
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6337 )
<!-- Reviewable:end -->
2015-06-12 03:27:07 -06:00
Ms2ger
d9995d9541
Revert "Don't try to connect to "ws://"+location.host+"/" in WebSocket tests."
...
This reverts commit 61a9f9d7d4
.
2015-06-12 10:43:33 +02:00
Ms2ger
2212cacef2
Revert "Remove the SCHEME_AND_DOMAIN constant."
...
This reverts commit 8ddb9cfcb6
.
2015-06-12 10:43:19 +02:00
Ms2ger
230c4201f3
Revert "WebSocket constructor should not panic"
...
This reverts commit 877c369e0b
.
2015-06-12 09:40:57 +02:00
Hyowon Kim
473afdb196
Add attributes for canvas shadows.
2015-06-12 09:40:00 +09:00
Nicholas Nethercote
ab59a201f8
Improve unit testing of util::mem.
2015-06-11 15:23:27 -07:00
Ms2ger
8ddb9cfcb6
Remove the SCHEME_AND_DOMAIN constant.
...
All its users are connecting to port 80, which is not typically under the
control of the wpt server.
2015-06-11 21:25:08 +02:00
Ms2ger
61a9f9d7d4
Don't try to connect to "ws://"+location.host+"/" in WebSocket tests.
...
This will connect on port 80, which is not typically under the control of the
wpt server.
2015-06-11 21:16:57 +02:00
bors-servo
31b8384b93
Auto merge of #6341 - jgraham:css_update_1010, r=larsbergstrom
...
…36d7b389f3e6ab
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6341 )
<!-- Reviewable:end -->
2015-06-11 11:12:33 -06:00
James Graham
8bd5ccb82b
Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
2015-06-11 17:57:53 +01:00
Michael Wu
8aa026e741
Switch from let to var in mozilla wpt tests
...
let can't be used without specifying a newer JS version at the moment.
2015-06-11 12:10:30 -04:00
Jinwoo Song
877c369e0b
WebSocket constructor should not panic
...
Make an early return when the WebSocket connection fails in the constructor.
Also let the WebSockect connection to be closed when the connection could
not be established.
Fixes #6082 .
2015-06-11 13:58:04 +02:00
bors-servo
407c94a6c8
Auto merge of #6313 - Ms2ger:enable-url, r=jgraham
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6313 )
<!-- Reviewable:end -->
2015-06-10 01:47:27 -06:00
bors-servo
44a4b7886d
Auto merge of #6284 - fbau123:6242-testbinding-add-specialoperations, r=nox
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6284 )
<!-- Reviewable:end -->
2015-06-09 17:12:43 -06:00
Francesc Bautista
4ada1e9421
added TestBindingProxy.webidl and testbindingproxy.rs files
...
added testbindingproxy to dom/mod.rs and fixed unused variable warning of testingbindingproxy.rs
removed useless GlobalField, removed brackets use statements with only 1 element and changed the description of TestBindingProxy.webidl
renamed reflector to reflector_ and removed unused import in testbinding.rs
2015-06-09 23:14:05 +02:00
bors-servo
da2ea385ba
Auto merge of #6146 - mskrzypkows:dom_performance_tests, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6146 )
<!-- Reviewable:end -->
2015-06-09 12:15:12 -05:00
Ms2ger
af83641e06
Enable the url tests.
2015-06-09 18:38:37 +02:00
bors-servo
e09c555a41
Auto merge of #6293 - ecoal95:webgl-objects, r=nox
...
This commit implements:
* WebGLFramebuffer
* WebGLRenderbuffer
* WebGLTexture
And adds the following methods to `WebGLRenderingContext`:
* create{Texture,Framebuffer,Renderbuffer}
* bind{Texture,Framebuffer,Renderbuffer}
* destroy{Buffer,Texture,Framebuffer,Renderbuffer}
Fixes:
* WebGLUniform location shouldn't inherit from WebGLObject.
Known Issues:
* WebGL objects have to be destroyed on drop, we may want to keep a reference to the context, or maybe a clone of the renderer to achieve this
Also refactors a huge part of the current implementation, to allow
failing on creation of different WebGL objects.
Blocked on https://github.com/servo/gleam/pull/22
A reftest for most of the added functionality is not doable right now,
we need a few more functions in order to upload a texture, for example.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6293 )
<!-- Reviewable:end -->
2015-06-09 10:06:37 -05:00
Maciej Skrzypkowski
2a729166c1
New html page for testing DOM binding performance #5760
2015-06-09 09:12:08 +02:00
bors-servo
ce30807be5
Auto merge of #6290 - hyowon:fill_or_stroke_style, r=nox
...
The fillStyle and strokeStyle attributes can be either strings(color), CanvasGradients, or CanvasPatterns.
The current implementation only considers strings(color).
r? @nox @jdm @pcwalton
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6290 )
<!-- Reviewable:end -->
2015-06-08 09:49:13 -05:00
ecoal95
9f94d39c9e
Implement new WebGL interfaces and methods
...
This commit implements:
* WebGLFramebuffer
* WebGLRenderbuffer
* WebGLTexture
And adds the following methods to `WebGLRenderingContext`:
* create{Texture,Framebuffer,Renderbuffer}
* bind{Texture,Framebuffer,Renderbuffer}
* destroy{Buffer,Texture,Framebuffer,Renderbuffer}
Fixes:
* WebGLUniform location shouldn't inherit from WebGLObject.
Known Issues:
* WebGL objects have to be destroyed on drop, we may want to keep a reference to the context, or maybe a clone of the renderer to achieve this
Also refactors a huge part of the current implementation, to allow
failing on creation of different WebGL objects.
Blocked on https://github.com/servo/gleam/pull/22
A reftest for most of the added functionality is not doable right now,
we need a few more functions in order to upload a texture, for example.
2015-06-06 12:14:01 +02:00