Bug 230043 - REGRESSION(r282060) [GTK] API test /WebKit2Gtk/TestContextMenu /webkit/WebKitWebView/default-menu is failing
Summary: REGRESSION(r282060) [GTK] API test /WebKit2Gtk/TestContextMenu /webkit/WebKit...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 05:46 PDT by Lauro Moura
Modified: 2021-09-08 07:00 PDT (History)
1 user (show)

See Also:


Attachments
html for testing (1.16 KB, text/html)
2021-09-08 07:00 PDT, Lauro Moura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2021-09-08 05:46:33 PDT
/WebKit2Gtk/TestContextMenu /webkit/WebKitWebView/default-menu

Failure:

ERROR:../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:355:virtual bool ContextMenuDefaultTest::contextMenu(WebKitContextMenu*, GdkEvent*, WebKitHitTestResult*): 'webkit_hit_test_result_context_is_link(hitTestResult)' sh     ould be FALSE                                                             

Last good: 241359@main // 282059
First bad: 241364@main  // r282064
First GTK release build with error: https://build.webkit.org/#/builders/57/builds/3591

Commits in range:

r282064 2021-09-06 [GTK] The Xvfb display server may fail to start sometimes causing tests to randomly crash https://bugs.webkit.org/show_bug.cgi?id=229758
r282063 2021-09-06 REGRESSION (r280017): Calling getBoundingClientRect() on an empty element with "break-before: column" in columns returns a rect with all zeros https://bugs.webkit.org/show_bug.cgi?id=229747
r282062 2021-09-06 [GLIB] Garden tests related to the experimetal <attachment> element https://bugs.webkit.org/show_bug.cgi?id=229966
r282061 2021-09-06 Fix WebKitGTK build on MacOS https://bugs.webkit.org/show_bug.cgi?id=225850
r282060 2021-09-06 [LFC][Integration] Use inline boxes in run vector for hit testing https://bugs.webkit.org/show_bug.cgi?id=229933
Comment 1 Lauro Moura 2021-09-08 05:57:44 PDT
Gardened in r282139/r282140 (typo in test path...)
Comment 2 Lauro Moura 2021-09-08 06:59:42 PDT
Indeed introduced in r282060 from bug229933

With this revision, the hit region for the linked image in the test's html kinda "leaks" over the non-link image, causing the assertion to fail.
Comment 3 Lauro Moura 2021-09-08 07:00:41 PDT
Created attachment 437624 [details]
html for testing