Kevin Ball
9ac5eb3e3c
Fix code review concerns on tests
2015-07-06 08:31:39 -07:00
bors-servo
c022262826
Auto merge of #6505 - ttaubert:issue/4666-crypto-getRandomValues, r=Ms2ger
...
Implement crypto.getRandomValues()
Didn't touch mozjs or rust-mozjs because implementing that in the code generator didn't seem too easy. I'm using the same workaround that the TextDecoder does.
Using the OsRng should be the right choice here? As the OS keeps state for us we wouldn't need to have a global rng instance to keep around.
Fixes #4666 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6505 )
<!-- Reviewable:end -->
2015-07-05 22:16:19 -06:00
bors-servo
cc73aad447
Auto merge of #6546 - michaelwu:slim-layoutdatawrapper, r=Ms2ger
...
Remove LayoutChan from LayoutDataWrapper
Saves 32 bytes in Node.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6546 )
<!-- Reviewable:end -->
2015-07-05 21:39:12 -06:00
Kevin Ball
dbbab3b113
Implement Node.baseURI
2015-07-05 15:29:04 -07:00
Corey Farwell
3cfd4d14e2
Unit test for util::str::split_html_space_chars
...
I was concerned for a little bit that passing just whitespace to the
split_html_space_chars function would result in len > 0, so I wrote this
small unit test to make sure it does the right thing. Even though it
does do the right thing, I think there's still value in committing the
unit test.
2015-07-04 18:57:42 -07:00
Michael Wu
1a014beb08
Remove LayoutChan from LayoutDataWrapper
2015-07-04 03:54:40 -04:00
Tim Taubert
92874a89d2
Implement window.crypto.getRandomValues()
2015-07-03 18:34:00 +02:00
Brandon Mintern
0a3981cdc9
Update Worker location for redirects
...
Fixes #4146
2015-07-02 11:25:33 -04:00
Ms2ger
3fb5197361
Update web-platform-tests to revision 87398b8448f699e3e324148795891658f2fa16dd
2015-06-30 14:11:21 +02:00
bors-servo
525d483b82
Auto merge of #6448 - servo:wpt_20150623, r=Manishearth
...
Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6448 )
<!-- Reviewable:end -->
2015-06-28 14:53:18 -06:00
Ms2ger
c66c6af0ba
Update web-platform-tests to revision 4d96cccabc2feacd48e1dab9afc22b8af2225572
2015-06-28 22:52:24 +02:00
bors-servo
6f25ecea3f
Auto merge of #6507 - Ms2ger:node-insert, r=Manishearth
...
Fix a bug in Node::pre_insert.
It was accidentally broken in 3ce368fa28
.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6507 )
<!-- Reviewable:end -->
2015-06-28 14:01:47 -06:00
Ms2ger
9b270f6238
Disable the upstream tests.
2015-06-28 20:36:33 +02:00
Ms2ger
322a6977f9
Duplicate some canvas tests in preparation for upstream changes.
2015-06-28 17:40:39 +02:00
Ms2ger
b333501a46
Add a test for insertBefore(x, x), and move the test for replaceChild(x, x) to a better place.
2015-06-28 17:23:31 +02:00
Ms2ger
0b680dc9bd
Fix a bug in Node::pre_insert.
...
It was accidentally broken in 3ce368fa28
.
2015-06-28 15:59:01 +02:00
Ms2ger
bf50379833
Enable experimental features in the multiple_stylesheets_cascading test ( fixes #6466 ).
2015-06-26 17:15:20 +02:00
Ms2ger
73a7e92bfd
Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0.
2015-06-25 20:02:36 +02:00
Joel Teichroeb
d33579183a
Implement the Image NamedConstructor for HTMLImageElement
2015-06-24 10:42:54 -07:00
bors-servo
3e90a60170
Auto merge of #6447 - servo:viewport, r=larsbergstrom
...
Mark the viewport tests as flaky on Mac.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6447 )
<!-- Reviewable:end -->
2015-06-24 07:02:52 -06:00
Ms2ger
6342c544a1
Disable the flaky viewport tests.
...
The flaky_macos annotation does not appear to work.
2015-06-24 14:57:16 +02:00
bors-servo
6247a96761
Auto merge of #6223 - nox:merge-generic-functions, r=Ms2ger
...
Merge generic funs to share them across all bindings (fixes #2684 )
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6223 )
<!-- Reviewable:end -->
2015-06-24 03:54:56 -06:00
Anthony Ramine
a90983553b
Merge generic funs to share them across all bindings ( fixes #2684 )
2015-06-24 11:34:30 +02:00
bors-servo
95d643c995
Auto merge of #6410 - hyowon:create_pattern, r=pcwalton
...
Create pattern from HTMLCanvasElement or CanvasRenderingContext2D.
r? @nox @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/6410 )
<!-- Reviewable:end -->
2015-06-24 00:39:48 -06:00
James Graham
7f63309602
Add onkey* global event handler attributes
2015-06-23 21:48:38 -07:00
Hyowon Kim
0e8491fb8c
Create pattern from HTMLCanvasElement or CanvasRenderingContext2D.
2015-06-24 09:56:28 +09:00
Glenn Watson
39ddbbb0e1
Implement enough of 3d transforms spec to run the CSS FPS demo.
2015-06-23 14:10:44 +10:00
bors-servo
8c784ceeea
Auto merge of #6371 - nox:url, r=Ms2ger
...
Implement URL and trivially missing URLUtils members
Fixes #6322 .
Still no mutation whatsoever in URLUtils.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6371 )
<!-- Reviewable:end -->
2015-06-21 10:22:06 -06:00
Ms2ger
4a90f21e42
Use hostname rather than host when appending a port manually.
...
The host attribute returns the port as well as the hostname.
2015-06-21 16:52:17 +02:00
Ms2ger
deef342ed8
Don't try to connect to a non-existent WebSocket server on location.host:80.
2015-06-20 17:10:47 +02:00
Anthony Ramine
a8e4558e82
Implement URL and trivially missing URLUtils members
...
Fixes #6322 .
2015-06-20 15:17:55 +02:00
bors-servo
02303941be
Auto merge of #6413 - hyowon:invalid_shadow_attrs, r=Ms2ger
...
Check invalid values for the shadow attributes.
I left out checking invalid values when setting the shadows attributes.
r? @nox @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/6413 )
<!-- Reviewable:end -->
2015-06-20 06:44:08 -06:00
bors-servo
de251795c3
Auto merge of #6429 - ecoal95:patch-1, r=metajack
...
Update jQuery tests usage message
It was in the wrong order.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6429 )
<!-- Reviewable:end -->
2015-06-19 19:31:57 -06:00
Michael Wu
675267b782
Upgrade to SM 39
2015-06-19 18:42:48 -04:00
Emilio Cobos Álvarez
4d84ad51f4
Update jQuery tests usage message
2015-06-19 16:42:17 +02:00
bors-servo
4ebb95ccd8
Auto merge of #6423 - ecoal95:euclid, r=glennw
...
Use euclid from crates.io
Sorry for not doing it yesterday, I couldn't.
cc @metajack @SimonSapin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6423 )
<!-- Reviewable:end -->
2015-06-18 20:50:22 -06:00
Glenn Watson
4665db8eea
Disable two css tests that are consistently failing on mac as well as linux.
2015-06-19 10:56:44 +10:00
ecoal95
8cbfb3482c
Use euclid from crates.io
2015-06-19 00:04:24 +02:00
Hyowon Kim
cc55e2e426
Check invalid values for the shadow attributes.
2015-06-18 16:54:12 +09:00
bors-servo
fd44db2190
Auto merge of #6403 - glennw:fix-outline-width, r=SimonSapin
...
Fix computed value of outline width when outline style is not set.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6403 )
<!-- Reviewable:end -->
2015-06-17 20:29:44 -06:00
Glenn Watson
229dfbd117
Fix computed value of outline width when outline style is not set.
2015-06-18 12:13:14 +10:00
Hyowon Kim
2e230bdb93
Implement fill and stroke functions for all pattern types and check the zero size gradient.
2015-06-17 09:46:38 +09:00
bors-servo
ee22ae2635
Auto merge of #6398 - jgraham:wptrunner_upgrade_servodriver, r=Ms2ger
...
Fixes issue with servodriver
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6398 )
<!-- Reviewable:end -->
2015-06-16 08:41:16 -06:00
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