<?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>129306</bug_id>
          
          <creation_ts>2014-02-25 06:27:30 -0800</creation_ts>
          <short_desc>Updating `iframe@srcdoc` through DOM/JavaScript doesn’t work reliably</short_desc>
          <delta_ts>2023-11-11 13:00:08 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Frames</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>data:text/html,&lt;iframe%20id=x%20srcdoc=&quot;&lt;body%20bgcolor=red&gt;FAIL&quot;&gt;&lt;/iframe&gt;&lt;script&gt;x.srcdoc%20=%20&apos;&lt;body%20bgcolor=green&gt;PASS&apos;;&lt;/script&gt;</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathias Bynens">mathias</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>984299</commentid>
    <comment_count>0</comment_count>
    <who name="Mathias Bynens">mathias</who>
    <bug_when>2014-02-25 06:27:30 -0800</bug_when>
    <thetext>Test case:

data:text/html,&lt;iframe%20id=x%20srcdoc=&quot;&lt;body%20bgcolor=red&gt;FAIL&quot;&gt;&lt;/iframe&gt;&lt;script&gt;x.srcdoc%20=%20&apos;&lt;body%20bgcolor=green&gt;PASS&apos;;&lt;/script&gt;

Expected results:

The test case should show an iframe with a green background.

Actual results:

The test case shows an iframe with a red background.

Safari has the same issue. Firefox gets it right.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991883</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-11-11 13:00:08 -0800</bug_when>
    <thetext>Safari 17.2 seems to get this right (Green Background with PASS), similar to Chrome Canary 121 and Firefox Nightly 121.

Marking this as &apos;RESOLVED CONFIGURATION CHANGED&apos;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>