commit | 0cd7a9f853e3cb7c035b4ab9e07a503552267f9d | [log] [tgz] |
---|---|---|
author | jl <jl@opera.com> | Tue Apr 26 15:22:47 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 26 15:25:10 2016 |
tree | e7c68c77b57eb1cdacb3c5385751738517d9a339 | |
parent | b4709131156d61963c412d67d3b28394e972e180 [diff] |
Use correct creation context during Iterable.forEach iteration Use |thisValue| instead of |scriptState->context()->Global()|, since this is simpler and since Global() actually returns a WindowProxy object that may change and become incorrect to use as creation context depending on what the callback function does. BUG=605910 Review URL: https://codereview.chromium.org/1918763002 Cr-Commit-Position: refs/heads/master@{#389785}