mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Don't retrieve the CSS source when a parse error is reported (bug 1381045).
This commit is contained in:
parent
8e14d93602
commit
5db9f06ecd
1 changed files with 2 additions and 1 deletions
|
@ -299,7 +299,8 @@ impl ParseErrorReporter for ErrorReporter {
|
||||||
|
|
||||||
let name = error.to_gecko_message();
|
let name = error.to_gecko_message();
|
||||||
let param = error.error_param().into_str();
|
let param = error.error_param().into_str();
|
||||||
let source = input.current_line();
|
// The CSS source text is unused and will be removed in bug 1381188.
|
||||||
|
let source = "";
|
||||||
unsafe {
|
unsafe {
|
||||||
Gecko_ReportUnexpectedCSSError(self.0,
|
Gecko_ReportUnexpectedCSSError(self.0,
|
||||||
name.as_ptr() as *const _,
|
name.as_ptr() as *const _,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue