commit | ef6ea8e2cae02459a206885d1eb6ab2f5b62fbfa | [log] [tgz] |
---|---|---|
author | yukishiino <yukishiino@chromium.org> | Thu Nov 17 07:20:50 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Nov 17 07:23:34 2016 |
tree | 5e56b937fd17f272bf2e89fa5ac797f94617826a | |
parent | 69074537e7bd722e27bc2734d00d178bfea27f46 [diff] |
binding: Returns a reject promise when |this| is not of the type. Returns a reject promise when the receiver object is not of type of the interface, instead of throwing a TypeError. This CL disables the type check on V8 side and does the type check on Blink side, then, if the receiver object is not of the type, converts a TypeError to a reject promise and returns it. BUG=627309 Review-Url: https://codereview.chromium.org/2441593002 Cr-Commit-Position: refs/heads/master@{#432798}