Use IDL union for Timing.duration

Replace the named setter/getter hack with a proper union attribute. This
fixes the behavior when assigning a DOMString that can be interpreted as
a number, so adjust (fix) test.

BUG=430337, 335350

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

git-svn-id: svn://svn.chromium.org/blink/trunk@190376 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed
tree: 212570bc8194610b383e83351ebb2f357a1175d5
  1. third_party/