{"push_id":813508843,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"fbc421b161dc40552f5aaac90d2ad834190d8c06","before":"5b85d52a45f74ab3c6303b885dfaa2a996465767","commits":[{"sha":"78da3b83b85540fc68e89d191590453425bc8b66","author":{"email":"a82ad16292c9f3b890b7b13c336ff95f6bd02623@webkit.org","name":"commit-queue@webkit.org"},"message":"popstate is fired at the wrong time on load\nhttps://bugs.webkit.org/show_bug.cgi?id=94265\n\nPatch by Antoine Quint <graouts@apple.com> on 2015-10-02\nReviewed by Darin Adler.\n\nSource/WebCore:\n\nDon't fire popstate event on initial document load\n\nAccording to the specification [1], a popstate event should only be fired\nwhen the document has a \"last entry\" and the entry being navigated to isn't\nit.  A document is created without a \"last entry\" and gets one just after\nthis check when it is first navigated to, so a popstate should be fired any\ntime a document is navigated to except for the first time after it has been\ncreated.\n\nPatch adapted from work by jl@opera.com on Blink [2].\n\n[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#traverse-the-history (step 12-14 in particular)\n[2] https://src.chromium.org/viewvc/blink?revision=165221&view=revision\n\n* dom/Document.cpp:\n(WebCore::Document::implicitClose):\n\nSource/WebKit2:\n\nEnsure we have a valid page before trying to get to its drawingArea as this could lead\nto a crash as observed with fast/loader/stateobjects/pushstate-object-types.html.\n\n* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:\n(WebKit::WebFrameLoaderClient::restoreViewState):\n\nLayoutTests:\n\nUpdating tests that relied on a \"popstate\" event being fired at page load.\n\n* fast/history/same-document-iframes-changing-fragment-expected.txt:\n* fast/history/same-document-iframes-changing-pushstate-expected.txt:\n* fast/loader/javascript-url-iframe-remove-on-navigate.html:\n* fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html:\n* fast/loader/stateobjects/document-destroyed-navigate-back.html:\n* fast/loader/stateobjects/popstate-after-load-complete-addeventlistener.html:\n* fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html:\n* fast/loader/stateobjects/popstate-after-load-complete-body-inline-attribute.html:\n* fast/loader/stateobjects/popstate-after-load-complete-window-attribute.html:\n* fast/loader/stateobjects/popstate-fires-on-history-traversal-expected.txt:\n* fast/loader/stateobjects/popstate-fires-on-history-traversal.html:\n* fast/loader/stateobjects/popstate-fires-with-page-cache-expected.txt:\n* fast/loader/stateobjects/popstate-fires-with-page-cache.html:\n* fast/loader/stateobjects/pushstate-object-types.html:\n* fast/loader/stateobjects/pushstate-then-replacestate.html:\n* fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange.html:\n* fast/loader/stateobjects/replacestate-then-pushstate.html:\n* fast/loader/stateobjects/resources/popstate-fires-with-page-cache-1.html:\n* fast/loader/stateobjects/resources/popstate-fires-with-page-cache-2.html:\n* fast/loader/stateobjects/resources/replacestate-in-iframe-window-child.html:\n* http/tests/history/popstate-fires-with-pending-requests.html:\n* http/tests/navigation/redirect-on-back-updates-history-item-expected.txt:\n* http/tests/navigation/redirect-on-reload-updates-history-item-expected.txt:\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@190505 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/WebKit/webkit/commits/78da3b83b85540fc68e89d191590453425bc8b66"},{"sha":"fbc421b161dc40552f5aaac90d2ad834190d8c06","author":{"email":"ed8d19b5ea2f2ddb815df2caae90471658a5c79d@apple.com","name":"nvasilyev@apple.com"},"message":"Web Inspector: Fix indentation of console message parameters\nhttps://bugs.webkit.org/show_bug.cgi?id=149740\n\nReviewed by Darin Adler.\n\n* UserInterface/Views/ConsoleMessageView.css:\n(.console-message .console-message-stack-trace-container > li):\n(.console-message .console-message-extra-parameters-container > li::before):\n\n\ngit-svn-id: http://svn.webkit.org/repository/webkit/trunk@190506 268f45cc-cd09-0410-ab3c-d52691b4dbfc","distinct":true,"url":"https://api.github.com/repos/WebKit/webkit/commits/fbc421b161dc40552f5aaac90d2ad834190d8c06"}]}