From <https://code.google.com/p/chromium/issues/detail?id=336317>: Version: all (ancient WebKit bug) OS: all What steps will reproduce the problem? 1. Open the following URL: data:text/html,<div id=willBeRemoved> <div> <form id=f1> <input id=in1> <img id=im1> </div> <input id=in3> <img id=im3> </div> <input id=in2> <img id=im2> <script>var f = document.getElementById('f1'); var d=document.getElementById('willBeRemoved'); d.parentNode.removeChild(d); alert('' + f['im1'] + ',' + f['im2'] + ',' + f['im3']);</script> What is the expected output? What do you see instead? Expected: Alert "[object HTMLImageElement],undefined,[object HTMLImageElement]" according to the standard and Firefox. Actual: Alert "undefined,[object HTMLImageElement],undefined"
<rdar://problem/16220093>
Merge candidate: <http://src.chromium.org/viewvc/blink?view=rev&rev=165436>
I am able to reproduce this using test case changed into JSFiddle: Link - https://jsfiddle.net/jscdb4mu/ Outputs across all browsers: *** Safari 15.6.1 on macOS 12.5.1 *** undefined,[object HTMLImageElement],undefined *** Safari Technology Preview 151 *** undefined,[object HTMLImageElement],undefined *** Firefox Nightly 105 *** [object HTMLImageElement],undefined,[object HTMLImageElement] *** Chrome Canary 106 *** [object HTMLImageElement],undefined,[object HTMLImageElement] __________________ Just wanted to share updated test results. Thanks!
Created attachment 463504 [details] WIP
Pull request: https://github.com/WebKit/WebKit/pull/6447
Committed 256629@main (36537bb39ed8): <https://commits.webkit.org/256629@main> Reviewed commits have been landed. Closing PR #6447 and removing active labels.