[Webkit-unassigned] [Bug 145405] New: History.js (it use native window.history) crash application

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 27 00:32:28 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=145405

            Bug ID: 145405
           Summary: History.js (it use native window.history) crash
                    application
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: History
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bear-sasha1 at yandex.ru

Created attachment 253784
  --> https://bugs.webkit.org/attachment.cgi?id=253784&action=review
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150527/4d57e2f0/attachment.html>


More information about the webkit-unassigned mailing list