DevTools: Support async call stacks for scripted animation events (like scroll).

BUG=272416
R=yurys@chromium.org, pfeldman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176221 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Battery Status API: blink promise implementation and layout tests.

Implement Battery Status API using promises in blink as
according to the (modified) spec:
https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html.
Using this patch the Battery Status API is accessible using:
navigator.getBattery().then(...) syntax.

Also added layout tests for the various use-cases.

BUG=122593, 360068

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176222 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove references to isBackground

There use to be isBackground field on Timeline events but it has been removed.

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176223 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement AudioTrack, AudioTrackList, VideoTrack, and VideoTrackList

This is based on Aaron Colwell's patch:
https://codereview.chromium.org/170233009/#ps270001

BUG=249427
TEST=LayoutTests/media/avtracklists.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176224 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Crash test case:
1. Open page with javascript
2. Add breakpoint
3. Stop on breakpoint
4. Use live edit and save script
The test worked for Chromium revision until May 30.

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176101

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176226 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Avoid exception when building details for DecodeImage event

Url for this event is retrieved from imageURL field later in the same switch.

BUG=361045

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

git-svn-id: svn://svn.chromium.org/blink/trunk@176227 bbb929c8-8fbe-4397-9dbb-9b2b20218538