DescriptionMake renderer calls into script declare there "type" (internal or author).
Script invocations into contexts which host author script (i.e. context owned by webkit) must now take one of two paths:
1) For calls which may run author scripts -> call through WebFrame
2) For calls which can not run author script -> call directly, but whitelist the call with a stack-allocated WebScopedMicrotaskSuppression.
This patch must wait on https://bugs.webkit.org/show_bug.cgi?id=79131 rolling in.
Once this patch is landed, a final patch will be committed to webkit which enables a debug-only check which enforces correct usage and will cause an ASSERTION failure on the test bots if code is committed which does not.
BUG=112892
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=131425
Patch Set 1 #Patch Set 2 : pre-review #
Messages
Total messages: 6 (0 generated)
|