IntersectionObserver: add thresholds attribute.

BUG=540528
R=ojan@chromium.org

Review-Url: https://codereview.chromium.org/1998733002
Cr-Commit-Position: refs/heads/master@{#394873}
6 files changed