<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>244696</bug_id>
          
          <creation_ts>2022-09-01 17:58:40 -0700</creation_ts>
          <short_desc>REGRESSION (253726@main): [ macOS wk1 Debug ]  ASSERTION FAILED: !needsLayout() ERROR: Unknown key, &apos;modernMediaControls&apos;</short_desc>
          <delta_ts>2022-09-07 05:57:10 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=244676</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=244714</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=244693</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Rackler">rackler</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hi</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1895669</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-09-01 17:58:40 -0700</bug_when>
    <thetext>Description:
media/modern-media-controls/media-documents/insert-style-should-not-crash.html is a flaky crash

This test was passing consistently until at 253726@main, where it began to flaky crash.

REPRODUCTION STEPS
I can reproduce this on 253726@main but cannot reproduce it on 253725@main or earlier.

Command: 
run-webkit-tests --debug -1 --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --iterations 50 -f --no-retry media/modern-media-controls/media-documents/insert-style-should-not-crash.html

Result: 
documents/insert-style-should-not-crash.html
Unexpected flakiness: crashes (1)
  media/modern-media-controls/media-documents/insert-style-should-not-crash.html [ Pass Crash ]

History:
https://results.webkit.org/?suite=layout-tests&amp;test=media%2Fmodern-media-controls%2Fmedia-documents%2Finsert-style-should-not-crash.html&amp;platform=mac&amp;style=debug&amp;flavor=wk1

Crash Log:
No crash log found for DumpRenderTree:54036.

stdout:

stderr:
ERROR: Unknown key, &apos;modernMediaControls&apos;, in test header in /Volumes/Data/worker/Apple-Monterey-Debug-WK1-Tests/build/LayoutTests/media/modern-media-controls/media-documents/insert-style-should-not-crash.html
/Volumes/Data/worker/Apple-Monterey-Debug-Build/build/Tools/TestRunnerShared/TestFeatures.cpp(271) : WTR::TestFeatures WTR::parseTestHeaderString(const std::string &amp;, std::filesystem::path, const std::unordered_map&lt;std::string, TestHeaderKeyType&gt; &amp;)
2022-09-01 11:18:51.435 DumpRenderTree[54036:19559529] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-09-01 11:18:51.435 DumpRenderTree[54036:19559529] nil host used in call to allowsAnyHTTPSCertificateForHost:
2022-09-01 11:18:51.514 DumpRenderTree[54036:19559529] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-09-01 11:18:51.514 DumpRenderTree[54036:19559529] nil host used in call to allowsAnyHTTPSCertificateForHost:
ASSERTION FAILED: !needsLayout()
page/FrameView.cpp(4560) : virtual void WebCore::FrameView::paintContents(WebCore::GraphicsContext &amp;, const WebCore::IntRect &amp;, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext *)
1   0x10f8e8069 WTFCrash
2   0x19fdb6efb WTFCrashWithInfo(int, char const*, char const*, int)
3   0x1a45e74ef WebCore::FrameView::paintContents(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext*)
4   0x10c925a1c -[WebFrame(WebInternal) _drawRect:contentsOnly:]
5   0x10c9499d3 -[WebHTMLView drawSingleRect:]
6   0x10c94a035 -[WebHTMLView drawRect:]
7   0x7ff80bec3280 _NSViewDrawRect
8   0x7ff80c5de3bd -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
9   0x10c93d7c6 -[WebHTMLView(WebPrivate) _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
10  0x7ff80c5de70b -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
11  0x7ff80c5de70b -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
12  0x7ff80c5de70b -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:]
13  0x7ff80c033195 -[NSView displayRectIgnoringOpacity:inContext:]
14  0x1a24afd2c WebCore::Widget::paint(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext*)
15  0x1a48a3023 WebCore::ScrollView::paint(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext*)
16  0x1a53d0b99 WebCore::RenderWidget::paintContents(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;)
17  0x1a53d1453 WebCore::RenderWidget::paint(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;)
18  0x1a5261246 WebCore::RenderLayer::paintForegroundForFragmentsWithPhase(WebCore::PaintPhase, WTF::Vector&lt;WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; const&amp;, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RenderObject*)
19  0x1a525efbd WebCore::RenderLayer::paintForegroundForFragments(WTF::Vector&lt;WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; const&amp;, WebCore::GraphicsContext&amp;, WebCore::GraphicsContext&amp;, WebCore::LayoutRect const&amp;, bool, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RenderObject*)
20  0x1a525b278 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
21  0x1a52a54e2 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::EventRegionContext*)::$_11::operator()(WebCore::RenderLayer&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) const
22  0x1a52a4e06 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::EventRegionContext*)
23  0x1a52a6241 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int)
24  0x1a4ace4f0 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int)
25  0x1a4bb4a7f WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, unsigned int)
26  0x1a20d0700 WebCore::PlatformCALayer::drawLayerContents(WebCore::GraphicsContext&amp;, WebCore::PlatformCALayer*, WTF::Vector&lt;WebCore::FloatRect, 5ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, unsigned int)
27  0x1a21db696 -[WebLayer drawInContext:]
28  0x7ff8103f199d CABackingStoreUpdate_
29  0x7ff8104559fd invocation function for block in CA::Layer::display_()
30  0x7ff8103f09d1 -[CALayer _display]
31  0x1a21dbfad -[WebSimpleLayer display]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895670</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-01 17:58:58 -0700</bug_when>
    <thetext>&lt;rdar://problem/99466640&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895671</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-09-01 18:03:21 -0700</bug_when>
    <thetext>I have marked this test as a flaky crash while this issue is investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895673</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-09-01 18:10:30 -0700</bug_when>
    <thetext>Test gardening commit 254082@main (a5d7c6e85a19): &lt;https://commits.webkit.org/254082@main&gt;

Reviewed commits have been landed. Closing PR #3942 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1896774</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2022-09-07 05:57:10 -0700</bug_when>
    <thetext>Skipping test affected by wk1 debug only assertion caused by an underlying issue.
https://github.com/WebKit/WebKit/pull/4093</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>