DescriptionThis code schedules updating of a particular intercepted subscription with zero timeout using the timer of JS engine.
- The timer is not blocked while JS code is running, so the caller won't be blocked.
- The timer is chosen because its lifespan is bound to the JS engine, what should eliminate any potential misuse of JS and FilterEngine and should avoid an addition manual work with a thread.
#depends on https://codereview.adblockplus.org/29465626/
COLLABORATOR=anton@adblockplus.org
Patch Set 1 : @sergz #
Total comments: 15
Patch Set 2 : address comments@sergz #Patch Set 3 : removed unneeded passing of AdblockEngine instance to wrapper listener@anton #Patch Set 4 : remove changes of another codereview@sergz #Patch Set 5 : rebase #
MessagesTotal messages: 8
|