<?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>229505</bug_id>
          
          <creation_ts>2021-08-25 11:29:17 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: willBeComposited == needsToBeComposited(layer, queryData) on &quot;youtube-plugin-replacement&quot; &amp; &quot;quicktime-plugin-replacement tests&quot;</short_desc>
          <delta_ts>2021-09-15 16:14:00 -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>Compositing</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Mac (Apple Silicon)</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=223750</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=229722</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>ayumi_kojima</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>dbates</cc>
    
    <cc>ehutchison</cc>
    
    <cc>simon.fraser</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>1787228</commentid>
    <comment_count>0</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-25 11:29:17 -0700</bug_when>
    <thetext>security/contentSecurityPolicy/plugins-types-blocks-quicktime-plugin-replacement.html

Is a flaky crash on macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS

According to the history, the crash is not seen on the open source directory: https://results.webkit.org/?suite=layout-tests&amp;test=security%2FcontentSecurityPolicy%2Fplugins-types-blocks-quicktime-plugin-replacement.html

Result page: https://ews-build.s3-us-west-2.amazonaws.com/macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS/r435759-10009/results.html

I am not sure when exactly the flakiness started, but started being notified from this build https://ews-build.webkit.org/#/builders/60/builds/10009.

Crash log: 

No crash log found for com.apple.WebKit.WebContent.Development:66567.

stdout:

stderr:
ASSERTION FAILED: willBeComposited == needsToBeComposited(layer, queryData)
./rendering/RenderLayerCompositor.cpp(1166) : void WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer *, WebCore::RenderLayer &amp;, WebCore::LayerOverlapMap &amp;, WebCore::RenderLayerCompositor::CompositingState &amp;, WebCore::RenderLayerCompositor::BackingSharingState &amp;, bool &amp;)
1   0x138ff1e9c WTFCrash
2   0x119216740 WTFCrashWithInfo(int, char const*, char const*, int)
3   0x11c5fedd4 WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer*, WebCore::RenderLayer&amp;, WebCore::LayerOverlapMap&amp;, WebCore::RenderLayerCompositor::CompositingState&amp;, WebCore::RenderLayerCompositor::BackingSharingState&amp;, bool&amp;)
4   0x11c5fead0 WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer*, WebCore::RenderLayer&amp;, WebCore::LayerOverlapMap&amp;, WebCore::RenderLayerCompositor::CompositingState&amp;, WebCore::RenderLayerCompositor::BackingSharingState&amp;, bool&amp;)
5   0x11c5feb48 WebCore::RenderLayerCompositor::computeCompositingRequirements(WebCore::RenderLayer*, WebCore::RenderLayer&amp;, WebCore::LayerOverlapMap&amp;, WebCore::RenderLayerCompositor::CompositingState&amp;, WebCore::RenderLayerCompositor::BackingSharingState&amp;, bool&amp;)
6   0x11c5fcc90 WebCore::RenderLayerCompositor::updateCompositingLayers(WebCore::CompositingUpdateType, WebCore::RenderLayer*)
7   0x11c5fc2c4 WebCore::RenderLayerCompositor::didRecalcStyleWithNoPendingLayout()
8   0x11ba194ec WebCore::FrameView::updateCompositingLayersAfterStyleChange()
9   0x11aa18b1c WebCore::Document::resolveStyle(WebCore::Document::ResolveStyleType)
10  0x11aa197d4 WebCore::Document::updateStyleIfNeeded()
11  0x11aa1484c WebCore::Document::updateLayout()
12  0x11aa15e08 WebCore::Document::updateLayoutIgnorePendingStylesheets(WebCore::Document::RunPostLayoutTasks)
13  0x11a606a74 WebCore::ComputedStyleExtractor::propertyValue(WebCore::CSSPropertyID, WebCore::EUpdateLayout)
14  0x11a606894 WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue(WebCore::CSSPropertyID, WebCore::EUpdateLayout) const
15  0x11a605a98 WebCore::CSSComputedStyleDeclaration::getPropertyValue(WebCore::CSSPropertyID) const
16  0x11a622820 WebCore::CSSComputedStyleDeclaration::getPropertyValueInternal(WebCore::CSSPropertyID)
17  0x11a7220a0 WebCore::CSSStyleDeclaration::propertyValueForCamelCasedIDLAttribute(WTF::AtomString const&amp;)
18  0x11822cb5c WebCore::jsCSSStyleDeclaration_propertyValueForCamelCasedIDLAttributeGetter(JSC::JSGlobalObject&amp;, WebCore::JSCSSStyleDeclaration&amp;, JSC::PropertyName)
19  0x11819d6bc long long WebCore::IDLAttribute&lt;WebCore::JSCSSStyleDeclaration&gt;::getPassingPropertyName&lt;&amp;(WebCore::jsCSSStyleDeclaration_propertyValueForCamelCasedIDLAttributeGetter(JSC::JSGlobalObject&amp;, WebCore::JSCSSStyleDeclaration&amp;, JSC::PropertyName)), (WebCore::CastedThisErrorBehavior)3&gt;(JSC::JSGlobalObject&amp;, long long, JSC::PropertyName)
20  0x11819d594 WebCore::jsCSSStyleDeclaration_propertyValueForCamelCasedIDLAttribute(JSC::JSGlobalObject*, long long, JSC::PropertyName)
21  0x13af3277c JSC::PropertySlot::customGetter(JSC::VM&amp;, JSC::PropertyName) const
22  0x13a777fac JSC::PropertySlot::getValue(JSC::JSGlobalObject*, JSC::PropertyName) const
23  0x13a7798b8 JSC::JSValue::get(JSC::JSGlobalObject*, JSC::PropertyName, JSC::PropertySlot&amp;) const
24  0x13a92a164 JSC::LLInt::performLLIntGetByID(JSC::Instruction const*, JSC::CodeBlock*, JSC::JSGlobalObject*, JSC::JSValue, JSC::Identifier const&amp;, JSC::GetByIdModeMetadata&amp;)
25  0x13a929ec4 llint_slow_path_get_by_id
26  0x13981608c llint_entry
27  0x13982f2cc llint_entry
28  0x13982f374 llint_entry
29  0x13980ad18 vmEntryToJavaScript
30  0x13a76dd04 JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
31  0x13a76e360 JSC::Interpreter::executeCall(JSC::JSGlobalObject*, JSC::JSObject*, JSC::CallData const&amp;, JSC::JSValue, JSC::ArgList const&amp;)
com.apple.WebKit.WebContent.Development terminated (pid 66567) because the process crashed
LEAK: 3 WebPageProxy</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787229</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-08-25 11:29:48 -0700</bug_when>
    <thetext>&lt;rdar://problem/82349517&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787230</commentid>
    <comment_count>2</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-25 11:35:34 -0700</bug_when>
    <thetext>Marked expectations https://trac.webkit.org/changeset/281567/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787298</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-08-25 14:00:42 -0700</bug_when>
    <thetext>Can&apos;t reproduce with `run-webkit-tests security/contentSecurityPolicy/plugins-types-blocks-quicktime-plugin-replacement.html --force --iterations=500 --exit-after-n-failures=1`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787357</commentid>
    <comment_count>4</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-08-25 15:44:58 -0700</bug_when>
    <thetext>Adapting Eric&apos;s repro steps in the related bug, I can reproduce with the following:
