serenity
serenity copied to clipboard
LibWeb: Only dump layout and text tree for the desired URL
Before this change, the rebaseline script would generate test reference based on 'about:blank' (at least running it on my macOS system). This commit allows 'about:blank' through the assertion and only dumps the layout tree when the loaded URL matches the one we are interested in.
Hello!
One or more of the commit messages in this PR do not match the SerenityOS code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.