Bug 218789
| Summary: | REGRESSION(r269665) [GLib] API test /WebKit2Gtk/TestWebKitWebView /webkit/WebKitWebView/page-visibility is failing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
| Component: | WebKitGTK | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Lauro Moura
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
Updated testvalue in r269673