near-membrane
near-membrane copied to clipboard
JavaScript Near Membrane Library that powers Lightning Locker Service
~~This "sort of" works. You have to get the build info from @leobalter, make sure you're running the build correctly (which isn't obvious) and then run the karma tests using...
Reproduction: ```js import { AsyncCall } from 'https://cdn.skypack.dev/[email protected]' import createIframeVirtualEnvironment from 'http://cdn.skypack.dev/@locker/near-membrane-dom' const exoticObject = AsyncCall(null, { channel: { on() {}, send() {} }, }) const vm = createIframeVirtualEnvironment(globalThis) debugger...
I see the following usage in the source code: ```js env.link('window', 'document'); env.link('document'); env.link('__proto__', '__proto__', '__proto__'); ve.link('globalThis'); ``` What did it do?
It looks like the library fits our goals perfectly exhibiting identity continuity, preserving the integrity of the Incubator Realm. But we need our sandboxes to be as restricted by available...
Today, the following list is remapped: ```js [ 'Object', 'Function', 'URIError', 'TypeError', 'SyntaxError', 'ReferenceError', 'RangeError', 'EvalError', 'Error', ] ``` But there are a lot more pieces that can be remapped...
In browsers, the `HostPromiseRejectionTracker` depends on the identity of the Promise Intrinsic Object, which means there is no way to capture unhandled rejection produced by the `Promise` inside the sandbox,...
Throwing errors is appropriate for `Object` methods like `Object.defineProperty` when run in strict mode code. However, `Reflect.defineProperty` should return `false` without throwing an error. The proxy traps need to be...
* How is the membrane observable? * What are the language APIs that are limited by the membrane?
feat: move custom devtool formatter to near-membrane
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.8 to 1.15.6. Commits 35a517c Release version 1.15.6 of the npm package. c4f847f Drop Proxy-Authorization across hosts. 8526b4a Use GitHub for disclosure. b1677ce Release version 1.15.5 of...