Title: [205935] trunk/Source/WebKit2
Revision
205935
Author
[email protected]
Date
2016-09-14 16:11:49 -0700 (Wed, 14 Sep 2016)

Log Message

Add needsPlainTextQuirk and send it to the UIProcess
https://bugs.webkit.org/show_bug.cgi?id=161996
-and corresponding-
rdar://problem/26013388

Rubber-stamped by Simon Fraser.

Quick clean-up.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::needsPlainTextQuirk):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (205934 => 205935)


--- trunk/Source/WebKit2/ChangeLog	2016-09-14 23:00:46 UTC (rev 205934)
+++ trunk/Source/WebKit2/ChangeLog	2016-09-14 23:11:49 UTC (rev 205935)
@@ -5,6 +5,19 @@
         -and corresponding-
         rdar://problem/26013388
 
+        Rubber-stamped by Simon Fraser.
+
+        Quick clean-up.
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::needsPlainTextQuirk):
+
+2016-09-14  Beth Dakin  <[email protected]>
+
+        Add needsPlainTextQuirk and send it to the UIProcess
+        https://bugs.webkit.org/show_bug.cgi?id=161996
+        -and corresponding-
+        rdar://problem/26013388
+
         Reviewed by Anders Carlsson.
 
         WebPageProxy should keep track of m_needsPlainTextQuirk.

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (205934 => 205935)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2016-09-14 23:00:46 UTC (rev 205934)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp	2016-09-14 23:11:49 UTC (rev 205935)
@@ -4816,8 +4816,6 @@
         return false;
 
     String host = url.host();
-    String path = url.path();
-    String fragmentIdentifier = url.fragmentIdentifier();
 
     if (equalLettersIgnoringASCIICase(host, "twitter.com"))
         return true;
@@ -4825,7 +4823,8 @@
     if (equalLettersIgnoringASCIICase(host, "onedrive.live.com"))
         return true;
 
-    if (equalLettersIgnoringASCIICase(host, "www.icloud.com") && (path.contains("notes") || fragmentIdentifier.contains("notes") || path.contains("/keynote/")))
+    String path = url.path();
+    if (equalLettersIgnoringASCIICase(host, "www.icloud.com") && (path.contains("notes") || url.fragmentIdentifier().contains("notes") || path.contains("/keynote/")))
         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