See spec here https://w3c.github.io/input-events/#interface-InputEventInit
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/73324e59ad313ca374603b571167e688ca505080 commit 73324e59ad313ca374603b571167e688ca505080 Author: chongz <chongz@chromium.org> Date: Mon Feb 27 19:55:29 2017 [InputEvent] Change |InputEventInit::sequence<Range> ranges| to |sequence<StaticRange> targetRanges| See spec https://w3c.github.io/input-events/#h-interface-inputevent BUG= 692700 Review-Url: https://codereview.chromium.org/2709883004 Cr-Commit-Position: refs/heads/master@{#453306} [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/LayoutTests/external/wpt/uievents/constructors/inputevent-constructor.html [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/dom/StaticRange.cpp [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/dom/StaticRange.h [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/editing/EditingUtilities.cpp [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/editing/EditingUtilities.h [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/editing/Editor.h [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/events/InputEvent.cpp [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/events/InputEvent.h [modify] https://crrev.com/73324e59ad313ca374603b571167e688ca505080/third_party/WebKit/Source/core/events/InputEventInit.idl
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cab49d129c5ef30fe8dd4abe3013bccbd8df74d1 commit cab49d129c5ef30fe8dd4abe3013bccbd8df74d1 Author: chongz <chongz@chromium.org> Date: Tue Mar 14 15:46:42 2017 Use EphemeralRange to construct StaticRange This CL: 1. Added |StaticRange::create(EphemeralRange)|. 2. Replace the useage of |Range| with |EphemeralRange|. BUG= 692700 Review-Url: https://codereview.chromium.org/2731393004 Cr-Commit-Position: refs/heads/master@{#456710} [modify] https://crrev.com/cab49d129c5ef30fe8dd4abe3013bccbd8df74d1/third_party/WebKit/Source/core/dom/StaticRange.h [modify] https://crrev.com/cab49d129c5ef30fe8dd4abe3013bccbd8df74d1/third_party/WebKit/Source/core/editing/EditingUtilities.cpp [modify] https://crrev.com/cab49d129c5ef30fe8dd4abe3013bccbd8df74d1/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
Comment 1 by tkent@chromium.org
, Feb 17 2017