Bug 218789

Summary: REGRESSION(r269665) [GLib] API test /WebKit2Gtk/TestWebKitWebView /webkit/WebKitWebView/page-visibility is failing
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=215851

Lauro Moura
Reported 2020-11-10 22:14:32 PST
r269665 Removed the `prerender` value from the VisibilityState list of values and the page-visibility API test needs to be updated. Replacing "prerender" with "hidden" in line 743 of Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp makes the assertion pass but looks like the previous logic of waiting for the title to change after showInWindow needs to be updated, as the onVisibilityChanged seems to not be emitted after it and the waitUntilTitleChanged() call in line 752 makes the test timeout.
Attachments
Lauro Moura
Comment 1 2020-11-10 22:16:52 PST
Nevermind, page-visibility already timeouts as pointed by bug214804. Marking this one as duplicated and submitting the prerender fix unreviewed. *** This bug has been marked as a duplicate of bug 214804 ***
Lauro Moura
Comment 2 2020-11-10 22:20:26 PST
Updated testvalue in r269673
Note You need to log in before you can comment on or make changes to this bug.