Re: [heycam/webidl] Modernize invoking user code (#113)

> So what filename should be reported when reporting these exceptions?

Ah, hmm.  Having that be the caller of the Function constructor does make some sense.  OK, but just to check my understanding: if code in window1 does `var f = new window2.Function("stuff")` then `f` has window1 as its script-or-module and window2 as its Realm?

If so, I probably need to go back and think really carefully about all the cases where you propose using script-or-module...

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/113#issuecomment-218627592

Received on Thursday, 12 May 2016 00:21:41 UTC