Bug 194827 - Toggling visibility on the <html> element can result in a blank web view
Summary: Toggling visibility on the <html> element can result in a blank web view
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-02-19 13:24 PST by Simon Fraser (smfr)
Modified: 2019-02-20 13:03 PST (History)
6 users (show)

See Also:


Attachments
Patch (17.67 KB, patch)
2019-02-19 13:36 PST, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2019-02-19 13:24:05 PST
Toggling visibility on the <html> element can result in a blank web view
Comment 1 Simon Fraser (smfr) 2019-02-19 13:36:10 PST
Created attachment 362420 [details]
Patch
Comment 2 Simon Fraser (smfr) 2019-02-19 13:36:12 PST
<rdar://problem/47620594>
Comment 3 EWS Watchlist 2019-02-19 13:39:30 PST
Attachment 362420 [details] did not pass style-queue:


ERROR: Source/WebCore/testing/Internals.h:350:  enum members should use InterCaps with an initial capital letter or initial 'k' for C-style enums.  [readability/enum_casing] [4]
Total errors found: 1 in 14 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 WebKit Commit Bot 2019-02-19 17:39:40 PST
Comment on attachment 362420 [details]
Patch

Clearing flags on attachment: 362420

Committed r241788: <https://trac.webkit.org/changeset/241788>
Comment 5 WebKit Commit Bot 2019-02-19 17:39:42 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Truitt Savell 2019-02-20 08:52:39 PST
The changes in https://trac.webkit.org/changeset/241788/webkit

caused one API timeout on Mojave Debug.

Timeout

    TestWebKitAPI.WebKit.ResizeReversePaginatedWebView
        _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
        ASSERTION FAILED: !m_normalFlowListDirty
        ./rendering/RenderLayer.h(331) : WebCore::RenderLayer::LayerList WebCore::RenderLayer::normalFlowLayers() const
        1   0x789fc5329 WTFCrash
        2   0x77800c8db WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x77b6f26f3 WebCore::RenderLayer::normalFlowLayers() const
        4   0x77b71f6ce WebCore::RenderLayerCompositor::recursiveRepaintLayer(WebCore::RenderLayer&)
        5   0x77b71f732 WebCore::RenderLayerCompositor::recursiveRepaintLayer(WebCore::RenderLayer&)
        6   0x77b71f565 WebCore::RenderLayerCompositor::repaintCompositedLayers()


Run it is present on:
https://build.webkit.org/builders/Apple%20Mojave%20Debug%20WK2%20%28Tests%29/builds/1655

reproduced and confirmed locally.
Comment 7 Simon Fraser (smfr) 2019-02-20 13:03:18 PST
Fixing via bug 194866.