Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fastboot ?fastboot=false assertion hit #198

Merged

Conversation

raido
Copy link
Contributor

@raido raido commented Oct 26, 2020

This PR loosens checks for title elements assertion do avoid Fastboot with ?fastboot=false render app throwing an exception.

This is fine for this edge case, because once document.title is assigned and there is no title element, one is created according to HTML spec - https://html.spec.whatwg.org/multipage/dom.html#dom-tree-accessors - see If the document element is in the HTML namespace section.

Follow up for #195.

@raido raido requested a review from knownasilya October 26, 2020 18:59
@raido raido mentioned this pull request Oct 26, 2020
@knownasilya knownasilya merged commit 1ddbfd3 into ember-cli:master Oct 26, 2020
@raido raido deleted the bugfix-fastboot-no-title-handover branch October 26, 2020 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants