WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
145405
History.js (it use native window.history) crash application
https://bugs.webkit.org/show_bug.cgi?id=145405
Summary
History.js (it use native window.history) crash application
Alexander
Reported
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
Attachments
screenshot of chrome://verison
(109.21 KB, image/png)
2015-05-27 00:32 PDT
,
Alexander
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug