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
Polymer elements are not evaluated after page reload in dartium (after a certain error has occurred) #20364
Comments
cc @sigmundch. |
Set owner to @jakemac53. |
Removed this from the 1.6 milestone. |
I wasn't able to get a repro from the description, could you attach an example of this? I was actually not able to reproduce the initial exception, so if you could describe exactly what you were doing there that might help. Added Waiting label. |
Added AssumedStale label. |
This comment was originally written by felix.ri...@sap.com I wasn't able to reproduce the exception in a small sample either. Maybe the behavior has changed in current Chrome/Dartium, Dart versions. |
I was able to get a repro on this without using Polymer at all, see https://gist.github.com/jakemac53/f0720f235830065d41a9. This is really just a quirk of chrome it looks like, but working as designed as far as I can tell. If an input is focused and then removed from the dom, then it fires the blur event after its already been removed (since the blur is a result of it being removed from the dom). Removed Area-Pkg, Pkg-Polymer, PolymerMilestone-Next labels. |
This comment was originally written by felix.ri...@sap.com As described above, the main problem why I raised the issue was not this error, but that after this error has occurred the next page load does not evaluate the polymer elements. Dart 1.7.2, Polymer 0.15.1+2, Dartium 37.0.2062.120 (292122) |
Removed Priority-High label. |
Thanks for the repro, I can confirm its happening to me as well. This looks like a dartium bug, so it should only affect you during development. Once compiled to javascript I am not seeing this issue (tested chrome and firefox). Removed Pkg-Polymer, Area-Pkg labels. |
Removed the owner. |
This issue was originally filed by felix.ri...@sap.com
What steps will reproduce the problem?
This will cause, which is expected:
Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node':
The node to be removed is no longer a child of this node.
Perhaps it was moved in a 'blur' event handler?
What is the expected output? What do you see instead?
No matter what kind of errors have occurred, refreshing the page should always work. Dartium seems to cache some state here.
What version of the product are you using?
Dart 1.5.0 - 1.5.8
On what operating system?
Windows 7
What browser (if applicable)?
Dartium Version 36.0.1985.97 (280598)
The text was updated successfully, but these errors were encountered: