Bug 1888756, part 4 - Text Fragments: Add more logging to parsing/stripping the fragment directive. r=dom-core,edgar
This commit is a prerequisite for part 5 of this patch set and does not introduce any changes in behavior. Differential Revision: https://phabricator.services.mozilla.com/D212819
This commit is contained in:
@@ -8505,7 +8505,7 @@ bool nsDocShell::IsSameDocumentNavigation(nsDocShellLoadState* aLoadState,
|
||||
// directives need to be stored for further use.
|
||||
nsTArray<TextDirective> textDirectives;
|
||||
if (FragmentDirective::ParseAndRemoveFragmentDirectiveFromFragmentString(
|
||||
aState.mNewHash, &textDirectives)) {
|
||||
aState.mNewHash, &textDirectives, aLoadState->URI())) {
|
||||
if (Document* doc = GetDocument()) {
|
||||
doc->FragmentDirective()->SetTextDirectives(std::move(textDirectives));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user