mirror of
https://github.com/servo/servo
synced 2026-04-30 19:37:43 +02:00
Report CSS errors to script task for further processing.
This commit is contained in:
@@ -1785,6 +1785,7 @@ impl ScriptThread {
|
||||
self.mem_profiler_chan.clone(),
|
||||
self.devtools_chan.clone(),
|
||||
self.constellation_chan.clone(),
|
||||
self.control_chan.clone(),
|
||||
self.scheduler_chan.clone(),
|
||||
ipc_timer_event_chan,
|
||||
incomplete.layout_chan,
|
||||
@@ -2207,7 +2208,7 @@ impl ScriptThread {
|
||||
}
|
||||
|
||||
fn handle_css_error_reporting(&self, pipeline_id: PipelineId, filename: String,
|
||||
line: u32, column: u32, msg: String) {
|
||||
line: usize, column: usize, msg: String) {
|
||||
let parent_page = self.root_page();
|
||||
let page = match parent_page.find(pipeline_id) {
|
||||
Some(page) => page,
|
||||
|
||||
Reference in New Issue
Block a user