summaryrefslogtreecommitdiff
path: root/runtime/js/11_workers.js
AgeCommit message (Collapse)Author
2021-02-04chore: use strict mode for internal runtime, core, and op_crates js (#9391)Developing
2021-01-29fix(cli): Move WorkerOptions::deno types to unstable (#9163)Nayeem Rahman
2021-01-10update copyright to 2021 (#9081)Ryan Dahl
2021-01-08fix: Worker hangs when posting "undefined" as message (#8920)yonatan ben avraham
This commit fixes hang in web workers occuring when sending "undefined" as message value. It is a temporary band-aid until proper structured close is implemented. Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
2021-01-07feat: add --location=<href> and globalThis.location (#7369)Nayeem Rahman
2021-01-07fix: Use "none" instead of false to sandbox Workers (#9034)Nayeem Rahman
2021-01-06feat: Add configurable permissions for Workers (#8215)Steven Guerrero
This commit adds new option to "Worker" Web API that allows to configure permissions. New "Worker.deno.permissions" option can be used to define limited permissions to the worker thread by either: - inherit set of parent thread permissions - use limited subset of parent thread permissions - revoke all permissions (full sandbox) In order to achieve this functionality "CliModuleLoader" was modified to accept "initial permissions", which are used for top module loading (ie. uses parent thread permission set to load top level module of a worker).
2020-12-17refactor: Rename runtime/rt to runtime/js (#8806)Nayeem Rahman