Changeset 192369 in webkit
- Timestamp:
- Nov 12, 2015 10:39:08 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 6 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r192365 r192369 1 2015-11-11 Jon Honeycutt <jhoneycutt@apple.com> 2 3 popstate event should be dispatched asynchronously 4 https://bugs.webkit.org/show_bug.cgi?id=36202 5 <rdar://problem/7761279> 6 7 Based on an original patch by Mihai Parparita <mihaip@chromium.org>. 8 9 Reviewed by Brent Fulgham. 10 11 * fast/loader/remove-iframe-during-history-navigation-different-expected.txt: Added. 12 * fast/loader/remove-iframe-during-history-navigation-different.html: Added. 13 Imported from Blink. 14 * fast/loader/remove-iframe-during-history-navigation-same-expected.txt: Added. 15 * fast/loader/remove-iframe-during-history-navigation-same.html: Added. 16 Ditto. 17 * fast/loader/stateobjects/popstate-fires-on-history-traversal.html: 18 Modified to account for popstate firing asynchronously. 19 * fast/loader/stateobjects/popstate-is-asynchronous-expected.txt: Added. 20 * fast/loader/stateobjects/popstate-is-asynchronous.html: Added. 21 Based on Mihai's original test. Modified to pass in current WebKit. 22 1 23 2015-11-12 Eric Carlson <eric.carlson@apple.com> 2 24 -
trunk/LayoutTests/fast/loader/stateobjects/popstate-fires-on-history-traversal.html
r190505 r192369 51 51 52 52 currentStep++; 53 54 setTimeout(step, 0);55 53 } 56 54 … … 59 57 debug('popstate fired with state ' + event.state); 60 58 popstateFireCount++; 59 setTimeout(step, 0); 61 60 } 62 61 var jsTestIsAsync = true; -
trunk/Source/WebCore/ChangeLog
r192368 r192369 1 2015-11-11 Jon Honeycutt <jhoneycutt@apple.com> 2 3 popstate event should be dispatched asynchronously 4 https://bugs.webkit.org/show_bug.cgi?id=36202 5 <rdar://problem/7761279> 6 7 Based on an original patch by Mihai Parparita <mihaip@chromium.org>. 8 9 Reviewed by Brent Fulgham. 10 11 Tests: fast/loader/remove-iframe-during-history-navigation-different.html 12 fast/loader/remove-iframe-during-history-navigation-same.html 13 fast/loader/stateobjects/popstate-is-asynchronous.html 14 15 * dom/Document.cpp: 16 (WebCore::Document::enqueuePopstateEvent): 17 Use enqueueWindowEvent(). 18 1 19 2015-11-12 Csaba Osztrogonác <ossy@webkit.org> 2 20 -
trunk/Source/WebCore/dom/Document.cpp
r192354 r192369 5375 5375 void Document::enqueuePopstateEvent(PassRefPtr<SerializedScriptValue> stateObject) 5376 5376 { 5377 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=36202 Popstate event needs to fire asynchronously 5378 dispatchWindowEvent(PopStateEvent::create(stateObject, m_domWindow ? m_domWindow->history() : nullptr)); 5377 enqueueWindowEvent(PopStateEvent::create(stateObject, m_domWindow ? m_domWindow->history() : nullptr)); 5379 5378 } 5380 5379
Note: See TracChangeset
for help on using the changeset viewer.