Handle null argument for Selection.selectAllChildren()

Blink r186929 "Make some Selection function arguments non-optional"
mistakenly assumed that this cannot be null, but without strict type
checking it can be.

Per spec anything other than Node should throw a TypeError, but begin
by reverting to the old state. Add a test that would trigger this
assert for which the pass condition can be inverted later.

BUG=443721

Review URL: https://codereview.chromium.org/817693002

git-svn-id: svn://svn.chromium.org/blink/trunk@187530 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: 05977207c2050810d38f8f2dfbec5e6b3fabc002
  1. third_party/