Chrome Version: ToT
OS: All
What steps will reproduce the problem?
(1) Open any page, and open DevTools console
(2) Run the following code:
getSelection().selectAllChildren(document);
getSelection().removeRange(getSelection().getRangeAt(0));
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 1 by tkent@chromium.org
, Feb 16 2017