servo/components
bors-servo ec3aa8bd7a
Auto merge of #20182 - paulrouget:ctrl_l, r=jdm
Prompt URL on Cmd/Ctrl-L

<!-- Please describe your changes on the following line: -->

The `sanitize_url` code is very naive. I'm sure we can do better.
This ServoShell issue describes the problem: https://github.com/paulrouget/servoshell/issues/59

I can fix that now if someone can help me figure out how to tell if a string is a valid url which is just missing a scheme. Or we can do that in a follow up.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20165

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20182)
<!-- Reviewable:end -->
2018-03-04 12:48:30 -05:00
..
allocator FreeType: don’t use usable_size() as deallocation size 2017-10-30 18:22:30 +01:00
atoms Bump string_cache, html5ever and xml5ever 2017-12-07 20:37:38 +01:00
bluetooth update tinyfiledialogs 2018-03-03 08:35:44 +01:00
bluetooth_traits Update WR (details below): 2017-10-16 16:33:24 +10:00
canvas Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
canvas_traits Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
compositing Update image to 0.18 2018-02-28 16:25:35 +01:00
config removed default_data_dir() and default_cache_dir() components/config/basedir.rs 2018-03-02 22:39:07 +02:00
constellation Update itertools to 0.7 2018-02-28 16:25:32 +01:00
debugger
deny_public_fields Bump syn/quote in deny_public_fields 2018-02-12 15:05:18 +01:00
devtools Update cookie to 0.10 2017-11-24 10:49:14 +01:00
devtools_traits Update cookie to 0.10 2017-11-24 10:49:14 +01:00
dom_struct Upgrade to rustc 1.24.0-nightly (5a2465e2b 2017-12-06) 2017-12-07 13:50:09 +01:00
domobject_derive Bump syn/quote in domobject_derive 2018-02-12 17:07:40 +01:00
fallible Update smallvec to 0.6 2017-12-05 12:03:20 +01:00
geometry Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
gfx Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
gfx_traits Update WebRender 2018-02-06 15:10:35 +01:00
hashglobe style: Back out ordermap. 2018-02-12 12:20:46 +01:00
jstraceable_derive Bump syn/quote in jstraceable_derive 2018-02-12 17:07:58 +01:00
layout Auto merge of #20171 - servo:content-item-counters, r=emilio 2018-03-02 11:18:49 -05:00
layout_thread style: Add also a containing_shadow API. 2018-03-03 23:52:50 +01:00
layout_traits Update WR (details below): 2017-10-16 16:33:24 +10:00
malloc_size_of Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
malloc_size_of_derive Bump syn/quote in malloc_size_of_derive 2018-02-12 17:08:19 +01:00
metrics Decoupled gfx and metrics 2018-01-15 16:25:51 +01:00
msg remove mozbrowser code 2018-02-13 09:40:06 +01:00
net update tinyfiledialogs 2018-03-03 08:35:44 +01:00
net_traits Update image to 0.18 2018-02-28 16:25:35 +01:00
nonzero Replace NonZeroU32 and NonZeroUsize with a generic NonZero 2017-10-16 20:19:19 +02:00
profile added time to interactive metrics, refactored metrics to use traits 2017-10-24 21:02:56 +01:00
profile_traits added time to interactive metrics, refactored metrics to use traits 2017-10-24 21:02:56 +01:00
rand Update lazy_static to 1.0 2017-12-04 22:51:13 +01:00
range Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
remutex Merge servo_remutex to servo_remutex_tests 2018-01-20 15:37:04 +01:00
script update tinyfiledialogs 2018-03-03 08:35:44 +01:00
script_layout_interface Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
script_plugins Make the unrooted_must_root conditional on a default Cargo feature. 2017-11-02 15:08:04 +01:00
script_traits Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
selectors style: Reindent yet another function. 2018-02-24 22:45:53 +01:00
servo Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
servo_arc Fix license metadata for servo_arc crate 2018-02-21 16:35:18 -08:00
size_of_test
style Auto merge of #20191 - jfkthame:font-shorthand-resets-variation-settings, r=emilio 2018-03-04 11:50:56 -05:00
style_derive Never store a squared root in SquaredDistance 2018-03-04 02:10:44 +01:00
style_traits Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
url Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webdriver_server Update image to 0.18 2018-02-28 16:25:35 +01:00
webvr Bump euclid to 0.17 2018-02-28 09:46:59 +01:00
webvr_traits Update WR (details below): 2017-10-16 16:33:24 +10:00