c***@googlecode.com
2014-11-05 11:24:01 UTC
Comment #4 on issue 394296 by ***@gmail.com: Hang bug in
history.pushState()
https://code.google.com/p/chromium/issues/detail?id=394296
I found another case where this occurs:
If you write an endless recursion like following you will get the
error 'RangeError: Maximum call stack size exceeded ':
var endless = function() {
endless();
};
But not if you change this recursion to something with history.pushState:
var endless = function() {
history.pushState(undefined, undefined,
window.location.toString().split('#')[0]);
endless();
};
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
history.pushState()
https://code.google.com/p/chromium/issues/detail?id=394296
I found another case where this occurs:
If you write an endless recursion like following you will get the
error 'RangeError: Maximum call stack size exceeded ':
var endless = function() {
endless();
};
But not if you change this recursion to something with history.pushState:
var endless = function() {
history.pushState(undefined, undefined,
window.location.toString().split('#')[0]);
endless();
};
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.
--
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/a/chromium.org/group/chromium-bugs
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-bugs+***@chromium.org.