<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - History.js (it use native window.history) crash application"
href="https://bugs.webkit.org/show_bug.cgi?id=145405">145405</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>History.js (it use native window.history) crash application
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>528+ (Nightly build)
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>History
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bear-sasha1@yandex.ru
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=253784" name="attach_253784" title="screenshot of chrome://verison">attachment 253784</a> <a href="attachment.cgi?id=253784&action=edit" title="screenshot of chrome://verison">[details]</a></span>
screenshot of chrome://verison
I have a problem with history (browser doesn't firing event 'onpopstate' on use code history.go(-1)):
Steps for reproduce:
1) go to www.site.ru (this is fake site and he doesn't work, just for example)
2) go to www.site.ru/employee
3) open information about employee by click for a link www.site.ru/employee/id open modal window, code:
History.pushState({}, 'Title', 'URL')
4) When modal window was hidden (bootstrap event hidden.bs.modal) use code:
History.back();
And page stoped work and url stop on this www.site.ru/employee/id, but must go to www.site.ru/employee
Usually, all work is very good, but sometimes Google Chrome browser hangs (1 time from 1, 1 from 10, 1 from 30 and other).
I can reproduce that sometimes and app is hangs.
Some information about History.js variables:
History.busy() = true
events popstate/statechange don't work
History.getState().id == history.state</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>