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

PWA: workaround Firefox not being able to stream DOM #10364

Merged
merged 2 commits into from Jul 13, 2017

Conversation

dvoytenko
Copy link
Contributor

No description provided.

throw new Error('closed already');
}
if (chunk) {
this.fullHtml_ += dev().assertString(chunk);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: use an array, and join it at the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Done.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They should be effectively the same speed.

@dvoytenko dvoytenko merged commit 56f81e5 into ampproject:master Jul 13, 2017
@dvoytenko dvoytenko deleted the pwa28 branch July 13, 2017 18:30
@rsimha
Copy link
Contributor

rsimha commented Jul 13, 2017

@dvoytenko, I'm seeing the following error message when I do gulp build on a clean client. Looks like it has to do with this PR.

/usr/local/google/home/rsimha/src/amphtml/src/shadow-embed.js: Line 21: Duplicate declaration "vsyncFor" while parsing file: /usr/local/google/home/rsimha/src/amphtml/src/shadow-embed.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants