Title: [198225] trunk/Source/WebCore
Revision
198225
Author
[email protected]
Date
2016-03-15 13:01:39 -0700 (Tue, 15 Mar 2016)

Log Message

Restore pre-r197244 behavior on Mac
https://bugs.webkit.org/show_bug.cgi?id=155507
<rdar://problem/25174132>

Reviewed by Gavin Barraclough.

<http://trac.webkit.org/changeset/197244> changed the session restore
behavior to disallow stale content on all platforms except iOS.
We would also like to maintain the behavior on Mac for performance
reasons and consistency between iOS and Mac.

* loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadDifferentDocumentItem):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (198224 => 198225)


--- trunk/Source/WebCore/ChangeLog	2016-03-15 19:46:22 UTC (rev 198224)
+++ trunk/Source/WebCore/ChangeLog	2016-03-15 20:01:39 UTC (rev 198225)
@@ -1,3 +1,19 @@
+2016-03-15  Chris Dumez  <[email protected]>
+
+        Restore pre-r197244 behavior on Mac
+        https://bugs.webkit.org/show_bug.cgi?id=155507
+        <rdar://problem/25174132>
+
+        Reviewed by Gavin Barraclough.
+
+        <http://trac.webkit.org/changeset/197244> changed the session restore
+        behavior to disallow stale content on all platforms except iOS.
+        We would also like to maintain the behavior on Mac for performance
+        reasons and consistency between iOS and Mac.
+
+        * loader/FrameLoader.cpp:
+        (WebCore::FrameLoader::loadDifferentDocumentItem):
+
 2016-03-15  Tim Horton  <[email protected]>
 
         <attachment> on iOS isn't quite vertically centered

Modified: trunk/Source/WebCore/loader/FrameLoader.cpp (198224 => 198225)


--- trunk/Source/WebCore/loader/FrameLoader.cpp	2016-03-15 19:46:22 UTC (rev 198224)
+++ trunk/Source/WebCore/loader/FrameLoader.cpp	2016-03-15 20:01:39 UTC (rev 198225)
@@ -3348,7 +3348,7 @@
         case FrameLoadType::Back:
         case FrameLoadType::Forward:
         case FrameLoadType::IndexedBackForward: {
-#if PLATFORM(IOS)
+#if PLATFORM(COCOA)
             bool allowStaleData = true;
 #else
             bool allowStaleData = !item.wasRestoredFromSession();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to