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
ownerDocument.cookie not reading cookies on restart #14993
Comments
Added Area-HTML label. |
Added Triaged label. |
This comment was originally written by @zoechi As I learned from a discussion about another bug related to ownerDocument (ownerDocument.createElement()): |
There are multiple documents in play for typical Polymer applications- Each HTML import is a separate document and the contents of Template elements are also separate documents. From custom elements, typically you'll see at least two instantiations- I assume that if the top-level document is used rather than a different one that it will work properly. |
This comment was originally written by Erik.G...@gmail.com The top-level document.cookie worked properly. I tested ownerDocument.cookie again with with build 30187 and polymer 0.9.0+1 using the same code, ownerDocument.cookie is now reading the top-level document cookie on restart. That being said, does it make sense to allow operations like getting/setting cookies on these other documents? |
Removed Area-HTML label. |
With the pending question it's definitely an enhancement rather than a defect. I don't know if it's appropriate, but that seems more like a Polymer/Custom Elements question than a general dart:html issue. Put in a query to Polymer people. Removed Type-Defect, Priority-Unassigned labels. |
It seems like it would be very difficult to make that work in Polymer. So I'm going to call the original issue resolved and the generalization not planned. Added NotPlanned label. |
This issue was originally filed by Erik.Gri...@gmail.com
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected: The console displays 'name=value'
Actual: The console prints nothing.
What version of the product are you using? On what operating system?
Dart Editor version 0.8.10_r30104 (DEV)
Dart SDK version 0.8.10.10_r30104
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: