mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add pipeline information to CSS error reporting.
This commit is contained in:
parent
6032f8225b
commit
fc81276c8e
27 changed files with 103 additions and 29 deletions
|
@ -15,6 +15,7 @@ use gfx::display_list::OpaqueNode;
|
|||
use gfx::font_cache_task::FontCacheTask;
|
||||
use gfx::font_context::FontContext;
|
||||
use ipc_channel::ipc::{self, IpcSender};
|
||||
use msg::ParseErrorReporter;
|
||||
use msg::compositor_msg::LayerId;
|
||||
use net_traits::image::base::Image;
|
||||
use net_traits::image_cache_task::{ImageCacheChan, ImageCacheTask, ImageResponse, ImageState};
|
||||
|
@ -27,7 +28,6 @@ use std::rc::Rc;
|
|||
use std::sync::mpsc::{Sender, channel};
|
||||
use std::sync::{Arc, Mutex, RwLock};
|
||||
use style::selector_matching::Stylist;
|
||||
use style_traits::ParseErrorReporter;
|
||||
use url::Url;
|
||||
use util::mem::HeapSizeOf;
|
||||
use util::opts;
|
||||
|
|
|
@ -10,6 +10,7 @@ use animation;
|
|||
use context::SharedLayoutContext;
|
||||
use data::LayoutDataWrapper;
|
||||
use incremental::{self, RestyleDamage};
|
||||
use msg::ParseErrorReporter;
|
||||
use script::dom::bindings::inheritance::{CharacterDataTypeId, NodeTypeId};
|
||||
use script::layout_interface::Animation;
|
||||
use selectors::bloom::BloomFilter;
|
||||
|
@ -27,7 +28,6 @@ use string_cache::{Atom, Namespace};
|
|||
use style::node::TElementAttributes;
|
||||
use style::properties::{ComputedValues, PropertyDeclaration, cascade};
|
||||
use style::selector_matching::{DeclarationBlock, Stylist};
|
||||
use style_traits::ParseErrorReporter;
|
||||
use util::arc_ptr_eq;
|
||||
use util::cache::{LRUCache, SimpleHashCache};
|
||||
use util::opts;
|
||||
|
|
|
@ -34,6 +34,7 @@ use ipc_channel::router::ROUTER;
|
|||
use layout_debug;
|
||||
use layout_traits::LayoutTaskFactory;
|
||||
use log;
|
||||
use msg::ParseErrorReporter;
|
||||
use msg::compositor_msg::{Epoch, LayerId, ScrollPolicy};
|
||||
use msg::constellation_msg::{ConstellationChan, Failure, PipelineId};
|
||||
use net_traits::image_cache_task::{ImageCacheChan, ImageCacheResult, ImageCacheTask};
|
||||
|
@ -65,7 +66,6 @@ use style::computed_values::{filter, mix_blend_mode};
|
|||
use style::media_queries::{Device, MediaType};
|
||||
use style::selector_matching::{Stylist, USER_OR_USER_AGENT_STYLESHEETS};
|
||||
use style::stylesheets::{CSSRuleIteratorExt, Stylesheet};
|
||||
use style_traits::ParseErrorReporter;
|
||||
use url::Url;
|
||||
use util::geometry::MAX_RECT;
|
||||
use util::ipc::OptionalIpcSender;
|
||||
|
@ -444,7 +444,7 @@ impl LayoutTask {
|
|||
resolved_style_response: None,
|
||||
offset_parent_response: OffsetParentResponse::empty(),
|
||||
})),
|
||||
error_reporter: CSSErrorReporter,
|
||||
error_reporter: CSSErrorReporter { pipelineid: id },
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue