Bug 160274 - Parameters to insertAdjacentText() / insertAdjacentHTML() should be mandatory
Summary: Parameters to insertAdjacentText() / insertAdjacentHTML() should be mandatory
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-07-27 15:41 PDT by Chris Dumez
Modified: 2016-07-27 16:29 PDT (History)
9 users (show)

See Also:


Attachments
Patch (4.82 KB, patch)
2016-07-27 15:58 PDT, Chris Dumez
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-07-27 15:41:39 PDT
Parameters to insertAdjacentText() /insertAdjacentHTML() should be mandatory:
- https://dom.spec.whatwg.org/#element
- https://www.w3.org/TR/DOM-Parsing/#extensions-to-the-element-interface

Firefox and Chrome agree with the specification (although Firefox does not have insertAdjacentText()).
Comment 1 Chris Dumez 2016-07-27 15:58:54 PDT
Created attachment 284739 [details]
Patch
Comment 2 Chris Dumez 2016-07-27 16:29:41 PDT
Committed r203803: <http://trac.webkit.org/changeset/203803>