[Webkit-unassigned] [Bug 227974] New: Clean up SOAuthorizationSubFrame tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 14 16:56:00 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=227974

            Bug ID: 227974
           Summary: Clean up SOAuthorizationSubFrame tests
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

In Bug 227925 we discovered that two API tests related to Extensible SSO failed consistently on the iOS simulator, and was flaky on some versions of macOS.

I had added a flag to indicate that WKWebView's "decidePolicyForSOAuthorizationLoadWithCurrentPolicy" delegate had been called, but found that this did not consistently happen. This might be because the test involves loading sub-frames of live websites, which might not always resolve and load in the 0.5 second timeout specified in the test.

=====================================

TestWebKitAPI.SOAuthorizationSubFrame.SOAuthorizationLoadPolicyIgnore

        /Volumes/Data/worker/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm:2586
        Value of: policyForAppSSOPerformed
          Actual: true
        Expected: false

TestWebKitAPI.SOAuthorizationSubFrame.SOAuthorizationLoadPolicyIgnoreAsync

        /Volumes/Data/worker/ios-simulator-14-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/TestSOAuthorization.mm:2643
        Value of: policyForAppSSOPerformed
          Actual: true
        Expected: false

=====================================

We should investigate this further and make the tests more deterministic to avoid this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210714/c90a5166/attachment.htm>


More information about the webkit-unassigned mailing list