Instead of immediately failing, "take a lock" will attempt to evict the pages that hold a lock if they are all inactive. This prevents an inactive page from holding onto locks needed by active pages.
Fixes issue #17
[ ] At least two implementers are interested (and none opposed):
Chrome
…
[x] Tests are written and can be reviewed and commented upon at:
Instead of immediately failing, "take a lock" will attempt to evict the pages that hold a lock if they are all inactive. This prevents an inactive page from holding onto locks needed by active pages.
Fixes issue #17
(See WHATWG Working Mode: Changes for more details.)
Preview | Diff