Index: Source/core/frame/DOMWindow.cpp |
diff --git a/Source/core/frame/DOMWindow.cpp b/Source/core/frame/DOMWindow.cpp |
index 9d85771d908ce7868b7e3d666b68851fcef5a44d..555c733a5819c851d2ee24ca4935d5635c231e17 100644 |
--- a/Source/core/frame/DOMWindow.cpp |
+++ b/Source/core/frame/DOMWindow.cpp |
@@ -453,7 +453,8 @@ void DOMWindow::documentWasClosed() |
void DOMWindow::enqueuePageshowEvent(PageshowEventPersistence persisted) |
{ |
- // FIXME: https://bugs.webkit.org/show_bug.cgi?id=36334 Pageshow event needs to fire asynchronously. |
tkent
2014/05/30 01:05:50
IMO we should not remove the FIXME. We should add
|
+ // As per spec pageshow must be triggered asyncronously. |
Inactive
2014/05/29 21:19:39
asynchronously
|
+ // However to be compatible with other browsers blink fires pageshow syncronously. |
dispatchEvent(PageTransitionEvent::create(EventTypeNames::pageshow, persisted), m_document.get()); |
} |