[WPE][GTK] API test /webkit/WebKitSettings/webkit-settings is failing
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Nov 2018 20:12:06 +0000 (20:12 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Nov 2018 20:12:06 +0000 (20:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=191221

Unreviewed, fix a typo from the previous patch. After disabling the setting, we should test
that it is disabled, but we're testing that it is enabled, because I failed to update this
line.

* TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
(testWebKitSettings):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238069 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp

index e4f35aa..653c68d 100644 (file)
@@ -1,3 +1,15 @@
+2018-11-10  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        [WPE][GTK] API test /webkit/WebKitSettings/webkit-settings is failing
+        https://bugs.webkit.org/show_bug.cgi?id=191221
+
+        Unreviewed, fix a typo from the previous patch. After disabling the setting, we should test
+        that it is disabled, but we're testing that it is enabled, because I failed to update this
+        line.
+
+        * TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:
+        (testWebKitSettings):
+
 2018-11-10  Tim Horton  <timothy_horton@apple.com>
 
         Make it possible to edit images inline
index f0c4c17..c59b513 100644 (file)
@@ -317,7 +317,7 @@ static void testWebKitSettings(Test*, gconstpointer)
     // MediaSource is enabled by default
     g_assert(webkit_settings_get_enable_mediasource(settings));
     webkit_settings_set_enable_mediasource(settings, FALSE);
-    g_assert(webkit_settings_get_enable_mediasource(settings));
+    g_assert(!webkit_settings_get_enable_mediasource(settings));
 
     // EncryptedMedia is disabled by default
     g_assert(!webkit_settings_get_enable_encrypted_media(settings));