servo: Merge #16738 - derive(Debug) for LoadData (from paulrouget:LoadDataDebug); r=Wafflespeanut
authorPaul Rouget <me@paulrouget.com>
Fri, 05 May 2017 12:05:22 -0500
changeset 356844 b363981633ad2707328a7828e17abcaf37af00a5
parent 356843 53e95295210a0364bdf9a8f076b61ef4cb2059f5
child 356845 355a23c6c2bd2806475c17e36267a189a87901f9
push id31775
push userihsiao@mozilla.com
push dateMon, 08 May 2017 03:10:38 +0000
treeherdermozilla-central@22aaf8bad4df [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWafflespeanut
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
servo: Merge #16738 - derive(Debug) for LoadData (from paulrouget:LoadDataDebug); r=Wafflespeanut Source-Repo: https://github.com/servo/servo Source-Revision: 4e73fceaf7eb62542b72d211cb84ab555cef7ba9
servo/components/script_traits/lib.rs
--- a/servo/components/script_traits/lib.rs
+++ b/servo/components/script_traits/lib.rs
@@ -125,17 +125,17 @@ pub enum LayoutControlMsg {
     SetStackingContextScrollStates(Vec<StackingContextScrollState>),
     /// Requests the current load state of Web fonts. `true` is returned if fonts are still loading
     /// and `false` is returned if all fonts have loaded.
     GetWebFontLoadState(IpcSender<bool>),
 }
 
 /// can be passed to `LoadUrl` to load a page with GET/POST
 /// parameters or headers
-#[derive(Clone, Deserialize, Serialize)]
+#[derive(Clone, Debug, Deserialize, Serialize)]
 pub struct LoadData {
     /// The URL.
     pub url: ServoUrl,
     /// The method.
     #[serde(deserialize_with = "::hyper_serde::deserialize",
             serialize_with = "::hyper_serde::serialize")]
     pub method: Method,
     /// The headers.