Skip to content

Commit 1b5e502

Browse files
[GTK] Test /webkit2/WebKitWebExtension/form-controls-associated-signal is flaky
https://bugs.webkit.org/show_bug.cgi?id=168194 Reviewed by Carlos Garcia Campos. Fix an assertion and unskip the test. The order that form controls are associated is not guaranteed. * Scripts/run-gtk-tests: (GtkTestRunner): * TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp: (didAssociateFormControlsCallback): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@226326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 4dbf695 commit 1b5e502

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

Tools/ChangeLog

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
2018-01-02 Michael Catanzaro <[email protected]>
2+
3+
[GTK] Test /webkit2/WebKitWebExtension/form-controls-associated-signal is flaky
4+
https://bugs.webkit.org/show_bug.cgi?id=168194
5+
6+
Reviewed by Carlos Garcia Campos.
7+
8+
Fix an assertion and unskip the test. The order that form controls are associated is not
9+
guaranteed.
10+
11+
* Scripts/run-gtk-tests:
12+
(GtkTestRunner):
13+
* TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:
14+
(didAssociateFormControlsCallback):
15+
116
2018-01-02 Alex Christensen <[email protected]>
217

318
Use new WebsiteDataStore passed in through decidePolicyForNavigation SPI

Tools/Scripts/run-gtk-tests

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class GtkTestRunner(TestRunner):
4141
SkippedTest("WebKit2Gtk/TestCookieManager", "/webkit2/WebKitCookieManager/persistent-storage", "Test is flaky", 134580),
4242
SkippedTest("WebKit2Gtk/TestPrinting", "/webkit2/WebKitPrintOperation/custom-widget", "Test is flaky", 168196),
4343
SkippedTest("WebKit2Gtk/TestWebViewEditor", "/webkit2/WebKitWebView/editable/editable", "Test hits an assertion in Debug builds", 151654, "Debug"),
44-
SkippedTest("WebKit2Gtk/TestWebExtensions", "/webkit2/WebKitWebExtension/form-controls-associated-signal", "Test is flaky", 168194),
4544
SkippedTest("WebKit2Gtk/TestWebExtensions", "/webkit2/WebKitWebView/install-missing-plugins-permission-request", "Test times out", 147822),
4645
SkippedTest("WebKit/TestWebKit", "WebKit.MouseMoveAfterCrash", "Test is flaky", 85066),
4746
SkippedTest("WebKit/TestWebKit", "WebKit.NewFirstVisuallyNonEmptyLayoutForImages", "Test is flaky", 85066),

Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static void didAssociateFormControlsCallback(GDBusConnection*, const char*, cons
223223
{
224224
const char* formIds;
225225
g_variant_get(result, "(&s)", &formIds);
226-
g_assert(!g_strcmp0(formIds, FORM_ID FORM2_ID) || !g_strcmp0(formIds, INPUT_ID));
226+
g_assert(!g_strcmp0(formIds, FORM_ID FORM2_ID) || !g_strcmp0(formIds, FORM2_ID FORM_ID) || !g_strcmp0(formIds, INPUT_ID));
227227

228228
test->quitMainLoop();
229229
}

0 commit comments

Comments
 (0)