Bug 216263 - REGRESSION (r266634): [macOS release] TestWebKitAPI.WebKit.WKThumbnailViewResetsViewStateWhenUnparented is a flaky failure
Summary: REGRESSION (r266634): [macOS release] TestWebKitAPI.WebKit.WKThumbnailViewRes...
Status: RESOLVED DUPLICATE of bug 216258
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-07 22:25 PDT by Ryan Haddad
Modified: 2020-09-08 10:19 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2020-09-07 22:25:27 PDT
The following API test recently became a flaky failure on macOS release bots:

    TestWebKitAPI.WebKit.WKThumbnailViewResetsViewStateWhenUnparented
        _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
        
        /Volumes/Data/slave/mojave-release/build/Tools/TestWebKitAPI/Tests/WebKit/WKThumbnailView.mm:300
        Value of: [[webView objectByEvaluatingJavaScript:@"window.internals.isPageActive()"] boolValue]
          Actual: false
        Expected: true

https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WebKit.WKThumbnailViewResetsViewStateWhenUnparented
Comment 1 Radar WebKit Bug Importer 2020-09-07 22:25:49 PDT
<rdar://problem/68487302>
Comment 2 Ryan Haddad 2020-09-07 22:26:55 PDT
Looks like it started at or around https://trac.webkit.org/changeset/266634/webkit
Comment 4 Sihui Liu 2020-09-08 07:47:41 PDT
I already filed a bug about this and proposed a fix: https://bugs.webkit.org/show_bug.cgi?id=216258. 

About layout tests, I can only reproduce failure of fast/animation/request-animation-frame-throttling-lowPowerMode.html so far: https://bugs.webkit.org/show_bug.cgi?id=216261.

*** This bug has been marked as a duplicate of bug 216258 ***
Comment 5 Ryan Haddad 2020-09-08 10:19:17 PDT
(In reply to Sihui Liu from comment #4)
> I already filed a bug about this and proposed a fix:
> https://bugs.webkit.org/show_bug.cgi?id=216258. 
> 
> About layout tests, I can only reproduce failure of
> fast/animation/request-animation-frame-throttling-lowPowerMode.html so far:
> https://bugs.webkit.org/show_bug.cgi?id=216261.
> 
> *** This bug has been marked as a duplicate of bug 216258 ***

I can reproduce at least one of the failures. Filed https://bugs.webkit.org/show_bug.cgi?id=216275.