Title: [206997] trunk/Source/WebKit2
Revision
206997
Author
commit-qu...@webkit.org
Date
2016-10-10 09:01:11 -0700 (Mon, 10 Oct 2016)

Log Message

[EFL] ewk_context_preferred_languages has been failed since r206949
https://bugs.webkit.org/show_bug.cgi?id=163211

Patch by Gyuyoung Kim <gyuyoung....@navercorp.com> on 2016-10-10
Reviewed by Chris Dumez.

r206949 changed to return value of navigator.language from en-us to en-US
in order to match other browsers and w3c spec. So ewk_context_preferred_languages
needs to change the expected result as well.

* UIProcess/API/efl/tests/test_ewk2_context.cpp:
(TEST_F):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (206996 => 206997)


--- trunk/Source/WebKit2/ChangeLog	2016-10-10 15:11:11 UTC (rev 206996)
+++ trunk/Source/WebKit2/ChangeLog	2016-10-10 16:01:11 UTC (rev 206997)
@@ -1,3 +1,17 @@
+2016-10-10  Gyuyoung Kim  <gyuyoung....@navercorp.com>
+
+        [EFL] ewk_context_preferred_languages has been failed since r206949
+        https://bugs.webkit.org/show_bug.cgi?id=163211
+
+        Reviewed by Chris Dumez.
+
+        r206949 changed to return value of navigator.language from en-us to en-US
+        in order to match other browsers and w3c spec. So ewk_context_preferred_languages
+        needs to change the expected result as well.
+
+        * UIProcess/API/efl/tests/test_ewk2_context.cpp:
+        (TEST_F):
+
 2016-10-10  Carlos Garcia Campos  <cgar...@igalia.com>
 
         NetworkSession: downloads started by startDownload() can fail before starting from the API point of view

Modified: trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_context.cpp (206996 => 206997)


--- trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_context.cpp	2016-10-10 15:11:11 UTC (rev 206996)
+++ trunk/Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_context.cpp	2016-10-10 16:01:11 UTC (rev 206997)
@@ -329,6 +329,6 @@
 
     ewk_context_preferred_languages_set(nullptr);
     ASSERT_TRUE(loadUrlSync(httpServer->getURLForPath("/index.html").data()));
-    ASSERT_STREQ("en-us", s_acceptLanguages);
+    ASSERT_STREQ("en-US", s_acceptLanguages);
     free(s_acceptLanguages);
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to