Bug 147257

Summary: Web Inspector: Add custom parameter lists for new DOM append/prepend/before/after/replaceWith methods
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Joseph Pecoraro <joepeck>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, sam, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2015-07-24 01:04:23 PDT
* SUMMARY
Add custom parameter lists for new DOM append/prepend/before/after/replaceWith methods.

If someone views the Element API for `document.body` it would be nice for them to see something for these new methods.

* STEPS TO REPRODUCE
1. js> dir(document.body)
2. Expand down to the Element Prototype
  => "append", "prepend", etc look like they have no parameters

* NOTES
We are considering just typing `Document` or `api(Document)` to more quickly get you this view without having to expand existing objects. If it was much easier this would be more important.
Comment 1 Joseph Pecoraro 2015-07-24 01:05:03 PDT
Created attachment 257446 [details]
[PATCH] Proposed Fix
Comment 2 WebKit Commit Bot 2015-07-24 11:41:03 PDT
Comment on attachment 257446 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 257446

Committed r187350: <http://trac.webkit.org/changeset/187350>
Comment 3 WebKit Commit Bot 2015-07-24 11:41:08 PDT
All reviewed patches have been landed.  Closing bug.