Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 4 users
Status: Fixed
Ooo until EOY 2017. Assign no bugs.
Closed: Feb 2017
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature

issue 391673

Sign in to add a comment
Should add 'removeRange()' to Selection interface
Project Member Reported by, Feb 16 2017 Back to list
Chrome Version: ToT
OS: All

What steps will reproduce the problem?
(1) Open any page, and open DevTools console
(2) Run the following code:


What is the expected result?
It finishes without any exceptions.

What happens instead?
> Uncaught TypeError: getSelection(...).removeRange is not a function

Firefox and Edge have it.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.

Comment 2 by, Feb 17 2017
Does Chrome intend to support multiple Selections?
Comment 3 by, Feb 17 2017
> Does Chrome intend to support multiple Selections?

yes, but it won't be available in one year.
Adding removeRange() is not much related to multiple selection support.

Comment 4 by, Feb 24 2017
Status: Started
Project Member Comment 5 by, Feb 24 2017
The following revision refers to this bug:

commit e54bc779bf060c6704d4a581ee7137bb268c6b7c
Author: tkent <>
Date: Fri Feb 24 22:41:34 2017

Selection API: add removeRange().

Approved Intent-to-Ship:!topic/blink-dev/OnBuqLuHLeI

This CL adds selection/removeRange.html to web-platform-tests.

BUG= 692881 

Cr-Commit-Position: refs/heads/master@{#452965}


Comment 6 by, Feb 26 2017
Labels: M-58
Status: Fixed
Sign in to add a comment