bors-servo
a24e86e76f
Auto merge of #9614 - paulrouget:inputEventBubbles, r=mbrubeck
...
input event should bubble
No test because: https://github.com/servo/servo/issues/9574#issuecomment-181558144
Fix #9574
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9614 )
<!-- Reviewable:end -->
2016-02-12 12:00:31 +05:30
Paul Rouget
54e737c2b0
input event should bubble
2016-02-12 07:27:27 +01:00
bors-servo
b870aa9087
Auto merge of #8987 - jdm:devtoolsreport, r=glennw
...
Report CSS errors to script task for further processing.
This was a missing piece from #8838 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8987 )
<!-- Reviewable:end -->
2016-02-12 01:45:58 +05:30
Josh Matthews
a1f0b39340
Notify devtools about new script globals sooner.
2016-02-11 14:48:48 -05:00
Josh Matthews
e6d906dbbf
Report CSS errors to script task for further processing.
2016-02-11 14:48:47 -05:00
Josh Matthews
2796a4dfa8
Compile raw inline event handlers lazily. Resolves #8489 .
2016-02-11 15:44:52 +01:00
Brandon Fairchild
6bb61afa7c
Use JS_GetOwnPropertyDescriptorById in BrowserContext ( fixes #6984 ).
2016-02-11 12:35:06 +01:00
Josh Matthews
047bb060c1
Improve documentation for new methods.
2016-02-10 09:20:06 -05:00
Josh Matthews
b7bff424da
Reorder marking of pending parser-blocking scripts to avoid reentrancy.
...
In cases where a pending parser-blocking script is executing, if the script
caused another load to complete (eg. by removing a pending iframe from the
DOM, thus terminating the load) then the currently-executing script would
attempt to execute itself again.
2016-02-10 09:20:02 -05:00
Josh Matthews
e9b98ad5fa
Make iframes block the enclosing document's load event. Fixes #6663 .
2016-02-10 09:20:00 -05:00
Ms2ger
d04d8fcae4
Update dlib.
2016-02-10 09:22:13 +01:00
bors-servo
f1018b84a8
Auto merge of #9525 - nikkisquared:test_filtered_responses, r=asajeffrey
...
Test filtered responses and implement Cors Check Fetch step
I've been writing tests for creating filtered responses. So far I have three of the four types being made (namely, Basic, CORS, and Opaque), and just need to figure out how to make an OpaqueRedirect filtered response, since it's handled separately from the others. I will also add more tests to ensure the content of the filtered responses matches the limitations placed by the specification.
Along the way I implemented Cors Check, since it's required for the CORS filtered response. @jdm suggested I handle it in here, since it's such a small step, compared to other parts of Fetch.
Since all the tests currently pass, and I've spent a while adding the Cors Check and other pieces, I figured now would be a good time to start having it reviewed.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9525 )
<!-- Reviewable:end -->
2016-02-10 03:11:22 +05:30
Nikki
e8665d47ea
working on implementing Cors Check and Origin to Ascii serialisation
2016-02-09 13:51:35 -07:00
bors-servo
cb8be1434f
Auto merge of #9565 - timvandermeij:dead-function, r=jdm
...
Remove dead function Overflow::union_rect
Fixes #9556 .
This makes Servo compile with one warning less.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9565 )
<!-- Reviewable:end -->
2016-02-10 02:20:54 +05:30
Ms2ger
d79660e989
Give WindowProxy objects an innerObject hook.
...
This ensures that UncheckedUnwrap(obj, /* stopAtOuter = */ true) will indeed
stop at the WindowProxy ("outer window", in older SpiderMonkey jargon), which
is necessary to prevent raw Window ("inner window") objects becoming visible
to JavaScript code, or tripping assertions that we don't do that.
2016-02-09 16:46:48 +01:00
Ms2ger
bc6548fa80
Stop importing XMLHttpRequestResponseType variants.
2016-02-09 10:10:01 +01:00
bors-servo
3d63f09361
Auto merge of #9244 - paulrouget:securitychange, r=jdm
...
mozbrowsersecuritychange event
Fixes #8544
No test yet. Is there a way to mock a https connection?
Also, I wish I could use the `HTTPSState` enum instead of a `String` when calling `trigger_mozbrowser_event` (https://github.com/servo/servo/compare/master...paulrouget:securitychange?expand=1#diff-30a18e04d7e0b66aafdf192e416cad44R306 ) but that would require `constellation_msg.rs` to know about `HTTPSState`, which is defined in `document.rs`, which would add a dependency to `components/msg`. I could define `HTTPSState` somewhere else maybe? Or maybe it's fine to use a `String`. But then, should I use the HTTPSState strings (`"modern/deprecated/none"`) or the mozbrowser strings (`"secure/insecure/broken"`) (as it is now)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9244 )
<!-- Reviewable:end -->
2016-02-09 13:00:29 +05:30
Paul Rouget
63519c3574
mozbrowsersercuritychange event
2016-02-09 08:05:17 +01:00
bors-servo
93cad4afd3
Auto merge of #9577 - michaelwu:h5e-update, r=Manishearth
...
Update html5ever to 0.5.0
r? @Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9577 )
<!-- Reviewable:end -->
2016-02-09 11:08:27 +05:30
Michael Wu
fc7f05a751
Update html5ever to 0.5.0
2016-02-08 16:58:18 -05:00
Ms2ger
5317af1e19
Remove the global argument to EventTarget::{fire_event, fire_simple_event}.
2016-02-08 19:21:56 +01:00
Tim van der Meij
9e01332bed
Remove dead function Overflow::union_rect
2016-02-07 15:29:15 +01:00
bors-servo
28ecb0bba3
Auto merge of #9543 - alopatindev:enums_constructors_codingstyle_fix, r=KiChjang
...
Fix #9508 : Beautify our union enums constructors
Solves #9508
@jdm Please review. Thanks!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9543 )
<!-- Reviewable:end -->
2016-02-07 05:59:57 +05:30
Alexander Lopatin
2be49404be
Fix #9508 : Beautify our union enums constructors
2016-02-07 02:55:21 +03:00
bors-servo
2f52a168ca
Auto merge of #9562 - timvandermeij:setresponsetype-spec, r=KiChjang
...
Make step 3 of XHR's SetResponseType method match the specification
Fixes #9552 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9562 )
<!-- Reviewable:end -->
2016-02-07 03:15:31 +05:30
Tim van der Meij
816c65aab0
Make step 3 of XHR's SetResponseType method match the specification
2016-02-06 22:33:42 +01:00
bors-servo
3498deca39
Auto merge of #9542 - timvandermeij:immeta, r=jdm
...
Update immeta dependency to resolve ImageCacheThread panic
Fixes #9501 .
Before this patch, a website such as http://www.universiteitleiden.nl would consistently crash Servo. After this patch, the website loads just fine.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9542 )
<!-- Reviewable:end -->
2016-02-06 04:02:47 +05:30
bors-servo
5505bf1de5
Auto merge of #9471 - peterkort:patch-1, r=jdm
...
fix #8461
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9471 )
<!-- Reviewable:end -->
2016-02-06 02:51:21 +05:30
bors-servo
289232ef61
Auto merge of #9554 - Ms2ger:util-deps, r=nox
...
Remove some unused dependencies from the util crate.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9554 )
<!-- Reviewable:end -->
2016-02-06 00:57:35 +05:30
bors-servo
3701edbf2b
Auto merge of #9537 - nox:rm-casing-plugin, r=Ms2ger
...
Remove the casing plugin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9537 )
<!-- Reviewable:end -->
2016-02-05 18:28:57 +05:30
Ms2ger
7e7683740a
Remove some unused dependencies from the util crate.
2016-02-05 13:06:14 +01:00
bors-servo
8327ab86e0
Auto merge of #9538 - nox:android-glue-version, r=Ms2ger
...
Specify android_glue version in android_glue/Cargo.toml
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9538 )
<!-- Reviewable:end -->
2016-02-05 12:42:03 +05:30
bors-servo
fb3fe3d784
Auto merge of #9522 - pcwalton:two-overflows, r=mbrubeck
...
layout: Separate out overflow-for-scrolling from overflow-for-paint.
Closes #9484 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9522 )
<!-- Reviewable:end -->
2016-02-05 10:58:50 +05:30
bors-servo
b3bbea8be8
Auto merge of #9536 - Ms2ger:dead, r=nox
...
Remove a dead_code annotation from a live method.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9536 )
<!-- Reviewable:end -->
2016-02-05 10:02:25 +05:30
bors-servo
b35801bf29
Auto merge of #9521 - Manishearth:ws-worker, r=Ms2ger
...
Make websockets work in a worker scope
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9521 )
<!-- Reviewable:end -->
2016-02-05 08:21:37 +05:30
bors-servo
87aaa5ffe0
Auto merge of #9523 - ruud-v-a:hasher, r=Wafflespeanut
...
Upgrade to new Hasher API
This fixes #9494 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9523 )
<!-- Reviewable:end -->
2016-02-05 07:32:13 +05:30
Anthony Ramine
dcfb091594
Remove the casing plugin
2016-02-05 00:42:03 +01:00
bors-servo
2a6707ce58
Auto merge of #9532 - nox:dedup-heapsize, r=Manishearth
...
Say farewell to in-tree HeapSizeOf
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9532 )
<!-- Reviewable:end -->
2016-02-05 03:40:36 +05:30
Anthony Ramine
cb5cd8d881
Say farewell to in-tree HeapSizeOf
2016-02-04 22:03:32 +01:00
Tim van der Meij
f4f42b260b
Update immeta dependency to resolve ImageCacheThread panic
2016-02-04 21:58:43 +01:00
bors-servo
629b1d33d5
Auto merge of #9515 - bholley:stylo_uplifts_2, r=SimonSapin
...
Stylo uplifts Part 2
A bunch of random things that we might as well merge into the tree.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9515 )
<!-- Reviewable:end -->
2016-02-04 23:25:09 +05:30
Anthony Ramine
4fc1b88418
Specify android_glue version in android_glue/Cargo.toml
2016-02-04 17:14:46 +01:00
bors-servo
d574b78313
Auto merge of #9469 - fhahn:compiletest2, r=jdm
...
Integrate compiletest_rs
This PR integrates `compiletest_rs` as suggested in #5646 . I created a new `tests/compiletest` directory which contains separate crates for the tests.
Currently this PR includes `compile-fail` tests for some lints (acutally all except inheritance_integrity, beacuse I'm not sure how to include the dom stuff in a way the `#[dom_struct]` works).
I gathered that there should be more crates for which compiletests make sense and would appreciate any pointers to relevant crates.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9469 )
<!-- Reviewable:end -->
2016-02-04 21:00:21 +05:30
Florian Hahn
dfdbcabc2e
Add infrastructure for compiletests
...
Also adds compilefail tests for some lints, closes #5646 .
2016-02-04 16:00:09 +01:00
bors-servo
9c21c2007b
Auto merge of #9517 - paulrouget:glutinUpdate, r=KiChjang
...
glutin update
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9517 )
<!-- Reviewable:end -->
2016-02-04 19:59:17 +05:30
Ms2ger
31dbb29895
Remove a dead_code annotation from a live method.
2016-02-04 15:17:09 +01:00
Anthony Ramine
9932a5cf82
Abstract out Node::unique_id in its own structure
...
An UnsafeCell is use to lazily create the Uuid.
2016-02-04 14:22:53 +01:00
Anthony Ramine
3c73106cbb
Bump heapsize to 0.2.5
2016-02-04 14:22:48 +01:00
Anthony Ramine
df2a3c3bc3
Bump html5ever to 0.4.2
2016-02-04 14:21:08 +01:00
Anthony Ramine
5bb3fc395a
Bump cssparser to 0.5.2
2016-02-04 14:14:23 +01:00