RESOLVED FIXED201741
Node.replaceChild()'s pre-replacement validations are not done in the right order
https://bugs.webkit.org/show_bug.cgi?id=201741
Summary Node.replaceChild()'s pre-replacement validations are not done in the right o...
Chris Dumez
Reported 2019-09-12 15:22:56 PDT
Node.replaceChild()'s pre-replacement validations are not done in the right order (spec order): - https://dom.spec.whatwg.org/#concept-node-replace In particular, we do not do check 3 (If child’s parent is not parent, then throw a "NotFoundError" DOMException.) at the right time.
Attachments
Patch (9.63 KB, patch)
2019-09-12 15:25 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2019-09-12 15:25:57 PDT
Geoffrey Garen
Comment 2 2019-09-12 15:30:00 PDT
Comment on attachment 378681 [details] Patch r=me
WebKit Commit Bot
Comment 3 2019-09-12 17:01:52 PDT
Comment on attachment 378681 [details] Patch Clearing flags on attachment: 378681 Committed r249821: <https://trac.webkit.org/changeset/249821>
WebKit Commit Bot
Comment 4 2019-09-12 17:01:54 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2019-09-12 17:02:17 PDT
Note You need to log in before you can comment on or make changes to this bug.