Title: [209475] trunk/Source/WebKit2
Revision
209475
Author
[email protected]
Date
2016-12-07 13:33:37 -0800 (Wed, 07 Dec 2016)

Log Message

Remove iCloud Pages and Keynote site-specific hacks
https://bugs.webkit.org/show_bug.cgi?id=165544
-and corresponding-
rdar://problem/29082536

Reviewed by Wenson Hsieh.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::needsHiddenContentEditableQuirk):
(WebKit::needsPlainTextQuirk):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (209474 => 209475)


--- trunk/Source/WebKit2/ChangeLog	2016-12-07 21:27:08 UTC (rev 209474)
+++ trunk/Source/WebKit2/ChangeLog	2016-12-07 21:33:37 UTC (rev 209475)
@@ -1,3 +1,16 @@
+2016-12-07  Beth Dakin  <[email protected]>
+
+        Remove iCloud Pages and Keynote site-specific hacks
+        https://bugs.webkit.org/show_bug.cgi?id=165544
+        -and corresponding-
+        rdar://problem/29082536
+
+        Reviewed by Wenson Hsieh.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::needsHiddenContentEditableQuirk):
+        (WebKit::needsPlainTextQuirk):
+
 2016-12-05  Ada Chan  <[email protected]>
 
         Add a getter for serverTrust in _WKObservablePageState

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (209474 => 209475)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2016-12-07 21:27:08 UTC (rev 209474)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2016-12-07 21:33:37 UTC (rev 209475)
@@ -4824,7 +4824,7 @@
 
     String host = url.host();
     String path = url.path();
-    return equalLettersIgnoringASCIICase(host, "docs.google.com") || (equalLettersIgnoringASCIICase(host, "www.icloud.com") && path.contains("/pages/"));
+    return equalLettersIgnoringASCIICase(host, "docs.google.com");
 }
 
 static bool needsPlainTextQuirk(bool needsQuirks, const URL& url)
@@ -4841,7 +4841,7 @@
         return true;
 
     String path = url.path();
-    if (equalLettersIgnoringASCIICase(host, "www.icloud.com") && (path.contains("notes") || url.fragmentIdentifier().contains("notes") || path.contains("/keynote/")))
+    if (equalLettersIgnoringASCIICase(host, "www.icloud.com") && (path.contains("notes") || url.fragmentIdentifier().contains("notes")))
         return true;
 
     if (equalLettersIgnoringASCIICase(host, "trix-editor.org"))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to