`run-webkit-tests --debug security/contentSecurityPolicy/plugins-types-allows-quicktime-plugin-replacement.html security/contentSecurityPolicy/plugins-types-allows-youtube-plugin-replacement.html --exit-after-n-crashes 1  --iterations 10 --force`</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787366</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2021-08-25 15:59:15 -0700</bug_when>
    <thetext>Since we&apos;re going to remove this code at some point I don&apos;t have much interest in fixing this. We could just disable the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1787710</commentid>
    <comment_count>6</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-26 11:54:41 -0700</bug_when>
    <thetext>security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement-without-mime-type.html also started showing up on macOS-AppleSilicon-Big-Sur-Debug-WK2-Tests-EWS as a flaky test. https://ews-build.webkit.org/#/builders/60/builds/10569

Marked expectations: https://trac.webkit.org/changeset/281639/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1788989</commentid>
    <comment_count>7</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-31 11:36:23 -0700</bug_when>
    <thetext>*** Bug 229722 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1788995</commentid>
    <comment_count>8</comment_count>
    <who name="">ayumi_kojima</who>
    <bug_when>2021-08-31 11:40:52 -0700</bug_when>
    <thetext>Per Simon&apos;s comment, updated test expectations for those tests:

security/contentSecurityPolicy/plugins-types-allows-youtube-plugin-replacement.html  security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement-without-mime-type.html
security/contentSecurityPolicy/plugins-types-blocks-youtube-plugin-replacement.html security/contentSecurityPolicy/plugins-types-blocks-quicktime-plugin-replacement-without-mime-type.html 
security/contentSecurityPolicy/plugins-types-blocks-quicktime-plugin-replacement.html

so that the tests will skip on all platforms

https://trac.webkit.org/changeset/281811/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1793880</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-09-15 16:12:55 -0700</bug_when>
    <thetext>Updated test expectations for security/contentSecurityPolicy/plugins-types-allows-quicktime-plugin-replacement.html included in this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1793881</commentid>
    <comment_count>10</comment_count>
    <who name="Eric Hutchison">ehutchison</who>
    <bug_when>2021-09-15 16:14:00 -0700</bug_when>
    <thetext>(In reply to Eric Hutchison from comment #9)
&gt; Updated test expectations for
&gt; security/contentSecurityPolicy/plugins-types-allows-quicktime-plugin-
&gt; replacement.html included in this issue.

https://trac.webkit.org/changeset/282479/webkit</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>