DescriptionIntroduce v8::MicrotasksScope.
This scope is used to control microtasks execution when MicrotasksPolicy::kScoped is engaged.
Attempt #2. First one was reverted due to chromium breakage: SetAutorunMicrotasks(false) was broken.
BUG=chromium:585949
LOG=Y
TEST=ScopedMicrotasks
Committed: https://crrev.com/9a1387f6a965edb295931012b4f76c689c02a5c2
Cr-Commit-Position: refs/heads/master@{#34504}
Patch Set 1 : Separate scopes #Patch Set 2 : Merged scopes #
Total comments: 10
Patch Set 3 : tests, simplified #Patch Set 4 : nit #Patch Set 5 : bool -> int typo, allow scopes to have no effect when different policy is in place #Patch Set 6 : relaxed DCHECK, fixed new test #Patch Set 7 : SetAutorunMicrotasks fix #
Messages
Total messages: 30 (15 generated)
|