Bug 147303

Summary: Web Inspector: Start using Node.prototype.replaceWith
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nikita Vasilyev <nvasilyev>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Nikita Vasilyev
Reported 2015-07-25 21:58:06 PDT
https://bugs.webkit.org/show_bug.cgi?id=74648 introduced Node.prototype.replaceWith, among a few other new DOM methods. Convert the following code: baseElem.replaceChild(newElem, refElem) to refElem.replaceWith(newElem)
Attachments
Patch (1.87 KB, patch)
2015-07-25 21:59 PDT, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2015-07-25 21:58:17 PDT
Nikita Vasilyev
Comment 2 2015-07-25 21:59:46 PDT
WebKit Commit Bot
Comment 3 2015-07-25 23:21:12 PDT
Comment on attachment 257528 [details] Patch Clearing flags on attachment: 257528 Committed r187403: <http://trac.webkit.org/changeset/187403>
WebKit Commit Bot
Comment 4 2015-07-25 23:21:16 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.