<?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>245448</bug_id>
          
          <creation_ts>2022-09-20 14:20:50 -0700</creation_ts>
          <short_desc>MutationObservers: document mutations - parser script insertion mutation &amp; removal of parent during parsing</short_desc>
          <delta_ts>2026-04-07 22:42:25 -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>DOM</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>311706</dup_id>
          
          <bug_file_loc>http://w3c-test.org/dom/nodes/MutationObserver-document.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>karlcow</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1899937</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-20 14:20:50 -0700</bug_when>
    <thetext>Hi Team,

While going through Chrome Monorail, I came across following w3c test suite in relation to MutationObserver, which Safari 16 and STP 153 fails:

Link - http://w3c-test.org/dom/nodes/MutationObserver-document.html

Chrome Commit - https://chromium.googlesource.com/chromium/src.git/+/5a3def7f350a35e7e481714f0d3851c9434cdeec

______

Safari is failing following two test cases:

&gt; parser script insertion mutation	
&gt; removal of parent during parsing	

______

These are also failed by Firefox Nightly 107 while only Chrome Canary 108 pass them.

I was not able to find related bug, so I thought to great so we can track and if they are not needed then we can document our rationale at least.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901607</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-27 14:21:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/100476268&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901681</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2022-09-27 22:14:11 -0700</bug_when>
    <thetext>The link on WPT 
https://wpt.fyi/results/dom/nodes/MutationObserver-document.html?label=master&amp;label=experimental&amp;aligned</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2197875</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2026-04-07 22:42:25 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 311706 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>