mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 16:09:23 +00:00
Previously we were using the document's window - this was both contrary to spec and causing crashes when the document did not have a window (for instance the `temp_document` in `HTMLParser::parse_html_fragment`. This means we no longer crash when navigating between pages on https://rocketlabcorp.com
7 lines
157 B
HTML
7 lines
157 B
HTML
<!DOCTYPE html>
|
|
<html id="html">
|
|
<head></head>
|
|
<script>
|
|
document.head.innerHTML = `<base href="https://example.com">`;
|
|
</script>
|
|
</html>
|