Re: [dev-servo] Fwd: Maintaining a list of debugging targets in the debugger.

2016-09-19 Thread Boris Zbarsky
On 9/19/16 6:49 PM, Jim Blandy wrote: grandparent (origin O) parent (origin P, P != O) child (origin O, same as grandparent) then the grandparent and the child are in the same UoRSOBC. The grandparent can say `frame.contentWindow.frames[0]` to get its grandchild frame.cont

Re: [dev-servo] Fwd: Maintaining a list of debugging targets in the debugger.

2016-09-19 Thread Jim Blandy
On Mon, Sep 19, 2016 at 10:49 AM, Jim Blandy wrote: > However! It turns out that Servo doesn't implement this at all right now. > At present, the above arrangement would create three ScriptThreads, and > `frame.contentWindow == null` in the cross-origin case. > In case it wasn't clear: this is s

Re: [dev-servo] Fwd: Maintaining a list of debugging targets in the debugger.

2016-09-19 Thread Jim Blandy
I asked on #content about the WHATWG definition of a unit of related similar-origin browsing contexts (UoRSOBC). I learned that, if you have an iframe structure like this: grandparent (origin O) parent (origin P, P != O) child (origin O, same as grandparent) then the grandpar

[dev-servo] Fwd: Maintaining a list of debugging targets in the debugger.

2016-09-19 Thread Eddy Bruel
-- Forwarded message -- From: Eddy Bruel Date: Mon, Sep 19, 2016 at 5:45 PM Subject: Maintaining a list of debugging targets in the debugger. To: Jim Blandy , se...@mozilla.com Cc: Patrick Brosset Over the past few days, I've tried to come up with a way to maintain a list of deb