Created
July 1, 2020 21:18
-
-
Save hotsphink/55fff627a9e376bc890416207d3282b2 to your computer and use it in GitHub Desktop.
mkgist-created gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var g1 = newGlobal({newCompartment: true}); | |
| g1.debuggeeGlobal = this; | |
| g1.eval(` | |
| dbg = new Debugger(debuggeeGlobal); | |
| dbg.onExceptionUnwind = () => undefined; | |
| `); | |
| var g2 = newGlobal({newCompartment: true}); | |
| try { | |
| g2.eval('h = {}; quintessence'); | |
| } catch (x) {} | |
| try { | |
| g2.eval("throw h"); | |
| } catch (x) {} | |
| gcslice(100000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment