Enable the embedder to specify what kind of context was disposed
authorjochen <jochen@chromium.org>
Mon, 22 Dec 2014 14:27:19 +0000 (06:27 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 22 Dec 2014 14:27:37 +0000 (14:27 +0000)
commit18b1e6d353501a30a750ac12da68bdc0f93b923e
tree57f885c6d4309eb281887b295475dffdcda1a102
parent88feffc2ab1a6782b79a7e78ff2d2839a5e50978
Enable the embedder to specify what kind of context was disposed

This API is used by Blink to inform V8 about HTML frames being disposed.
Using the optional parameter, Blink can tell V8 whether the disposed
frame was a main frame. In that case, we might want to reset GC
parameters

BUG=none
R=hpayer@chromium.org
LOG=y

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

Cr-Commit-Position: refs/heads/master@{#25926}
include/v8.h
src/api.cc
src/heap/heap.cc
src/heap/heap.h
src/runtime/runtime-test.cc
test/cctest/test-heap.cc