Refactor harden such that it follows prototype chains
See original GitHub issueWhat’s the purpose / justification of this test?
https://github.com/Agoric/harden/blob/e29849c18e0cfbbd41db1e8765954d4bc51d5e4a/test/test.js#L14
This is the only test that fails when I implement harden
using deep freezing from the moddable SDK:
export default function harden(root) {
return Object.freeze(root, true);
}
https://github.com/dckc/harden/blob/deepFreeze-xs/src/deepFreeze.js
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Prototype - Refactoring.Guru
Prototype is a creational design pattern that lets you copy existing objects without making your code dependent on their classes.
Read more >swingset JS-engine heap snapshots · Issue #511 · Agoric/agoric-sdk ...
XS currently reloads the snapshot with the help of a C compiler, so we'd need to ... Refactor harden such that it follows...
Read more >Realms and Evaluator Shim Security - Agoric
The Function constructor reachable through the prototype chain of all other primordials will throw an exception, rather than reveal the platform ...
Read more >TypeScript : Object Equality Comparison (Object Equals Object)
If not, don't worry. If so, then you need to harden your equality check to deal with it. Hope that helps; good luck!...
Read more >Eratosthenes: Radically Refactoring the Web - Microsoft
Such an ambitious refactoring of the web interface is ... DPI toolchains, and runtime overhead. ... In contrast, our pico-datacenter follows the commu-....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We intend to refactor
harden
such that this issue would go away. We would transitively freeze up the prototype chain.Fixed by #541