aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-11-04 06:43:56 -0500
committerGitHub <noreply@github.com>2016-11-04 06:43:56 -0500
commit73c9847ef81e838c970e44c1645209134fddd32e (patch)
tree5fd1941bd77c8956cf259efca0aed27d0df41d5f
parentbe58dc36e85414a4d47e6c69f1dd520d300cb50c (diff)
parentf447040ea98d5a92f95d6dd3116939544441b5d8 (diff)
downloadservo-73c9847ef81e838c970e44c1645209134fddd32e.tar.gz
servo-73c9847ef81e838c970e44c1645209134fddd32e.zip
Auto merge of #14036 - frewsxcv:event, r=nox
A couple improvements to `EventTarget` event firing. <!-- 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/14036) <!-- Reviewable:end -->
-rw-r--r--components/atoms/static_atoms.txt4
-rw-r--r--components/script/dom/document.rs2
-rw-r--r--components/script/dom/event.rs6
-rw-r--r--components/script/dom/eventtarget.rs41
-rw-r--r--components/script/dom/htmldetailselement.rs2
-rw-r--r--components/script/dom/htmlformelement.rs15
-rw-r--r--components/script/dom/htmliframeelement.rs2
-rw-r--r--components/script/dom/htmlimageelement.rs8
-rw-r--r--components/script/dom/htmlinputelement.rs16
-rw-r--r--components/script/dom/htmllinkelement.rs6
-rw-r--r--components/script/dom/mediaquerylist.rs2
-rw-r--r--components/script/dom/serviceworker.rs5
-rw-r--r--components/script/dom/serviceworkercontainer.rs3
-rw-r--r--components/script/dom/serviceworkerglobalscope.rs3
-rw-r--r--components/script/dom/websocket.rs4
-rw-r--r--components/script/dom/worker.rs2
-rw-r--r--components/servo/Cargo.lock18
-rw-r--r--ports/cef/Cargo.lock16
18 files changed, 85 insertions, 70 deletions
diff --git a/components/atoms/static_atoms.txt b/components/atoms/static_atoms.txt
index d050346177f..83cddbbf7e6 100644
--- a/components/atoms/static_atoms.txt
+++ b/components/atoms/static_atoms.txt
@@ -70,4 +70,8 @@ keydown
abort
beforescriptexecute
afterscriptexecute
+invalid
+change
+open
+toggle
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs
index 83257ac7904..56ed097bce0 100644
--- a/components/script/dom/document.rs
+++ b/components/script/dom/document.rs
@@ -605,7 +605,7 @@ impl Document {
self.ready_state.set(state);
- self.upcast::<EventTarget>().fire_simple_event("readystatechange");
+ self.upcast::<EventTarget>().fire_event(atom!("readystatechange"));
}
/// Return whether scripting is enabled or not
diff --git a/components/script/dom/event.rs b/components/script/dom/event.rs
index f50d51dbb65..96e1d3658cc 100644
--- a/components/script/dom/event.rs
+++ b/components/script/dom/event.rs
@@ -330,7 +330,9 @@ impl Runnable for EventRunnable {
fn handler(self: Box<EventRunnable>) {
let target = self.target.root();
- target.fire_event(&*self.name, self.bubbles, self.cancelable);
+ let bubbles = self.bubbles.clone();
+ let cancelable = self.cancelable.clone();
+ target.fire_event_with_params(self.name, bubbles, cancelable);
}
}
@@ -345,6 +347,6 @@ impl Runnable for SimpleEventRunnable {
fn handler(self: Box<SimpleEventRunnable>) {
let target = self.target.root();
- target.fire_simple_event(&*self.name);
+ target.fire_event(self.name);
}
}
diff --git a/components/script/dom/eventtarget.rs b/components/script/dom/eventtarget.rs
index 51452c0fc53..48ba920ad60 100644
--- a/components/script/dom/eventtarget.rs
+++ b/components/script/dom/eventtarget.rs
@@ -490,21 +490,42 @@ impl EventTarget {
!self.handlers.borrow().is_empty()
}
- // https://html.spec.whatwg.org/multipage/#fire-a-simple-event
- pub fn fire_simple_event(&self, name: &str) -> Root<Event> {
- self.fire_event(name, EventBubbles::DoesNotBubble,
- EventCancelable::NotCancelable)
+ // https://dom.spec.whatwg.org/#concept-event-fire
+ pub fn fire_event(&self, name: Atom) -> Root<Event> {
+ self.fire_event_with_params(name,
+ EventBubbles::DoesNotBubble,
+ EventCancelable::NotCancelable)
}
// https://dom.spec.whatwg.org/#concept-event-fire
- pub fn fire_event(&self, name: &str,
- bubbles: EventBubbles,
- cancelable: EventCancelable)
- -> Root<Event> {
- let event = Event::new(&self.global(), Atom::from(name), bubbles, cancelable);
+ pub fn fire_bubbling_event(&self, name: Atom) -> Root<Event> {
+ self.fire_event_with_params(name,
+ EventBubbles::Bubbles,
+ EventCancelable::NotCancelable)
+ }
- event.fire(self);
+ // https://dom.spec.whatwg.org/#concept-event-fire
+ pub fn fire_cancelable_event(&self, name: Atom) -> Root<Event> {
+ self.fire_event_with_params(name,
+ EventBubbles::DoesNotBubble,
+ EventCancelable::Cancelable)
+ }
+ // https://dom.spec.whatwg.org/#concept-event-fire
+ pub fn fire_bubbling_cancelable_event(&self, name: Atom) -> Root<Event> {
+ self.fire_event_with_params(name,
+ EventBubbles::Bubbles,
+ EventCancelable::Cancelable)
+ }
+
+ // https://dom.spec.whatwg.org/#concept-event-fire
+ pub fn fire_event_with_params(&self,
+ name: Atom,
+ bubbles: EventBubbles,
+ cancelable: EventCancelable)
+ -> Root<Event> {
+ let event = Event::new(&self.global(), name, bubbles, cancelable);
+ event.fire(self);
event
}
}
diff --git a/components/script/dom/htmldetailselement.rs b/components/script/dom/htmldetailselement.rs
index 93dfef33c7c..8df0f1a62fb 100644
--- a/components/script/dom/htmldetailselement.rs
+++ b/components/script/dom/htmldetailselement.rs
@@ -94,7 +94,7 @@ impl Runnable for DetailsNotificationRunnable {
fn handler(self: Box<DetailsNotificationRunnable>) {
let target = self.element.root();
if target.check_toggle_count(self.toggle_number) {
- target.upcast::<EventTarget>().fire_simple_event("toggle");
+ target.upcast::<EventTarget>().fire_event(atom!("toggle"));
}
}
}
diff --git a/components/script/dom/htmlformelement.rs b/components/script/dom/htmlformelement.rs
index fec0ec07946..4ecc6a44fa0 100644
--- a/components/script/dom/htmlformelement.rs
+++ b/components/script/dom/htmlformelement.rs
@@ -20,7 +20,6 @@ use dom::bindings::str::DOMString;
use dom::blob::Blob;
use dom::document::Document;
use dom::element::Element;
-use dom::event::{EventBubbles, EventCancelable};
use dom::eventtarget::EventTarget;
use dom::file::File;
use dom::globalscope::GlobalScope;
@@ -305,16 +304,14 @@ impl HTMLFormElement {
{
if self.interactive_validation().is_err() {
// TODO: Implement event handlers on all form control elements
- self.upcast::<EventTarget>().fire_simple_event("invalid");
+ self.upcast::<EventTarget>().fire_event(atom!("invalid"));
return;
}
}
// Step 5
if submit_method_flag == SubmittedFrom::NotFromForm {
let event = self.upcast::<EventTarget>()
- .fire_event("submit",
- EventBubbles::Bubbles,
- EventCancelable::Cancelable);
+ .fire_bubbling_cancelable_event(atom!("submit"));
if event.DefaultPrevented() {
return;
}
@@ -484,9 +481,7 @@ impl HTMLFormElement {
// Step 5-6
let unhandled_invalid_controls = invalid_controls.into_iter().filter_map(|field| {
let event = field.as_event_target()
- .fire_event("invalid",
- EventBubbles::DoesNotBubble,
- EventCancelable::Cancelable);
+ .fire_cancelable_event(atom!("invalid"));
if !event.DefaultPrevented() { return Some(field); }
None
}).collect::<Vec<FormSubmittableElement>>();
@@ -615,9 +610,7 @@ impl HTMLFormElement {
}
let event = self.upcast::<EventTarget>()
- .fire_event("reset",
- EventBubbles::Bubbles,
- EventCancelable::Cancelable);
+ .fire_bubbling_cancelable_event(atom!("reset"));
if event.DefaultPrevented() {
return;
}
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs
index e9ccf61cc7a..2b56b9d697c 100644
--- a/components/script/dom/htmliframeelement.rs
+++ b/components/script/dom/htmliframeelement.rs
@@ -244,7 +244,7 @@ impl HTMLIFrameElement {
// TODO Step 3 - set child document `mut iframe load` flag
// Step 4
- self.upcast::<EventTarget>().fire_simple_event("load");
+ self.upcast::<EventTarget>().fire_event(atom!("load"));
let mut blocker = self.load_blocker.borrow_mut();
LoadBlocker::terminate(&mut blocker);
diff --git a/components/script/dom/htmlimageelement.rs b/components/script/dom/htmlimageelement.rs
index 373e7ed8480..e8a269c782c 100644
--- a/components/script/dom/htmlimageelement.rs
+++ b/components/script/dom/htmlimageelement.rs
@@ -105,12 +105,12 @@ impl Runnable for ImageResponseHandlerRunnable {
// Fire image.onload
if trigger_image_load {
- element.upcast::<EventTarget>().fire_simple_event("load");
+ element.upcast::<EventTarget>().fire_event(atom!("load"));
}
// Fire image.onerror
if trigger_image_error {
- element.upcast::<EventTarget>().fire_simple_event("error");
+ element.upcast::<EventTarget>().fire_event(atom!("error"));
}
// Trigger reflow
@@ -180,8 +180,8 @@ impl HTMLImageElement {
// Step 11, substep 5
let img = self.img.root();
img.current_request.borrow_mut().source_url = Some(self.src.into());
- img.upcast::<EventTarget>().fire_simple_event("error");
- img.upcast::<EventTarget>().fire_simple_event("loadend");
+ img.upcast::<EventTarget>().fire_event(atom!("error"));
+ img.upcast::<EventTarget>().fire_event(atom!("loadend"));
}
}
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs
index f4a9a726d30..b599d4369dc 100644
--- a/components/script/dom/htmlinputelement.rs
+++ b/components/script/dom/htmlinputelement.rs
@@ -849,12 +849,8 @@ impl HTMLInputElement {
let filelist = FileList::new(&window, files);
self.filelist.set(Some(&filelist));
- target.fire_event("input",
- EventBubbles::Bubbles,
- EventCancelable::NotCancelable);
- target.fire_event("change",
- EventBubbles::Bubbles,
- EventCancelable::NotCancelable);
+ target.fire_bubbling_event(atom!("input"));
+ target.fire_bubbling_event(atom!("change"));
}
}
}
@@ -1290,12 +1286,8 @@ impl Activatable for HTMLInputElement {
// https://html.spec.whatwg.org/multipage/#radio-button-state-(type=radio):activation-behavior
// Check if document owner is fully active
let target = self.upcast::<EventTarget>();
- target.fire_event("input",
- EventBubbles::Bubbles,
- EventCancelable::NotCancelable);
- target.fire_event("change",
- EventBubbles::Bubbles,
- EventCancelable::NotCancelable);
+ target.fire_bubbling_event(atom!("input"));
+ target.fire_bubbling_event(atom!("change"));
},
InputType::InputFile => self.select_files(None),
_ => ()
diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs
index d2897b42081..ed8bc27ccdb 100644
--- a/components/script/dom/htmllinkelement.rs
+++ b/components/script/dom/htmllinkelement.rs
@@ -324,7 +324,7 @@ impl FetchResponseListener for StylesheetContext {
if let Some(ref meta) = self.metadata {
if let Some(Serde(ContentType(Mime(TopLevel::Text, SubLevel::Css, _)))) = meta.content_type {
} else {
- self.elem.root().upcast::<EventTarget>().fire_simple_event("error");
+ self.elem.root().upcast::<EventTarget>().fire_event(atom!("error"));
}
}
}
@@ -379,9 +379,9 @@ impl FetchResponseListener for StylesheetContext {
document.finish_load(LoadType::Stylesheet(self.url.clone()));
- let event = if successful { "load" } else { "error" };
+ let event = if successful { atom!("load") } else { atom!("error") };
- elem.upcast::<EventTarget>().fire_simple_event(event);
+ elem.upcast::<EventTarget>().fire_event(event);
}
}
diff --git a/components/script/dom/mediaquerylist.rs b/components/script/dom/mediaquerylist.rs
index 30e510171b4..c140f5f2c48 100644
--- a/components/script/dom/mediaquerylist.rs
+++ b/components/script/dom/mediaquerylist.rs
@@ -142,7 +142,7 @@ impl WeakMediaQueryListVec {
pub fn evaluate_and_report_changes(&self) {
for mql in self.cell.borrow().iter() {
if let MediaQueryListMatchState::Changed(_) = mql.root().unwrap().evaluate_changes() {
- mql.root().unwrap().upcast::<EventTarget>().fire_simple_event("change");
+ mql.root().unwrap().upcast::<EventTarget>().fire_event(atom!("change"));
}
}
}
diff --git a/components/script/dom/serviceworker.rs b/components/script/dom/serviceworker.rs
index 8f3686f0b0c..373ed38c761 100644
--- a/components/script/dom/serviceworker.rs
+++ b/components/script/dom/serviceworker.rs
@@ -18,6 +18,7 @@ use dom::globalscope::GlobalScope;
use js::jsapi::{HandleValue, JSContext};
use script_thread::Runnable;
use script_traits::{ScriptMsg, DOMMessage};
+use servo_atoms::Atom;
use std::cell::Cell;
use url::Url;
@@ -56,12 +57,12 @@ impl ServiceWorker {
pub fn dispatch_simple_error(address: TrustedServiceWorkerAddress) {
let service_worker = address.root();
- service_worker.upcast().fire_simple_event("error");
+ service_worker.upcast().fire_event(atom!("error"));
}
pub fn set_transition_state(&self, state: ServiceWorkerState) {
self.state.set(state);
- self.upcast::<EventTarget>().fire_simple_event("statechange");
+ self.upcast::<EventTarget>().fire_event(Atom::from("statechange"));
}
pub fn get_script_url(&self) -> Url {
diff --git a/components/script/dom/serviceworkercontainer.rs b/components/script/dom/serviceworkercontainer.rs
index a28440e5c42..c83d859b4ce 100644
--- a/components/script/dom/serviceworkercontainer.rs
+++ b/components/script/dom/serviceworkercontainer.rs
@@ -15,6 +15,7 @@ use dom::promise::Promise;
use dom::serviceworker::ServiceWorker;
use dom::serviceworkerregistration::ServiceWorkerRegistration;
use script_thread::ScriptThread;
+use servo_atoms::Atom;
use std::ascii::AsciiExt;
use std::default::Default;
use std::rc::Rc;
@@ -45,7 +46,7 @@ pub trait Controllable {
impl Controllable for ServiceWorkerContainer {
fn set_controller(&self, active_worker: &ServiceWorker) {
self.controller.set(Some(active_worker));
- self.upcast::<EventTarget>().fire_simple_event("controllerchange");
+ self.upcast::<EventTarget>().fire_event(Atom::from("controllerchange"));
}
}
diff --git a/components/script/dom/serviceworkerglobalscope.rs b/components/script/dom/serviceworkerglobalscope.rs
index 021e93399b8..adf416d4fc3 100644
--- a/components/script/dom/serviceworkerglobalscope.rs
+++ b/components/script/dom/serviceworkerglobalscope.rs
@@ -28,6 +28,7 @@ use net_traits::request::{CredentialsMode, Destination, RequestInit, Type as Req
use rand::random;
use script_runtime::{CommonScriptMsg, StackRootTLS, get_reports, new_rt_and_cx, ScriptChan};
use script_traits::{TimerEvent, WorkerGlobalScopeInit, ScopeThings, ServiceWorkerMsg, WorkerScriptLoadOrigin};
+use servo_atoms::Atom;
use std::sync::mpsc::{Receiver, RecvError, Select, Sender, channel};
use std::thread;
use std::time::Duration;
@@ -268,7 +269,7 @@ impl ServiceWorkerGlobalScope {
// TODO XXXcreativcoder This will eventually use a FetchEvent interface to fire event
// when we have the Request and Response dom api's implemented
// https://slightlyoff.github.io/ServiceWorker/spec/service_worker_1/index.html#fetch-event-section
- self.upcast::<EventTarget>().fire_simple_event("fetch");
+ self.upcast::<EventTarget>().fire_event(Atom::from("fetch"));
let _ = mediator.response_chan.send(None);
}
}
diff --git a/components/script/dom/websocket.rs b/components/script/dom/websocket.rs
index 5914ff7ea89..dd49f62d247 100644
--- a/components/script/dom/websocket.rs
+++ b/components/script/dom/websocket.rs
@@ -498,7 +498,7 @@ impl Runnable for ConnectionEstablishedTask {
}
// Step 6.
- ws.upcast().fire_simple_event("open");
+ ws.upcast().fire_event(atom!("open"));
}
}
@@ -548,7 +548,7 @@ impl Runnable for CloseTask {
// Step 2.
if self.failed {
- ws.upcast().fire_simple_event("error");
+ ws.upcast().fire_event(atom!("error"));
}
// Step 3.
diff --git a/components/script/dom/worker.rs b/components/script/dom/worker.rs
index 87cf1f3e55e..42c0d1e553d 100644
--- a/components/script/dom/worker.rs
+++ b/components/script/dom/worker.rs
@@ -138,7 +138,7 @@ impl Worker {
pub fn dispatch_simple_error(address: TrustedWorkerAddress) {
let worker = address.root();
- worker.upcast().fire_simple_event("error");
+ worker.upcast().fire_event(atom!("error"));
}
#[allow(unsafe_code)]
diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock
index b39ab6cb89e..c3263e06541 100644
--- a/components/servo/Cargo.lock
+++ b/components/servo/Cargo.lock
@@ -996,7 +996,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"phf 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1009,7 +1009,7 @@ dependencies = [
[[package]]
name = "html5ever-atoms"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1194,7 +1194,7 @@ dependencies = [
"gfx_traits 0.0.1",
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2009,7 +2009,7 @@ dependencies = [
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"html5ever 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"hyper 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)",
"hyper_serde 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"image 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2065,7 +2065,7 @@ dependencies = [
"gfx_traits 0.0.1",
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2362,7 +2362,7 @@ dependencies = [
"fnv 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2398,7 +2398,7 @@ dependencies = [
"app_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"cssparser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"euclid 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"owning_ref 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"parking_lot 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"rustc-serialize 0.3.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2878,7 +2878,7 @@ name = "xml5ever"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"phf 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2970,7 +2970,7 @@ dependencies = [
"checksum heartbeats-simple-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "53c4b67617665d7f4172f381f9843c1bec6a4fccc9a9226529e5b1be40dc1301"
"checksum hpack 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3d2da7d3a34cf6406d9d700111b8eafafe9a251de41ae71d8052748259343b58"
"checksum html5ever 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6a2e00f17a864dfee00d41b46fda2a669e10e96bf71f8c712b3c88f4977188d7"
-"checksum html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "860439a63e39a4d3506b9cff6107fa238f89edf7aee41ca5a055acb301a556a3"
+"checksum html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "daefa106438c66af58309c84842b5db1df2733fe35849f39adde6fdf63583d40"
"checksum httparse 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "46534074dbb80b070d60a5cb8ecadd8963a00a438ae1a95268850a7ef73b67ae"
"checksum hyper 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)" = "eb27e8a3e8f17ac43ffa41bbda9cf5ad3f9f13ef66fa4873409d4902310275f7"
"checksum hyper_serde 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "572d2168173019de312a050a24f2ad33ac2ac7895a2139fbf21ee6b6f470a24e"
diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock
index ffedda6fa19..16d18f46f4a 100644
--- a/ports/cef/Cargo.lock
+++ b/ports/cef/Cargo.lock
@@ -901,7 +901,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"phf 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -914,7 +914,7 @@ dependencies = [
[[package]]
name = "html5ever-atoms"
-version = "0.1.0"
+version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1099,7 +1099,7 @@ dependencies = [
"gfx_traits 0.0.1",
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1858,7 +1858,7 @@ dependencies = [
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"html5ever 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"hyper 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)",
"hyper_serde 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"image 0.10.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1914,7 +1914,7 @@ dependencies = [
"gfx_traits 0.0.1",
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"ipc-channel 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2246,7 +2246,7 @@ dependencies = [
"fnv 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
"heapsize_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2736,7 +2736,7 @@ name = "xml5ever"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
- "html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
"mac 0.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
"phf 0.7.19 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -2822,7 +2822,7 @@ dependencies = [
"checksum heartbeats-simple-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "53c4b67617665d7f4172f381f9843c1bec6a4fccc9a9226529e5b1be40dc1301"
"checksum hpack 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3d2da7d3a34cf6406d9d700111b8eafafe9a251de41ae71d8052748259343b58"
"checksum html5ever 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6a2e00f17a864dfee00d41b46fda2a669e10e96bf71f8c712b3c88f4977188d7"
-"checksum html5ever-atoms 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "860439a63e39a4d3506b9cff6107fa238f89edf7aee41ca5a055acb301a556a3"
+"checksum html5ever-atoms 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "daefa106438c66af58309c84842b5db1df2733fe35849f39adde6fdf63583d40"
"checksum httparse 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "46534074dbb80b070d60a5cb8ecadd8963a00a438ae1a95268850a7ef73b67ae"
"checksum hyper 0.9.10 (registry+https://github.com/rust-lang/crates.io-index)" = "eb27e8a3e8f17ac43ffa41bbda9cf5ad3f9f13ef66fa4873409d4902310275f7"
"checksum hyper_serde 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "572d2168173019de312a050a24f2ad33ac2ac7895a2139fbf21ee6b6f470a24e"