Re-enable synchronous popstate event for safari-601-branch
rdar://problem/24154417
Created attachment 269416 [details] Patch
Comment on attachment 269416 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=269416&action=review r=me. This should only be landed in the branch. > LayoutTests/fast/loader/stateobjects/popstate-is-asynchronous-expected.txt:-8 > -Set hash to #foo It seems weird that we don't output this. Surely the "Set hash to #foo" step is being taken, right?
Comment on attachment 269416 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=269416&action=review >> LayoutTests/fast/loader/stateobjects/popstate-is-asynchronous-expected.txt:-8 >> -Set hash to #foo > > It seems weird that we don't output this. Surely the "Set hash to #foo" step is being taken, right? It is weird, but expected. The popstate event handler finishes the test when it fires in response to setting location.hash to "#foo". With synchronous event dispatch, that means the test finishes before we get to the next line that logs "Set hash to #foo".
Committed r196807: <http://trac.webkit.org/changeset/196807>