Bug 145405

Summary: History.js (it use native window.history) crash application
Product: WebKit Reporter: Alexander <bear-sasha1>
Component: HistoryAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Critical CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
screenshot of chrome://verison none

Description Alexander 2015-05-27 00:32:28 PDT
Created attachment 253784 [details]
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
Comment 1 Alexey Proskuryakov 2015-05-28 22:24:28 PDT
Can you reproduce this with Safari on Mac, or some other WebKit browser? Chrome is a different project, we don't track its bugs here.