mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
#24468 call submit_resource_timing after creating the document parser
This commit is contained in:
parent
2457a6be0f
commit
faee09ffa9
1 changed files with 2 additions and 0 deletions
|
@ -774,6 +774,8 @@ impl FetchResponseListener for ParserContext {
|
|||
|
||||
self.parser = Some(Trusted::new(&*parser));
|
||||
|
||||
self.submit_resource_timing();
|
||||
|
||||
match content_type {
|
||||
Some(ref mime) if mime.type_() == mime::IMAGE => {
|
||||
self.is_synthesized_document = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue