| --- pre 2016-07-04 16:38:00.000000000 +0530 | |
| +++ post 2016-07-04 16:38:06.000000000 +0530 | |
| @@ -1,14 +1,15 @@ | |
| -script::dom::document::Document { | |
| +(gdb) p * self | |
| +$18 = script::dom::document::Document { | |
| node: script::dom::node::Node { | |
| eventtarget: script::dom::eventtarget::EventTarget { | |
| reflector_: script::dom::bindings::reflector::Reflector { | |
| object: core::cell::UnsafeCell < * mut js::jsapi::JSObject > { | |
| - value: 0x120513040 | |
| + value: 0x1205136c0 | |
| } | |
| }, | |
| handlers: script::dom::bindings::cell::DOMRefCell < std::collections::hash::map::HashMap < string_cache::atom::Atom, | |
| script::dom::eventtarget::EventListeners, | |
| core::hash::BuildHasherDefault < fnv::FnvHasher >>> { | |
| value: core::cell::RefCell < std::collections::hash::map::HashMap < string_cache::atom::Atom, | |
| script::dom::eventtarget::EventListeners, | |
| core::hash::BuildHasherDefault < fnv::FnvHasher >>> { | |
| @@ -44,25 +45,25 @@ | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >> ::None | |
| } | |
| }, | |
| first_child: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::node::Node >> { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >> ::Some(script::dom::bindings::js::JS < script::dom::node::Node > { | |
| ptr: core::nonzero::NonZero < * | |
| - const script::dom::node::Node > (0x11aa64000) | |
| + const script::dom::node::Node > (0x11aa0f700) | |
| }) | |
| } | |
| }, | |
| last_child: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::node::Node >> { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >> ::Some(script::dom::bindings::js::JS < script::dom::node::Node > { | |
| ptr: core::nonzero::NonZero < * | |
| - const script::dom::node::Node > (0x118447000) | |
| + const script::dom::node::Node > (0x11aa0f700) | |
| }) | |
| } | |
| }, | |
| next_sibling: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::node::Node >> { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >> ::None | |
| } | |
| }, | |
| @@ -70,40 +71,40 @@ | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::node::Node >> ::None | |
| } | |
| }, | |
| owner_doc: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::document::Document >> { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::document::Document >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::document::Document >> ::Some(script::dom::bindings::js::JS < script::dom::document::Document > { | |
| ptr: core::nonzero::NonZero < * | |
| - const script::dom::document::Document > (0x11aa5f000) | |
| + const script::dom::document::Document > (0x11ab9f500) | |
| }) | |
| } | |
| }, | |
| child_list: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::nodelist::NodeList >> { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::nodelist::NodeList >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::nodelist::NodeList >> ::None | |
| } | |
| }, | |
| children_count: core::cell::Cell < u32 > { | |
| value: core::cell::UnsafeCell < u32 > { | |
| - value: 2 | |
| + value: 1 | |
| } | |
| }, | |
| flags: core::cell::Cell < script::dom::node::NodeFlags > { | |
| value: core::cell::UnsafeCell < script::dom::node::NodeFlags > { | |
| value: script::dom::node::NodeFlags { | |
| bits: 15 | |
| } | |
| } | |
| }, | |
| inclusive_descendants_version: core::cell::Cell < u64 > { | |
| value: core::cell::UnsafeCell < u64 > { | |
| - value: 11 | |
| + value: 4 | |
| } | |
| }, | |
| ranges: script::dom::range::WeakRangeVec { | |
| cell: core::cell::UnsafeCell < script::dom::bindings::weakref::WeakRefVec < script::dom::range::Range >> { | |
| value: script::dom::bindings::weakref::WeakRefVec < script::dom::range::Range > { | |
| vec: collections::vec::Vec < script::dom::bindings::weakref::WeakRef < script::dom::range::Range >> { | |
| buf: alloc::raw_vec::RawVec < script::dom::bindings::weakref::WeakRef < script::dom::range::Range >> { | |
| ptr: core::ptr::Unique < script::dom::bindings::weakref::WeakRef < script::dom::range::Range >> { | |
| @@ -127,40 +128,38 @@ | |
| value: core::option::Option < Box < uuid::Uuid >> ::None | |
| } | |
| } | |
| }, | |
| window: script::dom::bindings::js::JS < script::dom::window::Window > { | |
| ptr: core::nonzero::NonZero < * | |
| const script::dom::window::Window > (0x11aa37800) | |
| }, | |
| - browsing_context: core::option::Option < script::dom::bindings::js::JS < script::dom::browsingcontext::BrowsingContext >> ::Some(script::dom::bindings::js::JS < script::dom::browsingcontext::BrowsingContext > { | |
| - ptr: core::nonzero::NonZero < * | |
| - const script::dom::browsingcontext::BrowsingContext > (0x11aa-- - Type < | |
| - return >to | |
| - continue, or q < | |
| - return >to quit-- - | |
| - 17150) | |
| - }), | |
| + browsing_context: core::option::Option < script::dom::bindings::js::JS < script::dom::browsingcontext::BrowsingContext >> ::None, | |
| implementation: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::domimplementation::DOMImplementation >> { | |
| - ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::domimplementation::DOMImplementation >>> { | |
| - value: core::option::Option < script::dom::bindings::js::JS < script::dom::domimplementation::DOMImplementation >> ::None | |
| - } | |
| + ptr: core::cell::UnsafeCe-- - Type < | |
| + return >to | |
| + continue, | |
| + or q < | |
| + return >to quit-- - | |
| + ll < core::option::Option < script::dom::bindings::js::JS < script::dom::domimplementation::DOMImplementation >>> { | |
| + value: core::option::Option < script::dom::bindings::js::JS < script::dom::domimplementation::DOMImplementation >> ::None | |
| + } | |
| }, | |
| location: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::location::Location >> { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::location::Location >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::location::Location >> ::None | |
| } | |
| }, | |
| content_type: script::dom::bindings::str::DOMString(collections::string::String { | |
| vec: collections::vec::Vec < u8 > { | |
| buf: alloc::raw_vec::RawVec < u8 > { | |
| ptr: core::ptr::Unique < u8 > { | |
| pointer: core::nonzero::NonZero < * | |
| - const u8 > (0x11aa1e010 "text/html-By\000"), _marker: core::marker::PhantomData < u8 > | |
| + const u8 > (0x11aa1e840 "text/htmlt\000"), _marker: core::marker::PhantomData < u8 > | |
| }, | |
| cap: 9 | |
| }, | |
| len: 9 | |
| } | |
| }), | |
| last_modified: core::option::Option < collections::string::String > ::None, | |
| encoding: core::cell::Cell < & Encoding > { | |
| @@ -170,17 +169,17 @@ | |
| }, | |
| is_html_document: true, | |
| url: url::Url { | |
| serialization: collections::string::String { | |
| vec: collections::vec::Vec < u8 > { | |
| buf: alloc::raw_vec::RawVec < u8 > { | |
| ptr: core::ptr::Unique < u8 > { | |
| pointer: core::nonzero::NonZero < * | |
| - const u8 > (0x11aa0c240 "http://i.entropy.cc/\000"), _marker: core::marker::PhantomData < u8 > | |
| + const u8 > (0x116e0d2e0 "http://i.entropy.cc/\001\000"), _marker: core::marker::PhantomData < u8 > | |
| }, | |
| cap: 20 | |
| }, | |
| len: 20 | |
| } | |
| }, | |
| scheme_end: 4, | |
| username_end: 7, | |
| @@ -285,27 +284,27 @@ | |
| std::collections::hash::map::RandomState >> { | |
| value: std::collections::hash::map::HashMap < string_cache::namespace::QualName, | |
| script::dom::bindings::js::JS < script::dom::htmlcollection::HTMLCollection > , | |
| std::collections::hash::map::RandomState > { | |
| hash_builder: std::collections::hash::map::RandomState { | |
| k0: 591492192834010301, | |
| k1: 3195665098772177970 | |
| }, | |
| - table: std::collections::hash::table::RawTable < strin-- - Type < | |
| - return >to | |
| - continue, | |
| - or q < | |
| - return >to quit-- - | |
| - g_cache::namespace::QualName, | |
| + table: std::collections::hash::table::RawTable < string_cache::namespace::QualName, | |
| script::dom::bindings::js::JS < script::dom::htmlcollection::HTMLCollection >> { | |
| capacity: 0, | |
| size: 0, | |
| hashes: core::ptr::Unique < u64 > { | |
| - pointer: core::nonzero::NonZero < * | |
| + pointer: core: -- - Type < | |
| + return >to | |
| + continue, | |
| + or q < | |
| + return >to quit-- - | |
| + : nonzero::NonZero < * | |
| const u64 > (0x1), _marker: core::marker::PhantomData < u64 > | |
| }, | |
| marker: core::marker::PhantomData < (string_cache::namespace::QualName, script::dom::bindings::js::JS < script::dom::htmlcollection::HTMLCollection > ) > | |
| }, | |
| resize_policy: std::collections::hash::map::DefaultResizePolicy | |
| } | |
| } | |
| } | |
| @@ -403,26 +402,26 @@ | |
| value: script::dom::bindings::codegen::Bindings::DocumentBinding::DocumentReadyState::Loading | |
| } | |
| }, | |
| domcontentloaded_dispatched: core::cell::Cell < bool > { | |
| value: core::cell::UnsafeCell < bool > { | |
| value: false | |
| } | |
| }, | |
| - possibly_focused: script::dom::-- - Type < | |
| - return >to | |
| - continue, | |
| - or q < | |
| - return >to quit-- - | |
| - bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::element::Element >> { | |
| - ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::element::Element >>> { | |
| + possibly_focused: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::element::Element >> { | |
| + ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < scr-- - Type < | |
| + return >to | |
| + continue, | |
| + or q < | |
| + return >to quit-- - | |
| + ipt::dom::element::Element >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::element::Element >> ::None | |
| } | |
| - }, | |
| + }, | |
| focused: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::element::Element >> { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::element::Element >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::element::Element >> ::None | |
| } | |
| }, | |
| current_script: script::dom::bindings::js::MutNullableHeap < script::dom::bindings::js::JS < script::dom::htmlscriptelement::HTMLScriptElement >> { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::dom::bindings::js::JS < script::dom::htmlscriptelement::HTMLScriptElement >>> { | |
| value: core::option::Option < script::dom::bindings::js::JS < script::dom::htmlscriptelement::HTMLScriptElement >> ::None | |
| @@ -498,17 +497,17 @@ | |
| }, | |
| len: 0 | |
| } | |
| } | |
| } | |
| }, | |
| scripting_enabled: core::cell::Cell < bool > { | |
| value: core::cell::UnsafeCell < bool > { | |
| - value: true | |
| + value: false | |
| } | |
| }, | |
| animation_frame_ident: core::cell::Cell < u32 > { | |
| value: core::cell::UnsafeCell < u32 > { | |
| value: 0 | |
| } | |
| }, | |
| animation_frame_list: script::dom::bindings::cell::DOMRefCell < collections::vec::Vec < (u32, core::option::Option < Box < FnBox < (f64) >>> ) >> { | |
| @@ -540,67 +539,64 @@ | |
| }, | |
| loader: script::dom::bindings::cell::DOMRefCell < script::document_loader::DocumentLoader > { | |
| value: core::cell::RefCell < script::document_loader::DocumentLoader > { | |
| borrow: core::cell::Cell < usize > { | |
| value: core::cell::UnsafeCell < usize > { | |
| value: 0 | |
| } | |
| }, | |
| - value-- - Type < | |
| - return >to | |
| - continue, | |
| - or q < | |
| - return >to quit-- - | |
| - : core::cell::UnsafeCell < script::document_loader::DocumentLoader > { | |
| - value: script::document_loader::DocumentLoader { | |
| - resource_threads: net_traits::ResourceThreads { | |
| - core_thread: ipc_channel::ipc::IpcSender < net_traits::CoreResourceMsg > { | |
| + value: core::cell::UnsafeCell < script::document_loader::DocumentLoader > { | |
| + value: script::document_loader::DocumentLoader { | |
| + resource_threads: net_traits::ResourceThreads { | |
| + core_thread: -- - Type < | |
| + return >to | |
| + continue, | |
| + or q < | |
| + return >to quit-- - | |
| + ipc_channel::ipc::IpcSender < net_traits::CoreResourceMsg > { | |
| os_sender: ipc_channel::platform::macos::MachSender { | |
| port: 31747 | |
| }, | |
| phantom: core::marker::PhantomData < net_traits::CoreResourceMsg > | |
| }, | |
| - storage_thread: ipc_channel::ipc::IpcSender < net_traits::storage_thread::StorageThreadMsg > { | |
| - os_sender: ipc_channel::platform::macos::MachSender { | |
| - port: 32515 | |
| - }, | |
| - phantom: core::marker::PhantomData < net_traits::storage_thread::StorageThreadMsg > | |
| + storage_thread: ipc_channel::ipc::IpcSender < net_traits::storage_thread::StorageThreadMsg > { | |
| + os_sender: ipc_channel::platform::macos::MachSender { | |
| + port: 32515 | |
| }, | |
| - filemanager_thread: ipc_channel::ipc::IpcSender < net_traits::filemanager_thread::FileManagerThreadMsg > { | |
| - os_sender: ipc_channel::platform::macos::MachSender { | |
| - port: 33027 | |
| - }, | |
| - phantom: core::marker::PhantomData < net_traits::filemanager_thread::FileManagerThreadMsg > | |
| - } | |
| + phantom: core::marker::PhantomData < net_traits::storage_thread::StorageThreadMsg > | |
| }, | |
| - pipeline: core::option::Option::Some(msg::constellation_msg::PipelineId { | |
| - namespace_id: msg::constellation_msg::PipelineNamespaceId(0), | |
| - index: msg::constellation_msg::PipelineIndex(0) | |
| - }), | |
| - blocking_loads: collections::vec::Vec < script::document_loader::LoadType > { | |
| - buf: alloc::raw_vec::RawVec < script::document_loader::LoadType > { | |
| - ptr: core::ptr::Unique < script::document_loader::LoadType > { | |
| - pointer: core::nonzero::NonZero < * | |
| - const script::document_loader::LoadType > (0x11aa32060), _marker: core::marker::PhantomData < script::document_loader::LoadType > | |
| - }, | |
| - cap: 1 | |
| + filemanager_thread: ipc_channel::ipc::IpcSender < net_traits::filemanager_thread::FileManagerThreadMsg > { | |
| + os_sender: ipc_channel::platform::macos::MachSender { | |
| + port: 33027 | |
| + }, | |
| + phantom: core::marker::PhantomData < net_traits::filemanager_thread::FileManagerThreadMsg > | |
| + } | |
| + }, | |
| + pipeline: core::option::Option::None, | |
| + blocking_loads: collections::vec::Vec < script::document_loader::LoadType > { | |
| + buf: alloc::raw_vec::RawVec < script::document_loader::LoadType > { | |
| + ptr: core::ptr::Unique < script::document_loader::LoadType > { | |
| + pointer: core::nonzero::NonZero < * | |
| + const script::document_loader::LoadType > (0x1), _marker: core::marker::PhantomData < script::document_loader::LoadType > | |
| }, | |
| - len: 1 | |
| + cap: 0 | |
| }, | |
| - events_inhibited: false | |
| - } | |
| + len: 0 | |
| + }, | |
| + events_inhibited: false | |
| } | |
| + } | |
| } | |
| }, | |
| current_parser: script::parse::MutNullableParserField { | |
| ptr: core::cell::UnsafeCell < core::option::Option < script::parse::ParserField >> { | |
| value: core::option::Option::Some(script::parse::ParserField::HTML(script::dom::bindings::js::JS < script::dom::servohtmlparser::ServoHTMLParser > { | |
| ptr: core::nonzero::NonZero < * | |
| - const script::dom::servohtmlparser::ServoHTMLParser > (0x11aa41300) | |
| + const script::dom::servohtmlparser::ServoHTMLParser > (0x11abee200) | |
| })) | |
| } | |
| }, | |
| reflow_timeout: core::cell::Cell < core::option::Option < u64 >> { | |
| value: core::cell::UnsafeCell < core::option::Option < u64 >> { | |
| value: core::option::Option::None | |
| } | |
| }, | |
| @@ -633,20 +629,20 @@ | |
| std::collections::hash::map::RandomState > { | |
| hash_builder: std::collections::hash::map::RandomState { | |
| k0: 591492192834010301, | |
| k1: 3195665098772177970 | |
| }, | |
| table: std::collections::hash::table::RawTable < script::dom::bindings::js::JS < script::dom::element::Element > , | |
| style::restyle_hints::ElementSnapshot > { | |
| capacity: 32, | |
| - size: 2, | |
| + size: 1, | |
| hashes: core::ptr::Unique < u64 > { | |
| pointer: core::nonzero::NonZero < * | |
| - const u64 > (0x11aa70000), _marker: core::marker::PhantomData < u64 > | |
| + const u64 > (0x11aa73000), _marker: core::marker::PhantomData < u64 > | |
| }, | |
| marker: core::marker::PhantomData < (script::dom::bindings::js::JS < script::dom::element::Element > , style::restyle_hints::ElementSnapshot) > | |
| }, | |
| resize_policy: std::collections::hash::map::DefaultResizePolicy | |
| } | |
| } | |
| } | |
| }, | |
| @@ -668,17 +664,17 @@ | |
| }, | |
| len: 0 | |
| } | |
| } | |
| } | |
| }, | |
| dom_loading: core::cell::Cell < u64 > { | |
| value: core::cell::UnsafeCell < u64 > { | |
| - value: 1467630334862 | |
| + value: 0 | |
| } | |
| }, | |
| dom_interactive: core::cell::Cell < u64 > { | |
| value: core::cell::UnsafeCell < u64 > { | |
| value: 0 | |
| } | |
| }, | |
| dom_content_loaded_event_start: core::cell::Cell < u64 > { | |
| @@ -715,17 +711,17 @@ | |
| value: core::cell::UnsafeCell < script_traits::TouchpadPressurePhase > { | |
| value: script_traits::TouchpadPressurePhase::BeforeClick | |
| } | |
| }, | |
| origin: script::origin::Origin { | |
| inner: alloc::arc::Arc < url::origin::Origin > { | |
| ptr: core::ptr::Shared < alloc::arc::ArcInner < url::origin::Origin >> { | |
| pointer: core::nonzero::NonZero < * | |
| - const alloc::arc::ArcInner < url::origin::Origin >> (0x11aa320c0), _marker: core::marker::PhantomData < alloc::arc::ArcInner < url::origin::Origin >> | |
| + const alloc::arc::ArcInner < url::origin::Origin >> (0x11aa329c0), _marker: core::marker::PhantomData < alloc::arc::ArcInner < url::origin::Origin >> | |
| } | |
| } | |
| }, | |
| referrer_policy: core::cell::Cell < core::option::Option < msg::constellation_msg::ReferrerPolicy >> { | |
| value: core::cell::UnsafeCell < core::option::Option < msg::constellation_msg::ReferrerPolicy >> { | |
| value: core::option::Option::Some(msg::constellation_msg::ReferrerPolicy::NoReferrer) | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment