mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use spec-aligned process for resolving history handling during navigation (#34747)
Makes use of the is_initial_about_blank property on Document in order to determine whether the navigation should create a history entry, or replace the current history entry. Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
398bafa25d
commit
08a3e61bb4
13 changed files with 86 additions and 49 deletions
|
@ -87,6 +87,7 @@ impl DOMParserMethods<crate::DomTypeHolder> for DOMParser {
|
|||
None,
|
||||
None,
|
||||
Default::default(),
|
||||
false,
|
||||
can_gc,
|
||||
);
|
||||
ServoParser::parse_html_document(&document, Some(s), url, can_gc);
|
||||
|
@ -108,6 +109,7 @@ impl DOMParserMethods<crate::DomTypeHolder> for DOMParser {
|
|||
None,
|
||||
None,
|
||||
Default::default(),
|
||||
false,
|
||||
can_gc,
|
||||
);
|
||||
ServoParser::parse_xml_document(&document, Some(s), url, can_gc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue