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
bors-servo
70423154b9
Auto merge of #9583 - Ms2ger:update-product, r=jgraham
...
Pass the product to the test updating code (fixes #9563 ).
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9583 )
<!-- Reviewable:end -->
2016-02-09 16:09:34 +05:30
Ms2ger
68ad3920de
Pass the product to the test updating code ( fixes #9563 ).
2016-02-09 11:22:39 +01:00
bors-servo
b9ec889c44
Auto merge of #9581 - Ms2ger:xhr-enum, r=Manishearth
...
Stop importing XMLHttpRequestResponseType variants.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9581 )
<!-- Reviewable:end -->
2016-02-09 14:48:58 +05:30
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
bors-servo
0124d90a6d
Auto merge of #9571 - Ms2ger:fire, r=asajeffrey
...
Remove the global argument to EventTarget::{fire_event, fire_simple_event}.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9571 )
<!-- Reviewable:end -->
2016-02-09 05:08:00 +05:30
Michael Wu
fc7f05a751
Update html5ever to 0.5.0
2016-02-08 16:58:18 -05:00
Manish Goregaokar
26a6ed5873
Add CI script to retry builds
2016-02-09 01:40:44 +05:30
Ms2ger
5317af1e19
Remove the global argument to EventTarget::{fire_event, fire_simple_event}.
2016-02-08 19:21:56 +01:00
bors-servo
4c4df37a12
Auto merge of #9028 - iszak:issue-8842, r=SimonSapin
...
The interface in #8210 allows us to create custom instances of CSS parse error reporters. We should write a test in tests/unit/style/stylesheets.rs that tries to parse invalid CSS and have a custom reporter that asserts the errors that are reported.
Code: tests/unit/style/stylesheets.rs, http://doc.servo.org/style_traits/trait.ParseErrorReporter.html
Fixes #8842
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9028 )
<!-- Reviewable:end -->
2016-02-08 06:57:48 +05:30
Iszak Bryan
68d512c1ea
Added test to verify parse error reporter is functioning
2016-02-07 18:46:41 +00: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
7c249b1d53
Auto merge of #9545 - n-liam:issue6483, r=Wafflespeanut
...
Added dependency for Fedora, mesa-libEGL-devel.
mesa-libEGL-devel was necessary on Centos 7 and likely on Fedora distos as well.
Fixes #6483
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9545 )
<!-- Reviewable:end -->
2016-02-06 11:51:48 +05:30
bors-servo
b2a297c64f
Auto merge of #9549 - saurvs:master, r=larsbergstrom
...
Removed references of android-rs-glue from comments and documentation
Fixes https://github.com/servo/servo/issues/9507 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9549 )
<!-- Reviewable:end -->
2016-02-06 08:43:46 +05:30
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
b468a6c31c
Auto merge of #9483 - Hywan:cs, r=KiChjang
...
Quality: Fix CS
Just remove trailing spaces.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9483 )
<!-- Reviewable:end -->
2016-02-05 22:57:59 +05:30
qpid
9801552535
Removed documentation referencing 'android-rs-glue', and updated a similar comment to mention 'build-apk'
2016-02-05 21:03:13 +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
n-liam
13e22dfcbc
Added dependency for Fedora mesa-libEGL-devel. This dependency was necessary on Centos 7 and likely on Fedora distos as well.
2016-02-04 23:51:11 -07:00
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
9e68285d35
Auto merge of #9509 - servo:cocoa, r=Ms2ger
...
Deduplicate the cocoa crate.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9509 )
<!-- Reviewable:end -->
2016-02-05 01:56:50 +05:30
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
Simon Sapin
809f633f25
Deduplicate the cocoa crate.
2016-02-04 16:19:02 +01:00
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
Manish Goregaokar
396533c479
Use a .worker.js test
2016-02-04 19:27:06 +05:30
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