fune/servo/components/script
Bastien Orivel e2d8bcc867 servo: Merge #19330 - Add a sanitize_value implementation for the color input (from Eijebong:sanitize_color); r=KiChjang
I had to change the test a little bit to avoid some failures due to
color and text both having a sanitizedValue which was making the test
use the first assertion instead of the second one in some cases.

The sanitize_value implementation is pretty simple, we iterate over the
content and checks that the content is 7 characters long, that the first
character is a `#` and then that all the following characters are
hexadecimal. If all those requirements are met, we lowercase the
content, otherwise we put `#000000` in it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 72e7f6095e56ca6230651fc73bced8b460487569

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e4985200fa96b3d6e40d09c9f30b5df47d8cbf3a
2017-11-22 19:42:58 -06:00
..
docs servo: Merge #18635 - Rename JS<T> to Dom<T>, Root<T> to DomRoot<T>, and other things (from servo:RENAME-ALL-THE-THINGS); r=emilio 2017-09-26 03:20:05 -05:00
dom servo: Merge #19330 - Add a sanitize_value implementation for the color input (from Eijebong:sanitize_color); r=KiChjang 2017-11-22 19:42:58 -06:00
task_source servo: Merge #18670 - added time to interactive metrics (from avadacatavra:interactive-metrics); r=jdm 2017-10-25 15:53:57 -05:00
body.rs servo: Merge #18938 - Replace all uses of the heapsize crate with malloc_size_of (from nnethercote:bug-1409255); r=SimonSapin 2017-10-18 13:56:05 -05:00
build.rs servo: Merge #18971 - Use env::var_os to read paths from the environment (from mbrubeck:var); r=emilio 2017-10-21 08:09:22 -05:00
Cargo.toml servo: Merge #19229 - Bump image and offscreen_gl_context (from servo:bumps); r=emilio 2017-11-15 20:58:46 -06:00
clipboard_provider.rs
CMakeLists.txt
devtools.rs servo: Merge #18967 - Bump bitflags to 1.0 (from Eijebong:bitflags2.0); r=mbrubeck 2017-10-30 18:25:45 -05:00
document_loader.rs servo: Merge #19274 - Fetch cancellation (from Manishearth:xhr-cancel); r=jdm 2017-11-20 20:48:17 -06:00
fetch.rs servo: Merge #19329 - Add RAII guard for cancelling fetch when the consumer no longer cares about it (from Manishearth:fetchcanceller); r=jdm 2017-11-22 18:30:57 -06:00
layout_image.rs servo: Merge #18981 - Merge request type and destination (from KiChjang:fold-type-destination); r=avadacatavra 2017-10-24 17:02:18 -05:00
lib.rs servo: Merge #19152 - Include gecko-media in the dependency graph (from nox:media); r=jdm 2017-11-14 11:51:34 -06:00
mem.rs servo: Merge #18938 - Replace all uses of the heapsize crate with malloc_size_of (from nnethercote:bug-1409255); r=SimonSapin 2017-10-18 13:56:05 -05:00
microtask.rs servo: Merge #18938 - Replace all uses of the heapsize crate with malloc_size_of (from nnethercote:bug-1409255); r=SimonSapin 2017-10-18 13:56:05 -05:00
network_listener.rs servo: Merge #18573 - Introduce TaskOnce (from servo:TASKS); r=SimonSapin 2017-09-20 05:17:12 -05:00
script_runtime.rs servo: Merge #18967 - Bump bitflags to 1.0 (from Eijebong:bitflags2.0); r=mbrubeck 2017-10-30 18:25:45 -05:00
script_thread.rs servo: Merge #19329 - Add RAII guard for cancelling fetch when the consumer no longer cares about it (from Manishearth:fetchcanceller); r=jdm 2017-11-22 18:30:57 -06:00
serviceworker_manager.rs
serviceworkerjob.rs servo: Merge #18670 - added time to interactive metrics (from avadacatavra:interactive-metrics); r=jdm 2017-10-25 15:53:57 -05:00
stylesheet_loader.rs servo: Merge #19073 - Use encoding-rs instead of rust-encoding (from servo:encoding-rs); r=SimonSapin 2017-11-01 06:37:54 -05:00
task.rs servo: Merge #18875 - Remove the need for rust-mozjs to use unstable Rust features (from servo:stable-js); r=nox,jdm 2017-10-16 17:07:50 -05:00
test.rs servo: Merge #18716 - Parse srcset attribute values (from jdm:parseSrcset); r=jdm 2017-10-04 07:32:53 -05:00
textinput.rs servo: Merge #18262 - Implement value sanitization on HTMLInputElement (from KiChjang:value-sanitization); r=nox 2017-11-09 18:35:07 -06:00
timers.rs servo: Merge #18938 - Replace all uses of the heapsize crate with malloc_size_of (from nnethercote:bug-1409255); r=SimonSapin 2017-10-18 13:56:05 -05:00
unpremultiplytable.rs
webdriver_handlers.rs servo: Merge #18635 - Rename JS<T> to Dom<T>, Root<T> to DomRoot<T>, and other things (from servo:RENAME-ALL-THE-THINGS); r=emilio 2017-09-26 03:20:05 -05:00