bors-servo
a855669d4f
Auto merge of #7455 - nox:rm-unused-warnings, r=jdm
...
Do not allow some warnings in codegen anymore
This fixes #395 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7455 )
<!-- Reviewable:end -->
2015-08-30 11:37:04 -06:00
Josh Matthews
0d6f410a3f
Allow wptrunner to enable prefs for Servo.
2015-08-30 12:37:34 -04:00
Josh Matthews
447b5b560c
Enable experimental layout prefs for CSSWG reftests.
2015-08-30 12:37:13 -04:00
bors-servo
3062e0c7b1
Auto merge of #7445 - JoshTheGoldfish:Issue6934, r=Manishearth
...
Issue #6934 - Implement onerror event handler for AbstractWorker
Please review.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7445 )
<!-- Reviewable:end -->
2015-08-30 10:19:15 -06:00
erneyja
8d4ed7292d
Implemented onerror event handler for AbstractWorker
2015-08-30 11:37:16 -04:00
bors-servo
79328c11e3
Auto merge of #7442 - ecoal95:shader-validation, r=jdm
...
Add WebGL shader validation and translation
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7442 )
<!-- Reviewable:end -->
2015-08-30 09:29:42 -06:00
Anthony Ramine
cf6975f2a3
Do not allow unreachable_code in codegen anymore
2015-08-30 17:25:05 +02:00
Anthony Ramine
3c1c315838
Do not allow dead_code in codegen anymore
2015-08-30 17:19:42 +02:00
Anthony Ramine
2c8638ea9e
Do not allow unused_parens in codegen anymore
2015-08-30 17:16:15 +02:00
Anthony Ramine
1064e7decc
Do not allow unused_mut in codegen anymore
2015-08-30 16:53:35 +02:00
Anthony Ramine
aaa7a86381
Do not allow unused_unsafe in codegen anymore
2015-08-30 16:53:20 +02:00
bors-servo
940bcadc13
Auto merge of #7432 - jdm:dashedprops, r=nox
...
Add dashed CSS properties in CSSStyleDeclaration
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7432 )
<!-- Reviewable:end -->
2015-08-30 08:20:57 -06:00
bors-servo
89a5e2b3d0
Auto merge of #7433 - frewsxcv:formdata-get, r=nox
...
Cleanup, refactor FormDataMethods::Get
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7433 )
<!-- Reviewable:end -->
2015-08-30 07:00:33 -06:00
ecoal95
167885707d
webgl: Add shader validation and translation
...
This commit adds angle-based validation and translation to WebGL
shaders.
The changes to the tex_image_2d test is neccessary (it was not valid
GLES 2.0 shader language).
2015-08-30 14:23:14 +02:00
Sam Gibson
4b6f07cbe6
Resolves strange borrow/type checking issues from new thread naming
2015-08-30 12:23:50 +10:00
Sam Gibson
f257b5fcef
Adds content-length to empty-bodied non-GET/HEAD requests
2015-08-30 12:14:15 +10:00
Sam Gibson
976dbc5155
Adds a test for non-default accept-encoding headers
2015-08-30 12:14:15 +10:00
Sam Gibson
9b1f2231cb
Adds a test for non-default accept headers
2015-08-30 12:14:15 +10:00
Sam Gibson
287dc7371f
Extracts some dense code to a let binding
2015-08-30 12:14:14 +10:00
Sam Gibson
86df1d3d6a
Renames AssertMustHaveHeadersRequest
2015-08-30 12:14:14 +10:00
Sam Gibson
ac0e4b4337
Renames RequestType
2015-08-30 12:14:13 +10:00
Sam Gibson
667b563f2e
Renames LoadResponse
2015-08-30 12:14:13 +10:00
Sam Gibson
a1fd235347
Moves devtools request msg logic to where the request is sent
2015-08-30 12:14:12 +10:00
Sam Gibson
3b8bada5a1
Fixes code review nits
2015-08-30 12:14:12 +10:00
Sam Gibson
04c012dfbf
Binds name instead of inlining value for readability
2015-08-30 12:14:11 +10:00
Sam Gibson
918f8a7760
Removes unnecessary clone
2015-08-30 12:14:11 +10:00
Sam Gibson
d8acb893de
Inverts conditional and returns
2015-08-30 12:14:11 +10:00
Sam Gibson
1811ffa178
Uses and_then
instead of more complicated matching
2015-08-30 12:14:10 +10:00
Sam Gibson
84ae53e011
Indents arguments to be more readable
2015-08-30 12:14:10 +10:00
Sam Gibson
6de61301f4
Removes inline'ing
2015-08-30 12:14:09 +10:00
Sam Gibson
94284fc47f
Fixes new tidy problems
2015-08-30 12:14:09 +10:00
Sam Gibson
d53af0d9ed
Fixes merge errors
2015-08-30 12:14:08 +10:00
Sam Gibson
979382650f
Removes nossl
2015-08-30 12:14:08 +10:00
Sam Gibson
9322954f15
Moves devtools messaging to functions
2015-08-30 12:14:06 +10:00
Sam Gibson
04b7ce0afa
Tests rewriting redirects of POST as GET
2015-08-30 12:14:06 +10:00
Sam Gibson
2eaac7e3f9
Adds tests for gzip/deflate response decoding
2015-08-30 12:14:05 +10:00
Sam Gibson
6064ee8756
Eliminates need to box response reader
...
I don't know how idiomatic this is for rust, but the only way I could think of to do this is with a union enum and generics. As the number of decoders should never be more than a few, this shouldn't really be a problem.
2015-08-30 12:14:05 +10:00
Sam Gibson
879b058be2
Returns LoadResponse struct instead of a tuple
...
Still boxes the reader, but at least is a step in the right direction
2015-08-30 12:14:05 +10:00
Sam Gibson
3c756d254b
Avoids sending a request body on a redirect
2015-08-30 12:14:04 +10:00
Sam Gibson
15d82091c5
Fixes tidy overlong lines
2015-08-30 12:14:04 +10:00
Sam Gibson
ea2d7f4dd5
Uses the correct url when reporting http errors
2015-08-30 12:14:03 +10:00
Sam Gibson
d6e1fab278
Uses hyper's ContentEncoding instead of get_raw
2015-08-30 12:14:03 +10:00
Sam Gibson
5a60fdf4ca
Moves STS update code to a function
2015-08-30 12:14:02 +10:00
Sam Gibson
c093ce8a5a
Only use the resource manager's HSTS list.
...
Simplifies a bunch of stuff.
2015-08-30 12:14:02 +10:00
Sam Gibson
ffc3877deb
Adds tests for setting/getting cookies from load
2015-08-30 12:13:35 +10:00
Sam Gibson
26a6e058e7
Adds more tests for checking request headers
2015-08-30 12:13:34 +10:00
Sam Gibson
7a09c2d924
Shifts to a series of traits/associated types instead of having a requester
2015-08-30 12:13:34 +10:00
Sam Gibson
06f09f6cdb
Adds tests for redirecting
...
servo/servo#6727
2015-08-30 12:13:34 +10:00
Sam Gibson
81fe5938bf
Removes HttpRequest, adds HttpResponse wrapper
...
The HttpRequest trait doesn't make sense, on further reflection. Rather,
just modify the method signature on the requester. The hyper request was
only being used to mutate it's headers anyway.
servo/servo#6727
2015-08-30 12:13:33 +10:00
Sam Gibson
7633cd54c2
Abstract everything but the response from hyper
...
Because we're using unsized types not for requesting, there's not a
satisfactory way of doing this without boxing the request...
Once unsized stuff lands in rust 1.2/1.3(???) then this should be
implemented with Rc's instead of Box's.
For the time being I'm not sure what else to do.
servo/servo#6727
2015-08-30 12:13:33 +10:00