Title: [250499] branches/safari-608-branch/Source/WebCore

Diff

Modified: branches/safari-608-branch/Source/WebCore/ChangeLog (250498 => 250499)


--- branches/safari-608-branch/Source/WebCore/ChangeLog	2019-09-30 05:15:40 UTC (rev 250498)
+++ branches/safari-608-branch/Source/WebCore/ChangeLog	2019-09-30 07:55:07 UTC (rev 250499)
@@ -1,3 +1,7 @@
+2019-09-30  Babak Shafiei  <[email protected]>
+
+        Revert r250483. rdar://problem/55825351
+
 2019-09-29  Alan Coon  <[email protected]>
 
         Cherry-pick r250483. rdar://problem/55825351

Modified: branches/safari-608-branch/Source/WebCore/loader/cache/CachedResourceLoader.cpp (250498 => 250499)


--- branches/safari-608-branch/Source/WebCore/loader/cache/CachedResourceLoader.cpp	2019-09-30 05:15:40 UTC (rev 250498)
+++ branches/safari-608-branch/Source/WebCore/loader/cache/CachedResourceLoader.cpp	2019-09-30 07:55:07 UTC (rev 250499)
@@ -87,10 +87,6 @@
 #include "CachedTextTrack.h"
 #endif
 
-#if PLATFORM(IOS_FAMILY)
-#include "Device.h"
-#endif
-
 #undef RELEASE_LOG_IF_ALLOWED
 #define RELEASE_LOG_IF_ALLOWED(fmt, ...) RELEASE_LOG_IF(isAlwaysOnLoggingAllowed(), Network, "%p - CachedResourceLoader::" fmt, this, ##__VA_ARGS__)
 
@@ -871,18 +867,6 @@
         }
     }
 
-    // FIXME: This is temporary for <rdar://problem/55790994>.
-#if PLATFORM(IOS) && !PLATFORM(IOSMAC)
-    if (!page.sessionID().isEphemeral() && deviceHasIPadCapability() && request.resourceRequest().url().protocolIs("https")) {
-        RegistrableDomain registrableDomain(request.resourceRequest().url());
-        if (registrableDomain.string().startsWith("google.")) {
-            auto host = request.resourceRequest().url().host();
-            if (host.startsWithIgnoringASCIICase("google.") || host.startsWithIgnoringASCIICase("www.google.") || host.startsWithIgnoringASCIICase("images.google."))
-                request.resourceRequest().setHTTPHeaderField(HTTPHeaderName::XTempTablet, "1"_s);
-        }
-    }
-#endif
-
     LoadTiming loadTiming;
     loadTiming.markStartTimeAndFetchStart();
     InitiatorContext initiatorContext = request.options().initiatorContext;

Modified: branches/safari-608-branch/Source/WebCore/platform/network/HTTPHeaderNames.in (250498 => 250499)


--- branches/safari-608-branch/Source/WebCore/platform/network/HTTPHeaderNames.in	2019-09-30 05:15:40 UTC (rev 250498)
+++ branches/safari-608-branch/Source/WebCore/platform/network/HTTPHeaderNames.in	2019-09-30 07:55:07 UTC (rev 250499)
@@ -104,7 +104,6 @@
 X-WebKit-CSP
 X-WebKit-CSP-Report-Only
 X-XSS-Protection
-X-Temp-Tablet
 
 // These headers are specific to GStreamer.
 Icy-MetaInt
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to