Ms2ger
eba74554f3
Add and update some FIXME comments about origin handling with iframes.
2016-05-02 12:34:08 +02:00
Ms2ger
68076fbd7b
Return a Url from HTMLIFrameElement::get_url.
...
Since Url::origin() always returns an opaque origin for about: urls, I don't
believe this changes behaviour.
2016-05-02 12:32:44 +02:00
bors-servo
5358df5a16
Auto merge of #10958 - izgzhen:fixes, r=nox
...
Minor fixes to documentation
1. Looks like getters and setters are specified here already. 0385f60310/components/script/dom/bindings/mod.rs (L62)
2. The `MutNullableJS` and `Unrooted` looks obsolete
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10958 )
<!-- Reviewable:end -->
2016-05-02 00:59:37 -07:00
bors-servo
14926529c9
Auto merge of #10873 - izgzhen:blob, r=Manishearth
...
Fixes related to File API
Fixing problems I met when trying to resolve https://github.com/servo/servo/issues/10851 , but most of changes here are simple fixes.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10873 )
<!-- Reviewable:end -->
2016-05-01 22:13:20 -07:00
Zhen Zhang
e0f3cdafe1
Fixes related to file input and File API
2016-05-02 12:52:28 +08:00
Zhen Zhang
0385f60310
fix docs
2016-05-02 11:17:35 +08:00
bors-servo
ca05f03ea3
Auto merge of #10938 - bholley:margin_padding_fontsize_hasclass, r=emilio
...
Geckolib: Implement Margin, Padding, font-size, and has_class
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10938 )
<!-- Reviewable:end -->
2016-05-01 19:48:53 -07:00
Bobby Holley
0982e6f237
Implement Margin and Padding.
...
Note: We still need to handle the cached value stuff. I'll do that shortly.
2016-05-01 19:47:59 -07:00
Bobby Holley
9aab775e7c
Implement font-size more correctly.
...
This still doesn't take zooming into account.
2016-05-01 19:47:58 -07:00
Bobby Holley
eb0cd93d7d
Implement has_class.
2016-05-01 19:47:57 -07:00
Bobby Holley
f468166dc3
Regenerate bindings to derive more traits for enums.
2016-05-01 19:47:55 -07:00
bors-servo
e65009f317
Auto merge of #10809 - perlun:sendoushi-master, r=jdm
...
Fixed line-height for input and textarea + use correct font
Fixes #10532 .
Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged.
(Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.)
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10809 )
<!-- Reviewable:end -->
2016-05-01 16:22:17 -07:00
Per Lundberg
220722e321
Fixed test failures.
2016-05-01 22:37:40 +03:00
bors-servo
288db30cbe
Auto merge of #10948 - aneeshusa:clean-up-ci-bash-scripts, r=emilio
...
Clean up CI bash scripts
Also reverts #9572 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10948 )
<!-- Reviewable:end -->
2016-05-01 08:46:16 -07:00
bd339
2ecd57cfa3
test that JS on a document without a browsing context isn't executed.
2016-05-01 14:08:00 +02:00
bd339
0c92e19e84
make scripting_enabled
depend on a browsing context
2016-05-01 14:06:02 +02:00
bors-servo
fc1e4c8085
Auto merge of #10913 - mbrubeck:xi-unicode, r=pcwalton
...
Use xi-unicode for line breaking
This uses the xi-unicode crate by @raphlinus to detect line-break opportunities, replacing Servo's custom code that only detects ASCII whitespace. xi-unicode is licensed under the Apache-2.0 license.
See mbrubeck/servo#2 for some discussion on an earlier draft of this code. This PR implements the "search backward to find trailing whitespace" solution discussed there.
r? @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10913 )
<!-- Reviewable:end -->
2016-04-30 21:20:38 -07:00
Aneesh Agrawal
cca3f7a105
Remove etc/ci/retry.sh
...
It was added with the intention of being used on the CI,
but it was never added to the CI. We have better ways of finding
test failures and intermittents these days.
2016-04-30 23:51:39 -04:00
Aneesh Agrawal
1e0d039511
Clean up CI bash scripts, add docs/STYLE_GUIDE.md
2016-04-30 23:51:29 -04:00
Matt Brubeck
894f6395e6
Use xi-unicode for line breaking
2016-04-30 20:37:22 -07:00
bors-servo
77cb2ca89a
Auto merge of #10712 - KiChjang:multipart-form-data, r=jdm
...
Support form submission of multipart/form-data
Fixes #7553 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10712 )
<!-- Reviewable:end -->
2016-04-30 18:43:30 -07:00
Keith Yeung
3110647852
Make IFrameLoadInfo take an Option<LoadData> instead of Option<Url>
2016-04-30 21:43:01 -04:00
Keith Yeung
e1091128cd
Add tests for submit entity body
2016-04-30 21:42:59 -04:00
Keith Yeung
16361086d9
Add planned navigation to submit as entity body ( fixes #9829 )
2016-04-30 21:42:57 -04:00
Prabhjyot Singh Sodhi
cfde40e225
Support form submission of multipart/form-data
2016-04-30 21:42:50 -04:00
bors-servo
a868bb2a90
Auto merge of #10936 - pcwalton:wr-scroll-event-handling, r=glennw
...
compositor: When WebRender is in use, only composite on new WebRender frames.
Scheduling composition on scroll and so forth is unnecessary and can
cause us to miss frames if the code happens to start the composition
while the WebRender backend is still in the process of preparing the
frame. This is most easily seen when scrolling in full-screen mode in
release builds on Mac.
Closes #9879 .
r? @glennw
cc @paulrouget
cc @tschneidereit
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10936 )
<!-- Reviewable:end -->
2016-04-30 17:14:05 -07:00
bors-servo
8db0367301
Auto merge of #10944 - mbrubeck:bitflags-0.6, r=frewsxcv
...
Upgrade a bunch of dependencies
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10944 )
<!-- Reviewable:end -->
2016-04-30 15:21:22 -07:00
Matt Brubeck
8d540d1f9e
Upgrade bincode, pkg-config, regex, cmake, fnv
2016-04-30 15:19:38 -07:00
Matt Brubeck
1e23d90631
Upgrade to bitflags 0.6.0 and selectors 0.5.6
...
Types generated by `bitflags!` are now private by default. This PR marks them
`pub` where necessary.
2016-04-30 10:14:03 -07:00
bors-servo
b5a23a16be
Auto merge of #10941 - samlh:patch-2, r=mbrubeck
...
Remove dead code left over from #10085
cc @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10941 )
<!-- Reviewable:end -->
2016-04-30 09:44:25 -07:00
bors-servo
d3f55fbf60
Auto merge of #10917 - askeing:fix_10909, r=aneeshusa
...
The manifest_changed.sh doesn't need binary to update the manifests
fix #10909
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10917 )
<!-- Reviewable:end -->
2016-04-30 08:37:27 -07:00
bors-servo
d9dc6dd03c
Auto merge of #10931 - asajeffrey:send-panic-backtrace-to-mozbrowser, r=jdm
...
Send the panic reason and backtrace in mozbrowsererror.
Closes #10334 . Glues together PRs #10837 and #10824 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10931 )
<!-- Reviewable:end -->
2016-04-30 07:30:38 -07:00
bors-servo
ca291927ed
Auto merge of #10929 - mbrubeck:version-inflation, r=frewsxcv
...
Update libc, log, and image dependencies
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10929 )
<!-- Reviewable:end -->
2016-04-30 06:23:20 -07:00
bors-servo
0f1a921ba6
Auto merge of #10928 - servo:warnings, r=mbrubeck
...
Fix some warnings
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10928 )
<!-- Reviewable:end -->
2016-04-30 05:16:46 -07:00
bors-servo
491b5ff47e
Auto merge of #10923 - askeing:fix_10922, r=jdm
...
Remove dir by shutil.rmtree, remove file by os.remove
fix #10922
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10923 )
<!-- Reviewable:end -->
2016-04-30 03:42:18 -07:00
bors-servo
a98a53925f
Auto merge of #10901 - askeing:fix_10882, r=jdm
...
Handle HTTP specific errors then other errors when downloading rustc
fix #10882
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10901 )
<!-- Reviewable:end -->
2016-04-30 01:54:44 -07:00
bors-servo
fbf98214c9
Auto merge of #10896 - vramana:basic_fetch_file, r=KiChjang
...
Implement fetching file URL's
closes #10166
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10896 )
<!-- Reviewable:end -->
2016-04-29 22:54:20 -07:00
askeing
d41180ef08
The manifest_changed.sh doesn't need binary to update the manifests
2016-04-30 13:05:28 +09:00
askeing
3103cd4b34
Handle HTTP specific errors then other errors when downloading rustc
2016-04-30 12:45:32 +09:00
bors-servo
f6a5ecb4a9
Auto merge of #10935 - frewsxcv:activation-policy, r=larsbergstrom
...
Change OSX 'activiation policy' when running headless mode.
...or also when outputting a file.
Fixes servo#10836.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10935 )
<!-- Reviewable:end -->
2016-04-29 20:43:29 -07:00
Corey Farwell
71af66a349
Change OSX 'activation policy' when running headless mode.
...
...or also when outputting a file.
Fixes https://github.com/servo/servo/issues/10836 .
2016-04-29 23:42:48 -04:00
Samuel Harrington
4691dc0c6e
Remove dead code from block.rs
2016-04-29 20:13:42 -07:00
Samuel Harrington
b2cd35da47
Delete dead code from flow.rs
2016-04-29 20:12:22 -07:00
bors-servo
f75fa5283e
Auto merge of #10902 - asajeffrey:remove-explicit-panic-from-compositor, r=aneeshusa
...
Remove panic! from the compositor
Fixes #10864 , and adds a check to `/etc/ci/check_no_unwrap.sh`.
r? @aneeshusa
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10902 )
<!-- Reviewable:end -->
2016-04-29 17:25:17 -07:00
bors-servo
a7a8eba13e
Auto merge of #10899 - asajeffrey:chaos-monkey-ci, r=aneeshusa
...
Added /etc/ci/chaos_monkey_test.py.
Add a test to `/etc/ci` which runs a subset of `test-wpt` with `--random-pipeline-failure-probability=0.2`, and checks to make sure that there's no `CRASH` reports, so the constellation survived the experience, even if a lot of tests failed.
IRC conversation at http://logs.glob.uno/?c=mozilla%23servo&s=27+Apr+2016&e=27+Apr+2016#c416510
Fixes #10568 .
r? @aneeshusa
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10899 )
<!-- Reviewable:end -->
2016-04-29 16:01:45 -07:00
Patrick Walton
ed90011fa3
compositor: When WebRender is in use, only composite on new WebRender
...
frames.
Scheduling composition on scroll and so forth is unnecessary and can
cause us to miss frames if the code happens to start the composition
while the WebRender backend is still in the process of preparing the
frame. This is most easily seen when scrolling in full-screen mode in
release builds on Mac.
Closes #9879 .
2016-04-29 14:48:57 -07:00
bors-servo
407f991c8a
Auto merge of #10815 - emilio:anonbox-gcs, r=SimonSapin,bholley
...
style: Support anonymous box pseudo-elements
This is a work-in-progress that:
* Adds support for some pseudo-elements to skip the cascade entirely, in an analogous way to Gecko's anonymous box pseudo-elements.
* Takes rid of `StylistWrapper`, and uses `Arc::get_mut` instead.
* Uses the first bullet to precompute the `-servo-details-content` pseudo's style.
I'd like @bholley to take a look before following, do you think that the aproach is the correct?
Also, @SimonSapin could want to put some eyes on it.
Depends on https://github.com/servo/rust-selectors/pull/81
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10815 )
<!-- Reviewable:end -->
2016-04-29 14:27:16 -07:00
Emilio Cobos Álvarez
15a32fa8eb
geckolib: Remove unneeded unsafe.
2016-04-29 22:54:58 +02:00
Emilio Cobos Álvarez
41f3b1c2ba
style: Remove unneeded lifetime
2016-04-29 22:54:57 +02:00
Emilio Cobos Álvarez
f12e4b826f
style: Add doc-comment about is_eagerly_cascaded_pseudo_element
2016-04-29 22:54:56 +02:00