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
[next] window.history.state getter throws exception #15371
Comments
Removed Area-HTML label. |
This comment was originally written by tsk...@gmail.com Same error as above on Windows 8 platform and Dart SDK version 1.7.0-dev.4.0. Saved state object in history but cannot get it back. History management cannot be implemented. Currently managing state object somewhere else, outside history object. |
This comment was originally written by @Scorpiion To complement the OS list, same issue occurs on Linux, Dart VM version: 1.7.2 (Tue Oct 14 06:55:59 2014) on "linux_x64". |
Dartium-only. May get fixed in the next rev. Removed Priority-Unassigned label. |
Added C10 label. |
Alan, just wondering if there were any updates on this one? |
This comment was originally written by mathieu.l...@gmail.com Please =) ! The FIXME in the same cpp file, line 60, should probably be fixed in the same time. All of this is needed for isomorphic apps, and very useful to implement a place system in a single page app (edit: the state is not so useful compared to a localstorage based solution : you actually still need to serialize). |
This issue was originally filed by @bjornm
What steps will reproduce the problem?
import 'dart:html';
void main() {
var x = window.history.state;
}
What is the expected output? What do you see instead?
no error. But it throws an error:
Breaking on exception: Unsupported operation: [info: ../../third_party/WebKit/Source/bindings/dart/custom/DartHistoryCustom.cpp:43]
What version of the product are you using? On what operating system?
30338. Mac OS X 10.7.5
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: