-
Notifications
You must be signed in to change notification settings - Fork 181
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
Avoid processing documentFragmentNode on the server side #912
Comments
Simplified page markup for reproducing <body>
<template is="dom-bind">
<td-model id="model" items="{{todos}}"></td-model>
<td-todos model-id="model" items="{{todos}}"></td-todos>
</template>
</body> |
@georgiy-abbasov Are you working on it? |
Yes, it is |
Should this change also be applied to _processElement function? I.e.:
|
I'll investigate it. |
I don't understand how a |
In our particular app, we do a lot of asynchronous loading into an iframe. One case is loading other pages into a documentFragment via appendChild method. For example: Hammerhead deals with this fine for most part, but, as I mentioned above it encounters issues if the nodeType is documentFragment. So far, filtering it out in the |
I've reproduced the bug on the next example page: <body>
<script>
var iframe = document.createElement('iframe');
iframe.addEventListener('load', function () {
var pageFrag = document.createDocumentFragment();
iframe.contentDocument.body.appendChild(pageFrag);
});
document.body.appendChild(iframe);
</script>
</body> @nickkoss Thanks for the clarification. |
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
http://todomvc.com/examples/polymer/index.html
reproduced in playground. Tested in Chrome but should be check in other browsers
The text was updated successfully, but these errors were encountered: